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:
Faith Ekstrand 2025-10-22 17:25:58 -04:00 committed by Marge Bot
parent aa929ea706
commit d1793c7a59

View file

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