Debian Codegraph @

third_party/spirv-cross/reference/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 layout(constant_id = 200) const float _9 = 3.141590118408203125;
11
12 layout(location = 0) flat out int _4;
13
14 void main()
15 {
16 vec4 pos = vec4(0.0);
17 pos.y += float(_20);
18 pos.z += float(_25);
19 pos += vec4(_30);
20 vec2 _56 = pos.xy + vec2(_32);
21 pos = vec4(_56.x, _56.y, pos.z, pos.w);
22 gl_Position = pos;
23 _4 = _33;
24 }
25