1#version 450 2 3layout(location=0) out vec4 c0; 4layout(location=1) out vec4 c1; 5 6void main() 7{ 8 c0 = vec4(1.0); 9 memoryBarrier(); 10 c1 = vec4(1.0); 11 memoryBarrierBuffer(); 12 ++c0; 13 memoryBarrierImage(); 14 ++c0; 15}