Merge pull request #10576 from JosJuice/moltenvk-curlies
MoltenVK: Fix pixel shader typo
This commit is contained in:
commit
1f4df1dabf
|
@ -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,
|
// Metal doesn't support a single unified variable for both input and output,
|
||||||
// so when using framebuffer fetch, we declare the input separately below.
|
// 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");
|
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,
|
// Metal doesn't support a single unified variable for both input and output,
|
||||||
// so when using framebuffer fetch, we declare the input separately below.
|
// 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");
|
use_framebuffer_fetch ? "real_ocol0" : "ocol0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue