mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01:00
UberShaderPixel: Fix the interpolation qualifier for interface blocks.
Fixes MSAA on MacOS with ubershaders enabled.
This commit is contained in:
parent
73a67aa413
commit
7dd207931d
@ -89,7 +89,7 @@ ShaderCode GenPixelShader(APIType ApiType, const ShaderHostConfig& host_config,
|
|||||||
{
|
{
|
||||||
out.Write("VARYING_LOCATION(0) in VertexData {\n");
|
out.Write("VARYING_LOCATION(0) in VertexData {\n");
|
||||||
GenerateVSOutputMembers(out, ApiType, numTexgen, per_pixel_lighting,
|
GenerateVSOutputMembers(out, ApiType, numTexgen, per_pixel_lighting,
|
||||||
GetInterpolationQualifier(msaa, ssaa));
|
GetInterpolationQualifier(msaa, ssaa, true, true));
|
||||||
|
|
||||||
if (stereo)
|
if (stereo)
|
||||||
out.Write(" flat int layer;\n");
|
out.Write(" flat int layer;\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user