RetroArch/Test/420.frag
twinaphex db3f820301 Squashed 'deps/glslang-new/' content from commit 5fe506a8ba
git-subtree-dir: deps/glslang-new
git-subtree-split: 5fe506a8ba0ce5629004d593da16db7f3f57c58b
2018-06-20 10:07:00 +02:00

15 lines
395 B
GLSL

#version 420 core
layout(depth_any) out float gl_FragDepth;
layout(depth_greater) out float gl_FragDepth; // ERROR: redeclaration with different qualifier
void main()
{
gl_FragDepth = 0.3;
}
layout(depth_less) in float depth; // ERROR: depth_less only applies to gl_FragDepth
layout(depth_any) out float gl_FragDepth; // ERROR, done after use
layout(binding=0) uniform atomic_uint a[];