summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/hlsl.scope.frag
blob: 0d8cc1ad98d17eab7ff5bdaf3e11e6ce37c44dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
float4 PixelShaderFunction(float4 input) : COLOR0
{
    int x;
    x;
    {
        float x;
        x;
        {
            bool x;
            x;
            {
                float3 x;
                x;
            }
            x;
        }
        x;
    }
    x;

    if (x > 0)
        bool x;

    while (x > 0)
        bool x;

    do {
        bool x;
    } while (x > 0);
}