5547b25afe
Undef values may be of struct type and may be used in constants. Therefore, they must be interleaved with constants and types. Fixes the rest of the Vulkan CTS test `dEQP-VK.spirv_assembly.instruction.compute.opundef.undefined_spec_constant_composite`. (Please excuse the churn in the reference output; it's an inevitable result of this change.)
27 lines
420 B
GLSL
27 lines
420 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
vec2 _19;
|
|
|
|
layout(location = 0) out highp vec4 _GLF_color;
|
|
|
|
void main()
|
|
{
|
|
highp vec2 _30;
|
|
do
|
|
{
|
|
if (gl_FragCoord.x != gl_FragCoord.x)
|
|
{
|
|
_30 = _19;
|
|
break;
|
|
}
|
|
highp vec2 _29;
|
|
_29.y = _19.y;
|
|
_30 = _29;
|
|
break;
|
|
} while(false);
|
|
_GLF_color = vec4(_30, 1.0, 1.0);
|
|
}
|
|
|