mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +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>
This commit is contained in:
parent
d934b5293f
commit
3709ebded8
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ tu_device_get_cache_uuid(struct tu_physical_device *device, void *uuid)
|
|||
_mesa_blake3_update(&ctx, &driver_flags, sizeof(driver_flags));
|
||||
_mesa_blake3_update(&ctx, &device->uche_trap_base, sizeof(device->uche_trap_base));
|
||||
_mesa_blake3_final(&ctx, blake3);
|
||||
_mesa_blake3_update(&ctx, &device->instance->allow_oob_indirect_ubo_loads,
|
||||
sizeof(device->instance->allow_oob_indirect_ubo_loads));
|
||||
|
||||
memcpy(uuid, blake3, VK_UUID_SIZE);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue