mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
PixelShaderGen: Store tex scale as an integer.
This commit is contained in:
@@ -202,10 +202,10 @@ void PixelShaderManager::SetViewportChanged()
|
||||
|
||||
void PixelShaderManager::SetIndTexScaleChanged(bool high)
|
||||
{
|
||||
constants.indtexscale[high][0] = bpmem.texscale[high].getScaleS(0);
|
||||
constants.indtexscale[high][1] = bpmem.texscale[high].getScaleT(0);
|
||||
constants.indtexscale[high][2] = bpmem.texscale[high].getScaleS(1);
|
||||
constants.indtexscale[high][3] = bpmem.texscale[high].getScaleT(1);
|
||||
constants.indtexscale[high][0] = bpmem.texscale[high].ss0;
|
||||
constants.indtexscale[high][1] = bpmem.texscale[high].ts0;
|
||||
constants.indtexscale[high][2] = bpmem.texscale[high].ss1;
|
||||
constants.indtexscale[high][3] = bpmem.texscale[high].ts1;
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user