bgfx/3rdparty/glslang/Test/hlsl.struct.split.assign.frag

13 lines
154 B
GLSL
Raw Normal View History

2017-01-20 22:14:16 +03:00
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);
}