From fd99d813af9357d51698aa201adaa70e34064fa4 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Wed, 10 Jun 2026 08:16:12 +0200 Subject: [PATCH] tu: Add allow_oob_indirect_ubo_loads to device cache uuid Fixes: f4c40fc89c7 ("tu: Add workaround for D3D11 games accessing UBO out of bounds") Signed-off-by: Danylo Piliaiev Reviewed-by: Emma Anholt Part-of: --- src/freedreno/vulkan/tu_device.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/vulkan/tu_device.cc b/src/freedreno/vulkan/tu_device.cc index 65e87d7cecc..dbffcc82954 100644 --- a/src/freedreno/vulkan/tu_device.cc +++ b/src/freedreno/vulkan/tu_device.cc @@ -101,6 +101,8 @@ tu_device_get_cache_uuid(struct tu_physical_device *device, void *uuid) _mesa_blake3_update(&ctx, &chip_id, sizeof(chip_id)); _mesa_blake3_update(&ctx, &driver_flags, sizeof(driver_flags)); _mesa_blake3_update(&ctx, &device->uche_trap_base, sizeof(device->uche_trap_base)); + _mesa_blake3_update(&ctx, &device->instance->drirc.misc.allow_oob_indirect_ubo_loads, + sizeof(device->instance->drirc.misc.allow_oob_indirect_ubo_loads)); _mesa_blake3_final(&ctx, blake3); memcpy(uuid, blake3, VK_UUID_SIZE);