D3D: Drop gamma parameter from util draw helper

No longer needed as we perform gamma correction during the XFB copy.
This commit is contained in:
Stenzek
2018-05-02 21:58:56 +10:00
parent e89ac769fb
commit 7a745e5b0d
6 changed files with 20 additions and 32 deletions

View File

@ -89,13 +89,11 @@ const char copy_shader_code[] = {
"{\n"
" float4 vPosition : POSITION;\n"
" float3 vTexCoord : TEXCOORD0;\n"
" float vTexCoord1 : TEXCOORD1;\n"
"};\n"
"struct GSOUTPUT\n"
"{\n"
" float4 vPosition : POSITION;\n"
" float3 vTexCoord : TEXCOORD0;\n"
" float vTexCoord1 : TEXCOORD1;\n"
" uint slice : SV_RenderTargetArrayIndex;\n"
"};\n"
"[maxvertexcount(6)]\n"
@ -108,8 +106,7 @@ const char copy_shader_code[] = {
" GSOUTPUT OUT;\n"
" OUT.vPosition = o[i].vPosition;\n"
" OUT.vTexCoord = o[i].vTexCoord;\n"
" OUT.vTexCoord.z = slice;\n"
" OUT.vTexCoord1 = o[i].vTexCoord1;\n"
" OUT.vTexCoord.z = float(slice);\n"
" OUT.slice = slice;\n"
" Output.Append(OUT);\n"
" }\n"