Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "imask stuff"
This reverts commit c48f2ac.

(commit was not intended to be published)
  • Loading branch information
neobrain committed Oct 6, 2013
1 parent c48f2ac commit 7dba383
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Source/Core/VideoCommon/Src/PixelShaderGen.cpp
Expand Up @@ -529,14 +529,6 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
}
}

for (u32 i = 0; i < 8; ++i)
{
if (indmask & (1 << i))
{
// used for indirect stage, so initialize the thing...
}
}

// indirect texture map lookup
int nIndirectStagesUsed = 0;
if (bpmem.genMode.numindstages > 0)
Expand Down Expand Up @@ -908,7 +900,6 @@ static inline void WriteStage(T& out, pixel_shader_uid_data& uid_data, int n, AP
int texmap = bpmem.tevorders[n/2].getTexMap(n&1);
uid_data.SetTevindrefTexmap(i, texmap);

// TODO: Check for imask here... if imask&(1<<n), do not sample again...
out.Write("textemp = ");
SampleTexture<T>(out, "tevcoord", texswap, texmap, ApiType);
}
Expand Down

0 comments on commit 7dba383

Please sign in to comment.