summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/decode.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
commit6d9f347e22d3b198ff8f623d1efafcf7dae27321 (patch)
tree8ccc2e8e07c73300cba5828c78b61052a8ba47b6 /src/shader_recompiler/frontend/maxwell/decode.cpp
parent8b53209362de581f3e98a85fa4a85fdc002f23ba (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/shader_recompiler/frontend/maxwell/decode.cpp')
0 files changed, 0 insertions, 0 deletions