mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 05:00:28 +00:00
24 lines
419 B
GLSL
24 lines
419 B
GLSL
#version 450
|
|
#extension GL_ARB_fragment_shader_interlock : enable
|
|
|
|
layout(pixel_interlock_ordered) out;
|
|
|
|
layout(pixel_interlock_ordered) in;
|
|
layout(pixel_interlock_unordered) in;
|
|
|
|
void foo()
|
|
{
|
|
beginInvocationInterlockARB();
|
|
endInvocationInterlockARB();
|
|
}
|
|
|
|
void main() {
|
|
|
|
endInvocationInterlockARB();
|
|
beginInvocationInterlockARB();
|
|
|
|
return;
|
|
|
|
endInvocationInterlockARB();
|
|
}
|