2022-01-06 15:31:21 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
|
|
|
|
int x_1[1] = int[1](0);
|
|
|
|
void main_1() {
|
|
|
|
x_1[0] = 12;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct main_out {
|
|
|
|
uint x_1_1;
|
|
|
|
};
|
2022-01-26 16:48:55 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
main_out tint_symbol() {
|
2022-01-06 15:31:21 +00:00
|
|
|
main_1();
|
2022-01-28 22:36:58 +00:00
|
|
|
main_out tint_symbol_1 = main_out(uint(x_1[0]));
|
|
|
|
return tint_symbol_1;
|
2022-01-06 15:31:21 +00:00
|
|
|
}
|
2022-01-26 16:48:55 +00:00
|
|
|
|
2022-01-06 15:31:21 +00:00
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
main_out inner_result = tint_symbol();
|
|
|
|
gl_SampleMask[0] = inner_result.x_1_1;
|
|
|
|
return;
|
2022-01-06 15:31:21 +00:00
|
|
|
}
|
|
|
|
Error parsing GLSL shader:
|
2022-01-28 22:36:58 +00:00
|
|
|
ERROR: 0:22: 'gl_SampleMask' : required extension not requested: GL_OES_sample_variables
|
|
|
|
ERROR: 0:22: '' : compilation terminated
|
2022-01-06 15:31:21 +00:00
|
|
|
ERROR: 2 compilation errors. No code generated.
|
|
|
|
|
|
|
|
|
|
|
|
|