mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-31 11:41:35 +00:00
Bug: tint:1581 Change-Id: I6268e291540bc8c712f6925f0bcb82c5873359c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96902 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
50 lines
765 B
GLSL
50 lines
765 B
GLSL
#version 310 es
|
|
|
|
void atan2_c4be45() {
|
|
vec4 res = vec4(0.785398185f);
|
|
}
|
|
|
|
vec4 vertex_main() {
|
|
atan2_c4be45();
|
|
return vec4(0.0f);
|
|
}
|
|
|
|
void main() {
|
|
gl_PointSize = 1.0;
|
|
vec4 inner_result = vertex_main();
|
|
gl_Position = inner_result;
|
|
gl_Position.y = -(gl_Position.y);
|
|
gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
|
|
return;
|
|
}
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
void atan2_c4be45() {
|
|
vec4 res = vec4(0.785398185f);
|
|
}
|
|
|
|
void fragment_main() {
|
|
atan2_c4be45();
|
|
}
|
|
|
|
void main() {
|
|
fragment_main();
|
|
return;
|
|
}
|
|
#version 310 es
|
|
|
|
void atan2_c4be45() {
|
|
vec4 res = vec4(0.785398185f);
|
|
}
|
|
|
|
void compute_main() {
|
|
atan2_c4be45();
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void main() {
|
|
compute_main();
|
|
return;
|
|
}
|