aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Memory/Tracking/RegionHandle.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2021-08-27 21:08:30 +0100
committerGitHub <noreply@github.com>2021-08-27 17:08:30 -0300
commit76e8f9ac87c0164f4f09600dcf8b6a5b4d062bf5 (patch)
treea680a9d71272a0b8c03e8789acbb06068ec64cef /Ryujinx.Memory/Tracking/RegionHandle.cs
parentee1038e54255797a94b89091f4d59b77daad1a7b (diff)
Only reupload the texture scale array if it changes. (#2595)
* Only reupload the texture scale array if it changes. Before, this would be called all the time if any shader needed a scale value. The cost of doing this has increased with threaded-gal, as the scale array is copied to a span pool, and it's was called on pretty much every draw sometimes. This improves GPU performance in games, scaled or not. Most affected game seems to be Xenoblade Chronicles: Definitive Edition. * Just use = instead of |=
Diffstat (limited to 'Ryujinx.Memory/Tracking/RegionHandle.cs')
0 files changed, 0 insertions, 0 deletions