SPIRV-Cross/reference/shaders/asm/frag/invalidation.asm.frag

16 lines
240 B
GLSL
Raw Normal View History

#version 450
layout(location = 0) in float v0;
layout(location = 1) in float v1;
layout(location = 0) out float FragColor;
void main()
{
float a = v0;
float b = v1;
float _17 = a;
a = v1;
FragColor = (_17 + b) * b;
}