mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 20:41:50 +01:00
Simplify blit helper shader vertex order
This commit is contained in:
parent
c32bec071c
commit
bf491f71f9
@ -58,7 +58,7 @@ namespace skyline::gpu {
|
||||
.polygonMode = vk::PolygonMode::eFill,
|
||||
.lineWidth = 1.0f,
|
||||
.cullMode = vk::CullModeFlagBits::eNone,
|
||||
.frontFace = vk::FrontFace::eCounterClockwise,
|
||||
.frontFace = vk::FrontFace::eClockwise,
|
||||
.depthBiasEnable = false
|
||||
}, {
|
||||
.provokingVertexMode = vk::ProvokingVertexModeEXT::eFirstVertex
|
||||
|
@ -9,12 +9,12 @@ layout (push_constant) uniform constants {
|
||||
|
||||
void main() {
|
||||
const vec2 lut[6] = vec2[6](
|
||||
vec2(1, 0),
|
||||
vec2(1, 1),
|
||||
vec2(0, 1),
|
||||
vec2(0, 1),
|
||||
vec2(0, 0),
|
||||
vec2(1, 0)
|
||||
vec2(0, 1),
|
||||
vec2(1, 1),
|
||||
vec2(1, 1),
|
||||
vec2(1, 0),
|
||||
vec2(0, 0)
|
||||
);
|
||||
|
||||
dstPosition = lut[gl_VertexIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user