You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
419 B
24 lines
419 B
#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();
|
|
}
|