diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-06-08 21:29:53 -0700 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-06-09 20:50:49 -0700 |
| commit | 820d9ffbfa9fb06618ff8d93d5e9a1da72d897c0 (patch) | |
| tree | c651554bc26d9a8dddee66f23edc0d91f7df5302 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | c583cac5681409222c4557e48cbad8caedc17c4d (diff) | |
Remove PixelShaderGen hasindstage
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 6 |
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; |
