mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
PixelShaderGen: Store tex scale as an integer.
This commit is contained in:
parent
16109fb453
commit
fa7173d099
4 changed files with 10 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue