diff options
| author | Pokechu22 <pokechu022@gmail.com> | 2022-04-10 12:51:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-10 12:51:17 -0700 |
| commit | 1f4df1dabf261c573f260d92bdee8b7c28132ebe (patch) | |
| tree | 52346efa0ba85a16944010ae1c4b8ea05e44061c /Source/Core | |
| parent | 41a831de2868cedc5064d613df971986f07a968d (diff) | |
| parent | abffa93a72bda3d13db4fe39f18bd9d176d87dc6 (diff) | |
Merge pull request #10576 from JosJuice/moltenvk-curlies
MoltenVK: Fix pixel shader typo
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/UberShaderPixel.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index ee95d25187..837001c118 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -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"); } diff --git a/Source/Core/VideoCommon/UberShaderPixel.cpp b/Source/Core/VideoCommon/UberShaderPixel.cpp index abac319afa..7bb4eb4210 100644 --- a/Source/Core/VideoCommon/UberShaderPixel.cpp +++ b/Source/Core/VideoCommon/UberShaderPixel.cpp @@ -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"); } |
