Merge pull request #4360 from VinDuv/fix-shader-compile
VideoCommon: Fix GetInterpolationQualifier calls
This commit is contained in:
commit
9e21ac8607
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue