Debian Codegraph @

third_party/spirv-cross/reference/shaders/frag/array-lut-no-loop-variable.frag

raw
1 #version 310 es
2 precision mediump float;
3 precision highp int;
4
5 const float _17[5] = float[](1.0, 2.0, 3.0, 4.0, 5.0);
6
7 layout(location = 0) out vec4 FragColor;
8
9 void main()
10 {
11 for (mediump int i = 0; i < 4; i++, FragColor += vec4(_17[i]))
12 {
13 }
14 }
15