mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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:
parent
ad14942300
commit
fbd9bf6aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue