Merge pull request #6218 from Armada651/uber-interpolation
UberShaderPixel: Fix the interpolation qualifier for interface blocks.
This commit is contained in:
commit
7e24b09301
|
@ -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…
Reference in New Issue