blob: 417d81afee1e0483d760a8c64b4a53217cd486eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// [config]
// expect_result: pass
// glsl_version: 1.20
//
// [end config]
/* PASS */
#version 120
void main()
{
const float a[] = float[](0.0, 1.0, 0.0, 1.0);
const float a0 = a[0];
const float a1 = a[1];
const float a2 = a[2];
const float a3 = a[3];
gl_FragColor = vec4(a0, a1, a2, a3);
}
|