bgfx/3rdparty/glslang/Test/spv.barrier.vert
Branimir Karadžić 889572cfa0 Updated glslang.
2017-12-22 19:53:27 -08:00

15 lines
242 B
GLSL

#version 450
layout(location=0) out vec4 c0;
layout(location=1) out vec4 c1;
void main()
{
c0 = vec4(1.0);
memoryBarrier();
c1 = vec4(1.0);
memoryBarrierBuffer();
++c0;
memoryBarrierImage();
++c0;
}