mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nvk: Include the chipset in the pipeline/binary cache UUID
Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38018>
This commit is contained in:
parent
aa929ea706
commit
d1793c7a59
1 changed files with 3 additions and 0 deletions
|
|
@ -1271,6 +1271,9 @@ nvk_physical_device_init_pipeline_cache(struct nvk_physical_device *pdev)
|
|||
_mesa_sha1_update(&sha_ctx, instance->driver_build_sha,
|
||||
sizeof(instance->driver_build_sha));
|
||||
|
||||
_mesa_sha1_update(&sha_ctx, &pdev->info.chipset,
|
||||
sizeof(pdev->info.chipset));
|
||||
|
||||
const uint64_t compiler_flags = nvk_physical_device_compiler_flags(pdev);
|
||||
_mesa_sha1_update(&sha_ctx, &compiler_flags, sizeof(compiler_flags));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue