mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
Bug: tint:1611 Change-Id: Id04c31ade297a68e7e2941efafbd812ba631fc41 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95946 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
20 lines
346 B
GLSL
20 lines
346 B
GLSL
#version 310 es
|
|
|
|
struct Out {
|
|
vec4 pos;
|
|
};
|
|
|
|
Out tint_symbol() {
|
|
Out tint_symbol_1 = Out(vec4(0.0f));
|
|
return tint_symbol_1;
|
|
}
|
|
|
|
void main() {
|
|
gl_PointSize = 1.0;
|
|
Out inner_result = tint_symbol();
|
|
gl_Position = inner_result.pos;
|
|
gl_Position.y = -(gl_Position.y);
|
|
gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
|
|
return;
|
|
}
|