blob: adddf3e51803fc96d70f5a978f916980e7511532 [file] [log] [blame]
Jeff Bolzc6f0ce82019-06-03 11:33:50 -05001#version 450
2#extension GL_ARB_fragment_shader_interlock : enable
3
4layout(pixel_interlock_ordered) out;
5
6layout(pixel_interlock_ordered) in;
7layout(pixel_interlock_unordered) in;
8
9void foo()
10{
11 beginInvocationInterlockARB();
12 endInvocationInterlockARB();
13}
14
15void main() {
16
17 endInvocationInterlockARB();
18 beginInvocationInterlockARB();
19
20 return;
21
22 endInvocationInterlockARB();
23}