SPIRV-Cross/reference/opt/shaders/asm/frag/undef-variable-store.asm.frag
Hans-Kristian Arntzen b3f6e3de8e Fix CFG::update_common_dominator.
The algorithm was too conservative causing lots of unnecessary
temporaries to be created.
2018-01-24 20:32:11 +01:00

31 lines
436 B
GLSL

#version 450
layout(location = 0) out vec4 _entryPointOutput;
vec4 _38;
vec4 _50;
void main()
{
vec4 _51;
_51 = _50;
vec4 _52;
for (;;)
{
if (0.0 != 0.0)
{
_52 = vec4(1.0, 0.0, 0.0, 1.0);
break;
}
else
{
_52 = vec4(1.0, 1.0, 0.0, 1.0);
break;
}
_52 = _38;
break;
}
_entryPointOutput = _52;
}