SPIRV-Cross/shaders-msl/frag/in_block_assign.noopt.frag
Hans-Kristian Arntzen f929078f1e Disable --opt for in_block_assign for now.
Bug: OpLoad fails when loading an interface struct directly, followed by
OpCompositeExtract. This should be fixed, but not critical enough to
block this PR.
2017-11-23 09:59:25 +01:00

17 lines
187 B
GLSL

#version 450
struct VOUT
{
vec4 a;
};
layout(location = 0) in VOUT Clip;
layout(location = 0) out vec4 FragColor;
void main()
{
VOUT tmp = Clip;
tmp.a += 1.0;
FragColor = tmp.a;
}