Skip to content

Commit a50164a

Browse files
committed
vk: missing some changes to use VK_FORMAT_R8G8B8A8_UNORM
Fixes Naomi 2 games and android on-screen gamepad.
1 parent 595842f commit a50164a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/rend/vulkan/shaders.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ void main()
396396

397397
static const char OSDVertexShaderSource[] = R"(
398398
layout (location = 0) in vec4 inPos;
399-
layout (location = 1) in uvec4 inColor;
399+
layout (location = 1) in vec4 inColor;
400400
layout (location = 2) in vec2 inUV;
401401
layout (location = 0) out lowp vec4 outColor;
402402
layout (location = 1) out mediump vec2 outUV;
@@ -659,8 +659,8 @@ layout (std140, set = 0, binding = 0) uniform VertexShaderUniforms
659659
} uniformBuffer;
660660
661661
layout (location = 0) in vec4 in_pos;
662-
layout (location = 1) in uvec4 in_base;
663-
layout (location = 2) in uvec4 in_offs;
662+
layout (location = 1) in vec4 in_base;
663+
layout (location = 2) in vec4 in_offs;
664664
layout (location = 3) in mediump vec2 in_uv;
665665
layout (location = 4) in vec3 in_normal;
666666

0 commit comments

Comments
 (0)