blob: 1c22a52dd521c72874eb211cdf51d8a0aa01f94e [file] [log] [blame]
Stephen White2fe0f4b2021-11-16 15:15:36 +00001SKIP: FAILED
2
3#version 310 es
4precision mediump float;
5
6void select_1e960b() {
7 uvec2 res = (bvec2(false, false) ? uvec2(0u, 0u) : uvec2(0u, 0u));
8}
9
10struct tint_symbol {
11 vec4 value;
12};
13
14vec4 vertex_main_inner() {
15 select_1e960b();
16 return vec4(0.0f, 0.0f, 0.0f, 0.0f);
17}
18
19tint_symbol vertex_main() {
20 vec4 inner_result = vertex_main_inner();
21 tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f));
22 wrapper_result.value = inner_result;
23 return wrapper_result;
24}
Stephen Whitee2f35ba2022-01-26 16:48:55 +000025
26
Stephen White2fe0f4b2021-11-16 15:15:36 +000027void main() {
28 tint_symbol outputs;
29 outputs = vertex_main();
30 gl_Position = outputs.value;
Stephen Whiteb1d2b842022-01-26 14:45:55 +000031 gl_Position.z = 2.0 * gl_Position.z - gl_Position.w;
Stephen White2fe0f4b2021-11-16 15:15:36 +000032 gl_Position.y = -gl_Position.y;
33}
34
Stephen White2fe0f4b2021-11-16 15:15:36 +000035Error parsing GLSL shader:
36ERROR: 0:5: '' : boolean expression expected
37ERROR: 0:5: '' : compilation terminated
38ERROR: 2 compilation errors. No code generated.
39
40
41
42#version 310 es
43precision mediump float;
44
45void select_1e960b() {
46 uvec2 res = (bvec2(false, false) ? uvec2(0u, 0u) : uvec2(0u, 0u));
47}
48
49struct tint_symbol {
50 vec4 value;
51};
52
53void fragment_main() {
54 select_1e960b();
55 return;
56}
Stephen Whitee2f35ba2022-01-26 16:48:55 +000057
Stephen White2fe0f4b2021-11-16 15:15:36 +000058void main() {
59 fragment_main();
60}
61
Stephen White2fe0f4b2021-11-16 15:15:36 +000062Error parsing GLSL shader:
63ERROR: 0:5: '' : boolean expression expected
64ERROR: 0:5: '' : compilation terminated
65ERROR: 2 compilation errors. No code generated.
66
67
68
69#version 310 es
70precision mediump float;
71
72void select_1e960b() {
73 uvec2 res = (bvec2(false, false) ? uvec2(0u, 0u) : uvec2(0u, 0u));
74}
75
76struct tint_symbol {
77 vec4 value;
78};
79
80layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
81void compute_main() {
82 select_1e960b();
83 return;
84}
Stephen Whitee2f35ba2022-01-26 16:48:55 +000085
Stephen White2fe0f4b2021-11-16 15:15:36 +000086void main() {
87 compute_main();
88}
89
Stephen White2fe0f4b2021-11-16 15:15:36 +000090Error parsing GLSL shader:
91ERROR: 0:5: '' : boolean expression expected
92ERROR: 0:5: '' : compilation terminated
93ERROR: 2 compilation errors. No code generated.
94
95
96