Merge pull request #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git] / Test / hlsl.intrinsics.promote.down.frag
1
2 struct PS_OUTPUT { float4 color : SV_Target0; };
3
4 int    i;
5 uint   u;
6 float  f;
7 bool   b;
8
9 int2   i2;
10 uint2  u2;
11 float2 f2;
12 bool2  b2;
13
14 PS_OUTPUT main()
15 {
16     uint r00  = countbits(f);
17     uint2 r01 = reversebits(f2);
18
19     PS_OUTPUT ps_output;
20     ps_output.color = float4(0,0,0,0);
21     return ps_output;
22 };