Support GL_ARB_fragment_shader_interlock
This commit is contained in:
parent
a549bb8175
commit
c6f0ce8dbc
19 changed files with 336 additions and 5 deletions
23
Test/spv.fsi_Error.frag
Normal file
23
Test/spv.fsi_Error.frag
Normal 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue