From 24594a7888416b309cf469c83937448de5507466 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 6 May 2015 12:43:12 +0200 Subject: [PATCH] PixelShaderCache: Fix MSAA depth copy shader. --- Source/Core/VideoBackends/D3D/PixelShaderCache.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp b/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp index e5b91660bf..3e2c6292c0 100644 --- a/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp +++ b/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp @@ -180,8 +180,6 @@ const char depth_matrix_program_msaa[] = { " for(int i = 0; i < SAMPLES; ++i)\n" " texcol += Tex0.Load(int3(uv0.x*(width), uv0.y*(height), uv0.z), i);\n" " texcol /= SAMPLES;\n" - - " float4 texcol = Tex0.Sample(samp0,uv0);\n" " int depth = int(round(texcol.x * float(0xFFFFFF)));\n" // Convert to Z24 format