Skip to content

Commit 4446333

Browse files
now even the spec constant sized array works
1 parent 88563ab commit 4446333

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples_tests/39.DenoiserTonemapper/ShaderCommon.glsl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ 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
11+
layout(constant_id = 4) const uint EII_COUNT = 3u;
1312

1413
#include "./CommonPushConstants.h"
1514

0 commit comments

Comments
 (0)