Support GL_ARB_fragment_shader_interlock

This commit is contained in:
Jeff Bolz 2019-06-03 11:33:50 -05:00
parent a549bb8175
commit c6f0ce8dbc
19 changed files with 336 additions and 5 deletions

23
Test/spv.fsi_Error.frag Normal file
View file

@ -0,0 +1,23 @@
#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();
}