2021-11-16 15:15:36 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
float main1() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return 1.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
float inner_result = main1();
|
|
|
|
gl_FragDepth = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
uint main2() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return 1u;
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
uint inner_result = main2();
|
|
|
|
gl_SampleMask[0] = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
Error parsing GLSL shader:
|
2022-01-28 22:36:58 +00:00
|
|
|
ERROR: 0:10: 'gl_SampleMask' : required extension not requested: GL_OES_sample_variables
|
|
|
|
ERROR: 0:10: '' : compilation terminated
|
2021-11-16 15:15:36 +00:00
|
|
|
ERROR: 2 compilation errors. No code generated.
|
|
|
|
|
|
|
|
|
|
|
|
|