VideoCommon: Fix GetInterpolationQualifier calls

Commit 4969415 modified calls to GetInterpolationQualifier, but mistakenly changed the order of some boolean parameters: GetInterpolationQualifier(true, false) was changed to GetInterpolationQualifier(…, false, true).

Should fix #9783.
This commit is contained in:
Vincent Duvert 2016-10-16 12:48:32 +02:00
parent ad956559d5
commit 8bb459aae5
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ ShaderCode GenerateGeometryShaderCode(APIType ApiType, const geometry_shader_uid
out.Write("VARYING_LOCATION(0) out VertexData {\n");
GenerateVSOutputMembers<ShaderCode>(
out, ApiType, uid_data->numTexGens, uid_data->pixel_lighting,
GetInterpolationQualifier(uid_data->msaa, uid_data->ssaa, false, true));
GetInterpolationQualifier(uid_data->msaa, uid_data->ssaa, true, false));
if (uid_data->stereo)
out.Write("\tflat int layer;\n");

View File

@ -130,7 +130,7 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const vertex_shader_uid_da
out.Write("VARYING_LOCATION(0) out VertexData {\n");
GenerateVSOutputMembers(
out, api_type, uid_data->numTexGens, uid_data->pixel_lighting,
GetInterpolationQualifier(uid_data->msaa, uid_data->ssaa, false, true));
GetInterpolationQualifier(uid_data->msaa, uid_data->ssaa, true, false));
out.Write("} vs;\n");
}
else