mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-17 14:59:20 +01:00
13a96c5aba
These are not natively supported by Vulkan, so use a helper shader and colorWriteMask for the same behaviour.
15 lines
244 B
GLSL
15 lines
244 B
GLSL
#version 460
|
|
|
|
void main() {
|
|
const vec2 lut[6] = vec2[6](
|
|
vec2(-1, -1),
|
|
vec2(-1, 1),
|
|
vec2(1, 1),
|
|
vec2(1, 1),
|
|
vec2(1, -1),
|
|
vec2(-1, -1)
|
|
);
|
|
|
|
gl_Position = vec4(lut[gl_VertexIndex], 0, 1);
|
|
}
|