aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/nsp.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-07-18 00:44:32 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-07-18 01:15:48 -0300
commit21932acf5f61d8f79cf6ee3f3c367d4582efa9cb (patch)
tree8ccc2e8e07c73300cba5828c78b61052a8ba47b6 /src/core/loader/nsp.cpp
parentc8fc10f13ed2ea420007c2964e025c493557eda7 (diff)
texture_cache/util: Fix size calculations of multisampled images
On the texture cache we handle multisampled images by keeping their real size in samples (e.g. 1920x1080 with 4 samples is 3840x2160). This works nicely with size matches and other comparisons, but the calculation for guest sizes was not having this in mind, and the size was being multiplied (again) by the number of samples per dimension. For example a 3840x2160 texture cache image had its width and height multiplied by 2, resulting in a much larger texture. Fix this issue. - Fixes performance regression on cooking related titles when an unrelated bug was fixed.
Diffstat (limited to 'src/core/loader/nsp.cpp')
0 files changed, 0 insertions, 0 deletions