mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 09:40:29 +00:00
Revert "imask stuff"
This reverts commit c48f2acd04fc9d7bddb7073ff745401af7cac815. (commit was not intended to be published)
This commit is contained in:
parent
c48f2acd04
commit
7dba383c7c
@ -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
|
// indirect texture map lookup
|
||||||
int nIndirectStagesUsed = 0;
|
int nIndirectStagesUsed = 0;
|
||||||
if (bpmem.genMode.numindstages > 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);
|
int texmap = bpmem.tevorders[n/2].getTexMap(n&1);
|
||||||
uid_data.SetTevindrefTexmap(i, texmap);
|
uid_data.SetTevindrefTexmap(i, texmap);
|
||||||
|
|
||||||
// TODO: Check for imask here... if imask&(1<<n), do not sample again...
|
|
||||||
out.Write("textemp = ");
|
out.Write("textemp = ");
|
||||||
SampleTexture<T>(out, "tevcoord", texswap, texmap, ApiType);
|
SampleTexture<T>(out, "tevcoord", texswap, texmap, ApiType);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user