diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-09 17:13:12 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-09 17:13:12 +1000 |
commit | 0cf545858d6b969be2df4d8b81f4baece3a8f175 (patch) | |
tree | 57f6cb35310fd693125bc06904758d43d04787c6 /CMakeLists.txt | |
parent | 08be9b0617f7109f147f0ae1fa7f87d9a65073b6 (diff) |
vulkan: Fix crashes with bindless texture constant buffer handling
Previously, the code would unconditionally add a constant buffer descriptor
at index 0 whenever storage buffers were present, which could cause conflicts
and crashes. This change:
- Adds validation to check if constant buffer 0 already exists
- Only adds the descriptor if it's not already present
- Prevents potential descriptor conflicts in shaders
This should resolve crashes in Vulkan games related to invalid descriptor
layouts and resource binding conflicts.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions