2021-11-16 15:15:36 +00:00
|
|
|
#version 310 es
|
2023-03-09 19:58:23 +00:00
|
|
|
precision highp float;
|
2021-11-16 15:15:36 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
layout(location = 0) out int value;
|
|
|
|
int main0() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
int inner_result = main0();
|
|
|
|
value = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
#version 310 es
|
2023-03-09 19:58:23 +00:00
|
|
|
precision highp float;
|
2021-11-16 15:15:36 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
layout(location = 1) out uint value;
|
|
|
|
uint main1() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return 1u;
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
uint inner_result = main1();
|
|
|
|
value = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
#version 310 es
|
2023-03-09 19:58:23 +00:00
|
|
|
precision highp float;
|
2021-11-16 15:15:36 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
layout(location = 2) out float value;
|
|
|
|
float main2() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return 1.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
float inner_result = main2();
|
|
|
|
value = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|
|
|
|
#version 310 es
|
2023-03-09 19:58:23 +00:00
|
|
|
precision highp float;
|
2021-11-16 15:15:36 +00:00
|
|
|
|
2022-01-28 22:36:58 +00:00
|
|
|
layout(location = 3) out vec4 value;
|
|
|
|
vec4 main3() {
|
2021-11-16 15:15:36 +00:00
|
|
|
return vec4(1.0f, 2.0f, 3.0f, 4.0f);
|
|
|
|
}
|
|
|
|
|
|
|
|
void main() {
|
2022-01-28 22:36:58 +00:00
|
|
|
vec4 inner_result = main3();
|
|
|
|
value = inner_result;
|
|
|
|
return;
|
2021-11-16 15:15:36 +00:00
|
|
|
}
|