summaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-09 17:13:12 +1000
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 12:17:03 +0100
commitc3a7aa41d8cb1fb2f02bf3eb9fb4b382d9880920 (patch)
tree76c035a1379bcb9ad14032c5fb174e81e880808b /src/video_core/buffer_cache
parentd34cc695df75fd226530dea51020fc61f27ac5a1 (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 'src/video_core/buffer_cache')
0 files changed, 0 insertions, 0 deletions