bgfx/3rdparty/glslang/Test/hlsl.struct.split.assign.frag
Branimir Karadžić 8c3f39e36b Updated glslang.
2017-01-20 11:14:16 -08:00

13 lines
154 B
GLSL

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