From 2b2c2afa3cb7f5e556f719069052feb703b2c1e6 Mon Sep 17 00:00:00 2001 From: donkopunchstania Date: Sat, 11 Apr 2009 07:05:57 +0000 Subject: [PATCH] Did clean up of indirect texture look up and fixed some bugs related to indirect unit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2954 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Core/VideoCommon/Src/PixelShaderGen.cpp | 44 ++++++++----------- Source/Core/VideoCommon/Src/PixelShaderGen.h | 11 ++--- 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 60fef26895..1c33e9792a 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -465,10 +465,6 @@ const char *GeneratePixelShader(u32 texture_mask, bool has_zbuffer_target, bool "float3 tevcoord;\n" "float2 wrappedcoord, tempcoord;\n"); - //if (bOutputZ ) WRITE(p, " float depth;\n"); -// WRITE(p, "return 1;}\n"); -// return PixelShaderMngr::CompilePixelShader(ps, text); - // indirect texture map lookup for(u32 i = 0; i < bpmem.genMode.numindstages; ++i) { if (nIndirectStagesUsed & (1<