mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 23:48:22 +02:00
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:
parent
3c36e3b7b1
commit
fd99d813af
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue