bgfx/3rdparty/glslang/Test/hlsl.struct.split.assign.frag
Branimir Karadžić b6f91e18fd Updated glslang.
2017-08-25 19:42:26 -07:00

13 lines
151 B
GLSL

struct S {
float f;
float4 pos : SV_Position;
};
float4 main(int i, S input[3]) : COLOR0
{
S a[3];
input = a;
return a[1].pos;
}