summaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-02 12:07:43 +1000
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 14:54:45 +0100
commitfdeaf764fe20725dfc8df86dbb813a544f5c84ce (patch)
tree10b8bc1a152dfd4a345220a52e21e7516b085381 /src/video_core/buffer_cache/buffer_cache.cpp
parent2bce10f740c69c7bf843144d3328dc9537d0c2bb (diff)
vulkan: Add 4KB memory alignment for AMD and Qualcomm drivers
Adds special handling for memory allocation size on AMD and Qualcomm (Adreno) drivers by aligning allocations to 4KB boundaries. This fixes potential memory allocation issues on these drivers where unaligned allocations may fail or cause undefined behavior. Affected drivers: - AMD Proprietary (AMDVLK) - AMD Open Source (RADV) - Qualcomm Proprietary (Adreno)
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions