Skip to content

Commit dfb553b

Browse files
initial attempt at refactoring, doesn't work.
1 parent 071d81f commit dfb553b

File tree

3 files changed

+113
-79
lines changed

3 files changed

+113
-79
lines changed

examples_tests/39.DenoiserTonemapper/CommonPushConstants.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
#endif
1010
struct CommonPushConstants
1111
{
12-
uint inImageTexelOffset[3];
1312
uint inImageTexelPitch[3];
14-
uint outImageOffset[3];
1513
uint imageWidth;
1614

1715

examples_tests/39.DenoiserTonemapper/ShaderCommon.glsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ layout(local_size_x=COMPUTE_WG_SIZE) in;
88
layout(constant_id = 1) const uint EII_COLOR = 0u;
99
layout(constant_id = 2) const uint EII_ALBEDO = 1u;
1010
layout(constant_id = 3) const uint EII_NORMAL = 2u;
11+
// layout(constant_id = 4) const uint EII_COUNT = 3u; // for now until @Crisspl fixes a bug with SPIRV-Cross usage
12+
#define EII_COUNT 3u
1113

1214
#include "./CommonPushConstants.h"
1315

0 commit comments

Comments
 (0)