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

reserved-function-identifier.asm.frag « frag « asm « shaders-no-opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52f0c61661718150c07375dc667c27ea68021885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#version 450

layout(location = 0) out float FragColor;

float _mat3(float a)
{
    return a + 1.0;
}

float _RESERVED_IDENTIFIER_FIXUP_gl_Foo(int a)
{
    return float(a) + 1.0;
}

void main()
{
    float param = 2.0;
    int param_1 = 4;
    FragColor = _mat3(param) + _RESERVED_IDENTIFIER_FIXUP_gl_Foo(param_1);
}