Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10576 from JosJuice/moltenvk-curlies
MoltenVK: Fix pixel shader typo
  • Loading branch information
Pokechu22 committed Apr 10, 2022
2 parents 41a831d + abffa93 commit 1f4df1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/PixelShaderGen.cpp
Expand Up @@ -966,7 +966,7 @@ ShaderCode GeneratePixelShaderCode(APIType api_type, const ShaderHostConfig& hos
{
// Metal doesn't support a single unified variable for both input and output,
// so when using framebuffer fetch, we declare the input separately below.
out.Write("FRAGMENT_OUTPUT_LOCATION(0) out vec4 {}};\n",
out.Write("FRAGMENT_OUTPUT_LOCATION(0) out vec4 {};\n",
use_framebuffer_fetch ? "real_ocol0" : "ocol0");
}

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/UberShaderPixel.cpp
Expand Up @@ -89,7 +89,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
{
// Metal doesn't support a single unified variable for both input and output,
// so when using framebuffer fetch, we declare the input separately below.
out.Write("FRAGMENT_OUTPUT_LOCATION(0) out vec4 {}};\n",
out.Write("FRAGMENT_OUTPUT_LOCATION(0) out vec4 {};\n",
use_framebuffer_fetch ? "real_ocol0" : "ocol0");
}

Expand Down

0 comments on commit 1f4df1d

Please sign in to comment.