radv: Add ability to override the build id for the cache.

This would allow us to keep the shader cache key the same for updates
that we know won't impact compilation on SteamOS.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17426>
This commit is contained in:
Bas Nieuwenhuizen
2022-07-08 18:18:13 +02:00
committed by Marge Bot
parent f286289c7f
commit 97641e5c94
3 changed files with 39 additions and 6 deletions

View File

@@ -542,3 +542,9 @@ option(
value : 'auto',
description : 'build gallium d3d12 with video support.',
)
option(
'radv-build-id',
type : 'string',
value : '',
description : 'Override build id for shader cache keys (hex string). Can be extracted with readelf -x .note.gnu.build-id'
)