Merge pull request #2372 from Armada651/msaa-depth

PixelShaderCache: Fix MSAA depth copy shader.
This commit is contained in:
Markus Wick 2015-05-06 12:59:09 +02:00
commit e0a7926ef7
1 changed files with 0 additions and 2 deletions

View File

@ -180,8 +180,6 @@ const char depth_matrix_program_msaa[] = {
" for(int i = 0; i < SAMPLES; ++i)\n" " for(int i = 0; i < SAMPLES; ++i)\n"
" texcol += Tex0.Load(int3(uv0.x*(width), uv0.y*(height), uv0.z), i);\n" " texcol += Tex0.Load(int3(uv0.x*(width), uv0.y*(height), uv0.z), i);\n"
" texcol /= SAMPLES;\n" " texcol /= SAMPLES;\n"
" float4 texcol = Tex0.Sample(samp0,uv0);\n"
" int depth = int(round(texcol.x * float(0xFFFFFF)));\n" " int depth = int(round(texcol.x * float(0xFFFFFF)));\n"
// Convert to Z24 format // Convert to Z24 format