tu: Add allow_oob_indirect_ubo_loads to device cache uuid

Fixes: f4c40fc89c ("tu: Add workaround for D3D11 games accessing UBO out of bounds")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41477>
This commit is contained in:
Danylo Piliaiev 2026-06-10 08:16:12 +02:00 committed by Marge Bot
parent 3c36e3b7b1
commit fd99d813af

View file

@ -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);