mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +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
|
@ -411,9 +411,6 @@ union TEXSCALE
|
|||
u32 rid : 8;
|
||||
};
|
||||
u32 hex;
|
||||
|
||||
float getScaleS(int i){return 1.0f/(float)(1<<(i?ss1:ss0));}
|
||||
float getScaleT(int i){return 1.0f/(float)(1<<(i?ts1:ts0));}
|
||||
};
|
||||
|
||||
union RAS1_IREF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue