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