summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-04-10 20:51:20 +0200
committerJosJuice <josjuice@gmail.com>2022-04-10 20:51:20 +0200
commitabffa93a72bda3d13db4fe39f18bd9d176d87dc6 (patch)
tree52346efa0ba85a16944010ae1c4b8ea05e44061c /Source/Core/VideoCommon/PixelShaderGen.cpp
parent41a831de2868cedc5064d613df971986f07a968d (diff)
MoltenVK: Fix pixel shader typo
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 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");
}