Skip to content

Commit 682037b

Browse files
committed
Fix incorrect ifdef for subgroup atomics
1 parent 3361e78 commit 682037b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/glsl_source/luminanceReduction_cp.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void main() {
7474

7575
const float luminance = ColorToLuminance( texelFetch( renderImage, position, 0 ).rgb );
7676

77-
#if defined(HAVE_subgroup_atomic)
77+
#if defined(SUBGROUP_ATOMIC)
7878
const float luminanceSum = subgroupInclusiveAdd( luminance );
7979

8080
if( subgroupElect() ) {

0 commit comments

Comments
 (0)