Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/asm/vert/spec-constant-op-composite.asm.vk.vert.vk

raw
1 #version 450
2
3 layout(constant_id = 201) const int _7 = -10;
4 const int _20 = (_7 + 2);
5 layout(constant_id = 202) const uint _8 = 100u;
6 const uint _25 = (_8 % 5u);
7 const ivec4 _30 = ivec4(20, 30, _20, _20);
8 const ivec2 _32 = ivec2(_30.y, _30.x);
9 const int _33 = _30.y;
10
11 layout(location = 0) flat out int _4;
12
13 void main()
14 {
15 vec4 _63 = vec4(0.0);
16 _63.y = float(_20);
17 vec4 _66 = _63;
18 _66.z = float(_25);
19 vec4 _52 = _66 + vec4(_30);
20 vec2 _56 = _52.xy + vec2(_32);
21 gl_Position = vec4(_56.x, _56.y, _52.z, _52.w);
22 _4 = _33;
23 }
24