bgfx/3rdparty/glslang/Test/spv.merge-unreachable.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

9 lines
182 B
GLSL

#version 450
precision mediump int; precision highp float;
layout(location=1) in highp vec4 v;
void main (void)
{
if (v == vec4(0.1,0.2,0.3,0.4)) discard;
else return;
}