mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-26 20:16:06 +02:00
![Billy Laws](/assets/img/avatar_default.png)
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);
|
|
}
|