intel/compiler: Track lower_dpas flag in brw_get_compiler_config_value

This user-settable flag affects compiler output, so it should be tracked
in the cache hash.

Fixes: 3756f60558 ("intel/fs: DPAS lowering")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Suggested-by: Lionel Landwerlin
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26993>
(cherry picked from commit 6f237a23c771e3dc74adc1cc0ab5cbc3e3b03be8)
This commit is contained in:
Ian Romanick 2024-01-17 10:25:29 -08:00 committed by Eric Engestrom
parent 219cd6dc40
commit 057493cefb
2 changed files with 3 additions and 1 deletions

View file

@ -1254,7 +1254,7 @@
"description": "intel/compiler: Track lower_dpas flag in brw_get_compiler_config_value",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3756f605586fb2dcf53d892606152ecc5ce1ad1d",
"notes": null

View file

@ -249,6 +249,8 @@ brw_get_compiler_config_value(const struct brw_compiler *compiler)
insert_u64_bit(&config, compiler->precise_trig);
bits++;
insert_u64_bit(&config, compiler->lower_dpas);
bits++;
uint64_t mask = DEBUG_DISK_CACHE_MASK;
bits += util_bitcount64(mask);