2021-11-16 15:15:36 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
|
|
|
#version 310 es
|
|
|
|
precision mediump float;
|
|
|
|
|
|
|
|
struct FragmentInputs {
|
|
|
|
vec4 position;
|
|
|
|
bool front_facing;
|
|
|
|
uint sample_index;
|
|
|
|
uint sample_mask;
|
|
|
|
};
|
2022-01-26 16:48:55 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
void tint_symbol(FragmentInputs inputs) {
|
2021-11-16 15:15:36 +00:00
|
|
|
if (inputs.front_facing) {
|
|
|
|
vec4 foo = inputs.position;
|
|
|
|
uint bar = (inputs.sample_index + inputs.sample_mask);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
FragmentInputs tint_symbol_1 = FragmentInputs(gl_FragCoord, gl_FrontFacing, uint(gl_SampleID), uint(gl_SampleMask[0]));
|
|
|
|
tint_symbol(tint_symbol_1);
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
Error parsing GLSL shader:
|
2022-01-28 22:36:58 +00:00
|
|
|
ERROR: 0:19: 'gl_SampleID' : required extension not requested: GL_OES_sample_variables
|
|
|
|
ERROR: 0:19: '' : compilation terminated
|
2021-11-16 15:15:36 +00:00
|
|
|
ERROR: 2 compilation errors. No code generated.
|
|
|
|
|
|
|
|
|
|
|
|
|