Revert "imask stuff"

This reverts commit c48f2acd04.

(commit was not intended to be published)
This commit is contained in:
Tony Wasserka 2013-10-06 14:30:27 +02:00
parent c48f2acd04
commit 7dba383c7c
1 changed files with 0 additions and 9 deletions

View File

@ -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)
@ -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);
}