xref: /third_party/glslang/Test/hlsl.struct.split.assign.frag
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/glslang/Test/
1617a3babSopenharmony_cistruct S {
2617a3babSopenharmony_ci    float f;
3617a3babSopenharmony_ci    float4 pos : SV_Position;
4617a3babSopenharmony_ci};
5617a3babSopenharmony_ci
6617a3babSopenharmony_cifloat4 main(int i, S input[3]) : COLOR0
7617a3babSopenharmony_ci{
8617a3babSopenharmony_ci    S a[3];
9617a3babSopenharmony_ci    input = a;
10617a3babSopenharmony_ci
11617a3babSopenharmony_ci    return a[1].pos;
12617a3babSopenharmony_ci}
13

Indexes created Thu Nov 07 10:32:03 CST 2024