MoltenVK: Fix pixel shader typo
This commit is contained in:
parent
41a831de28
commit
abffa93a72
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue