Skip to content

Commit

Permalink
Tutorial 29: enable PixelUAVWritesAndAtomics feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Jan 4, 2025
1 parent ca06208 commit ade699b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tutorials/Tutorial29_OIT/src/Tutorial29_OIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ static constexpr BlendStateDesc BS_AttenuateBackground{

void Tutorial29_OIT::ModifyEngineInitInfo(const ModifyEngineInitInfoAttribs& Attribs)
{
Attribs.EngineCI.Features.ComputeShaders = DEVICE_FEATURE_STATE_ENABLED;
Attribs.EngineCI.Features.ComputeShaders = DEVICE_FEATURE_STATE_ENABLED;
Attribs.EngineCI.Features.PixelUAVWritesAndAtomics = DEVICE_FEATURE_STATE_ENABLED;
// We will create our own depth buffer
Attribs.SCDesc.DepthBufferFormat = TEX_FORMAT_UNKNOWN;
}
Expand Down

0 comments on commit ade699b

Please sign in to comment.