Files
filament/third_party/glslang/Test/hlsl.struct.split.assign.frag
2018-08-03 10:38:22 -07:00

13 lines
151 B
GLSL
Executable File

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;
}