Skip to content

Commit

Permalink
vk: missing some changes to use VK_FORMAT_R8G8B8A8_UNORM
Browse files Browse the repository at this point in the history
Fixes Naomi 2 games and android on-screen gamepad.
  • Loading branch information
flyinghead committed Oct 13, 2024
1 parent 595842f commit a50164a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/rend/vulkan/shaders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ void main()

static const char OSDVertexShaderSource[] = R"(
layout (location = 0) in vec4 inPos;
layout (location = 1) in uvec4 inColor;
layout (location = 1) in vec4 inColor;
layout (location = 2) in vec2 inUV;
layout (location = 0) out lowp vec4 outColor;
layout (location = 1) out mediump vec2 outUV;
Expand Down Expand Up @@ -659,8 +659,8 @@ layout (std140, set = 0, binding = 0) uniform VertexShaderUniforms
} uniformBuffer;
layout (location = 0) in vec4 in_pos;
layout (location = 1) in uvec4 in_base;
layout (location = 2) in uvec4 in_offs;
layout (location = 1) in vec4 in_base;
layout (location = 2) in vec4 in_offs;
layout (location = 3) in mediump vec2 in_uv;
layout (location = 4) in vec3 in_normal;
Expand Down

0 comments on commit a50164a

Please sign in to comment.