Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git] / Test / hlsl.load.rwbuffer.dx10.frag
blobaccd5f0c1ef42362c6673704254181add6202125
2 RWBuffer <float4> g_tBuffF;
3 RWBuffer <int4>   g_tBuffI;
4 RWBuffer <uint4>  g_tBuffU;
6 struct PS_OUTPUT
8     float4 Color : SV_Target0;
9 };
11 uniform int   c1;
12 uniform int2  c2;
13 uniform int3  c3;
14 uniform int4  c4;
16 uniform int   o1;
17 uniform int2  o2;
18 uniform int3  o3;
19 uniform int4  o4;
21 PS_OUTPUT main()
23    PS_OUTPUT psout;
25    g_tBuffF.Load(c1);
26    g_tBuffU.Load(c1);
27    g_tBuffI.Load(c1);
29    psout.Color = 1.0;
31    return psout;