iris: Use iris_any_prog_key, not brw_any_prog_key

We're storing iris keys here, not brw keys.  This worked because brw
keys are larger so you could fit any iris key in the memory.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38556>
This commit is contained in:
Kenneth Graunke 2025-09-15 15:56:36 -07:00
parent ad14942300
commit fbd9bf6aeb

View file

@ -59,7 +59,7 @@ iris_disk_cache_compute_key(struct disk_cache *cache,
* It's essentially random data which we don't want to include in our
* hashing and comparisons. We'll set a proper value on a cache hit.
*/
union brw_any_prog_key prog_key;
union iris_any_prog_key prog_key;
memcpy(&prog_key, orig_prog_key, prog_key_size);
prog_key.base.program_string_id = 0;