Merge pull request #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git] / Test / hlsl.scope.frag
1 void PixelShaderFunction(float4 input) : COLOR0
2 {
3     int x;
4     x;
5     {
6         float x;
7         x;
8         {
9             bool x;
10             x;
11             {
12                 float3 x;
13                 x;
14             }
15             x;
16         }
17         x;
18     }
19     x;
20
21     if (x > 0)
22         bool x;
23
24     while (x > 0)
25         bool x;
26
27     do {
28         bool x;
29     } while (x > 0);
30 }