dawn-cmake/test/tint/shader_io/vertex_output_builtins.wgsl...

15 lines
291 B
GLSL

#version 310 es
vec4 tint_symbol() {
return vec4(1.0f, 2.0f, 3.0f, 4.0f);
}
void main() {
gl_PointSize = 1.0;
vec4 inner_result = tint_symbol();
gl_Position = inner_result;
gl_Position.y = -(gl_Position.y);
gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
return;
}