We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e48ca commit 1dc7e93Copy full SHA for 1dc7e93
1 file changed
spirv_glsl.cpp
@@ -10166,6 +10166,9 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
10166
statement("beginInvocationInterlockNV();");
10167
else
10168
statement("beginInvocationInterlockARB();");
10169
+
10170
+ flush_all_active_variables();
10171
+ // Make sure forwarding doesn't propagate outside interlock region.
10172
}
10173
break;
10174
@@ -10177,6 +10180,9 @@ void CompilerGLSL::emit_instruction(const Instruction &instruction)
10177
10180
statement("endInvocationInterlockNV();");
10178
10181
10179
10182
statement("endInvocationInterlockARB();");
10183
10184
10185
10186
10187
10188
0 commit comments