Welcome to mirror list, hosted at ThFree Co, Russian Federation.

switch-unsigned-case.frag « frag « shaders « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4177f9e99a18fe736956da3e7fa393106f79e0bc (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
#version 310 es
precision mediump float;
precision highp int;

layout(binding = 0, std140) uniform Buff
{
    mediump uint TestVal;
} _15;

layout(location = 0) out vec4 fsout_Color;

void main()
{
    fsout_Color = vec4(1.0);
    switch (_15.TestVal)
    {
        case 0u:
        {
            fsout_Color = vec4(0.100000001490116119384765625);
            break;
        }
        case 1u:
        {
            fsout_Color = vec4(0.20000000298023223876953125);
            break;
        }
    }
}