yuzu/src/video_core
ReinUsesLisp 6d9f347e22 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.
2021-07-18 01:15:48 -03:00
..
buffer_cache accelerateDMA: Fixes and feedback. 2021-07-12 10:33:35 +02:00
command_classes Merge pull request #6525 from ameerj/nvdec-fixes 2021-07-15 15:17:50 +02:00
engines accelerateDMA: Accelerate Buffer Copies. 2021-07-11 01:33:17 +02:00
host_shaders Merge pull request #6459 from lat9nq/ubuntu-fixes 2021-06-30 21:47:57 -04:00
macro common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
renderer_opengl Merge pull request #6579 from ameerj/float-settings 2021-07-15 18:03:11 -04:00
renderer_vulkan Merge pull request #6579 from ameerj/float-settings 2021-07-15 18:03:11 -04:00
shader Review 1 2021-02-15 05:26:28 +00:00
texture_cache texture_cache/util: Fix size calculations of multisampled images 2021-07-18 01:15:48 -03:00
textures video_core: Silence signed/unsigned mismatch warnings 2021-06-28 09:21:42 -04:00
vulkan_common Merge pull request #6502 from ameerj/vendor-title 2021-06-28 14:51:49 -04:00
cdma_pusher.cpp Slightly refactor NVDEC and codecs for readability and safety 2021-07-01 06:22:05 +01:00
cdma_pusher.h Address PR feedback 2021-02-13 13:07:56 -05:00
CMakeLists.txt video_core: Enforce C4242 2021-06-28 14:20:25 -04:00
compatible_formats.cpp texture_cache: Blacklist BGRA8 copies and views on OpenGL 2021-03-04 14:14:49 -05:00
compatible_formats.h texture_cache: Blacklist BGRA8 copies and views on OpenGL 2021-03-04 14:14:49 -05:00
delayed_destruction_ring.h video_core: Add a delayed destruction ring abstraction 2020-12-30 02:10:19 -03:00
dirty_flags.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
dirty_flags.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
dma_pusher.cpp BufferCache: Additional download fixes. 2021-07-09 22:20:36 +02:00
dma_pusher.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
fence_manager.h Fence Manager: remove reference fencing. 2021-07-09 22:20:36 +02:00
framebuffer_config.h video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. 2020-12-28 16:33:48 -08:00
gpu.cpp accelerateDMA: Accelerate Buffer Copies. 2021-07-11 01:33:17 +02:00
gpu.h video_core: gpu: WaitFence: Do not block threads during shutdown. 2021-05-29 01:06:04 -07:00
gpu_thread.cpp GPUTHread: Remove async reads from Normal Accuracy. 2021-06-11 17:27:17 +02:00
gpu_thread.h video_core: Use a CV for blocking commands. 2021-04-07 22:38:52 +02:00
guest_driver.cpp gl_shader_cache: Rework shader cache and remove post-specializations 2020-03-09 18:40:06 -03:00
guest_driver.h video_core: Resolve more variable shadowing scenarios 2020-12-04 16:19:09 -05:00
memory_manager.cpp Texture Cache: Address feedback. 2021-07-04 22:32:35 +02:00
memory_manager.h Texture Cache: Address feedback. 2021-07-04 22:32:35 +02:00
query_cache.h common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
rasterizer_accelerated.cpp rasterizer: Update pages in batches 2021-06-11 17:27:17 +02:00
rasterizer_accelerated.h video_core: rasterizer_cache: Use u16 for cached page count. 2021-05-27 14:47:24 -07:00
rasterizer_interface.h accelerateDMA: Fixes and feedback. 2021-07-12 10:33:35 +02:00
renderer_base.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
renderer_base.h video_core: Add GPU vendor name to window title bar 2021-06-20 23:04:07 -04:00
shader_cache.h shader_cache: Make use of std::erase_if 2020-07-14 15:49:15 -04:00
shader_notify.cpp video_core: add missing header after 468bd9c1b0 2021-02-23 00:04:36 +00:00
shader_notify.h async shaders 2020-07-17 14:24:57 +10:00
surface.cpp Reaper: Address Feedback. 2021-06-16 21:35:03 +02:00
surface.h Reaper: Address Feedback. 2021-06-16 21:35:03 +02:00
video_core.cpp common: Move settings to common from core. 2021-04-14 16:24:03 -07:00
video_core.h Frontend/GPU: Refactor context management 2020-03-24 21:03:42 -06:00