summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/runtime_info.h
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-02 12:07:43 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-02 12:07:43 +1000
commitcf43fd80387e0165a5ee0acf60048c403be448b9 (patch)
treedd7e79b8f05df70678b2ba9443ffb64049150f70 /src/shader_recompiler/runtime_info.h
parenta1cbcee7ab43f02750d95ef4285ff10c011e51ee (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/shader_recompiler/runtime_info.h')
0 files changed, 0 insertions, 0 deletions