blob: 9edcb98b21d928b425f4aa5bbdfcc1124e1f2f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
Copyright (c) 2019 The Khronos Group Inc.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE.txt file.
*/
void main()
{
int i, j, k;
float f;
i = j, k, f;
i = j = k, f = 1.0;
i = j, k = (3, f); // float cannot be assigned to int
gl_Position = vec4(1);
}
|