diff options
| author | JosJuice <josjuice@gmail.com> | 2022-04-10 20:51:20 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2022-04-10 20:51:20 +0200 |
| commit | abffa93a72bda3d13db4fe39f18bd9d176d87dc6 (patch) | |
| tree | 52346efa0ba85a16944010ae1c4b8ea05e44061c /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | 41a831de2868cedc5064d613df971986f07a968d (diff) | |
MoltenVK: Fix pixel shader typo
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 |
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"); } |
