Skip to content

Commit

Permalink
HnPostProcessTask: fixed issue with TONE_MAPPING_MODE definition in c…
Browse files Browse the repository at this point in the history
…opy frame shader
  • Loading branch information
TheMostDiligent committed Apr 18, 2024
1 parent d1e68cc commit 8d96a41
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Hydrogent/shaders/HnCopyFrame.psh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#include "FullScreenTriangleVSOutput.fxh"
#include "SRGBUtilities.fxh"

#if TONE_MAPPING_MODE > TONE_MAPPING_MODE_NONE
# include "ToneMapping.fxh"
# include "HnPostProcessStructures.fxh"
#endif
#include "ToneMapping.fxh"
#include "HnPostProcessStructures.fxh"

#if TONE_MAPPING_MODE > TONE_MAPPING_MODE_NONE
cbuffer cbPostProcessAttribs
Expand Down

0 comments on commit 8d96a41

Please sign in to comment.