diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-02 12:07:43 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-02 12:07:43 +1000 |
commit | cf43fd80387e0165a5ee0acf60048c403be448b9 (patch) | |
tree | dd7e79b8f05df70678b2ba9443ffb64049150f70 /src/citron/main.cpp | |
parent | a1cbcee7ab43f02750d95ef4285ff10c011e51ee (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/citron/main.cpp')
0 files changed, 0 insertions, 0 deletions