Panda3DS/src/host_shaders/vulkan_display.vert
Wunkolo 57ee0a3db9 Fix display drawing
Disable depth-testing, the display vertex-shader, and the
viewport/scissor positioning of the bottom screen.

We have visual!
2023-08-24 11:31:55 -07:00

7 lines
No EOL
179 B
GLSL

#version 460 core
layout(location = 0) out vec2 UV;
void main() {
UV = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
gl_Position = vec4(UV * 2.0f + -1.0f, 0.0f, 1.0f);
}