mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
nvk: Include the chipset in the pipeline/binary cache UUID
Cc: mesa-stable
(cherry picked from commit d1793c7a59)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
This commit is contained in:
parent
bfd09d9891
commit
cd253df92a
2 changed files with 4 additions and 1 deletions
|
|
@ -964,7 +964,7 @@
|
|||
"description": "nvk: Include the chipset in the pipeline/binary cache UUID",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1267,6 +1267,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