summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-06-10 03:38:24 -0400
committerGitHub <noreply@github.com>2021-06-10 03:38:24 -0400
commita51d01bb809bddaa2c221b0e9a6d0b935a285bce (patch)
treea8ebb37fd0c90eb6adc89b27fc3f82dc694ee26e /Source/Core/VideoCommon/PixelShaderGen.cpp
parente62610e6bc4f33234d8d5a7759ed5911bd25b8cb (diff)
parent1500a0119bbb9086b0482a94b154612a0684f194 (diff)
Merge pull request #9532 from Pokechu22/debug-cube-hack
Hackfix for debug cubes
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 37e856ae42..567d161565 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -236,12 +236,6 @@ PixelShaderUid GetPixelShaderUid()
for (unsigned int n = 0; n < numStages; n++)
{
uid_data->stagehash[n].tevorders_texcoord = bpmem.tevorders[n / 2].getTexCoord(n & 1);
-
- // hasindstage previously was used as a criterion to set tevind to 0, but there are variables in
- // tevind that are used even if the indirect stage is disabled, so now it is only left in to
- // avoid breaking existing UIDs (in most cases, games will have 0 in tevind anyways)
- // TODO: Remove hasindstage on the next UID version bump
- uid_data->stagehash[n].hasindstage = bpmem.tevind[n].bt < bpmem.genMode.numindstages;
uid_data->stagehash[n].tevind = bpmem.tevind[n].hex;
TevStageCombiner::ColorCombiner& cc = bpmem.combiners[n].colorC;