PixelShaderGen: Add missing inputs.

This fixes a linkage warning in D3D because of mismatched inputs.
This commit is contained in:
Jules Blok 2017-06-26 21:48:52 +02:00
parent b485329353
commit 8476d0271d
1 changed files with 2 additions and 0 deletions

View File

@ -606,6 +606,8 @@ ShaderCode GeneratePixelShaderCode(APIType ApiType, const pixel_shader_uid_data*
GetInterpolationQualifier(uid_data->msaa, uid_data->ssaa),
uid_data->genMode_numtexgens + 2);
}
out.Write(",\n in float clipDist0 : SV_ClipDistance0\n");
out.Write(",\n in float clipDist1 : SV_ClipDistance1\n");
if (uid_data->stereo)
out.Write(",\n in uint layer : SV_RenderTargetArrayIndex\n");
out.Write(" ) {\n");