iris: Remove context from iris_disk_cache_retrieve

We don't use the context other than getting the screen and uploader.

Fixes: 84a38ec133 ("iris: Enable PIPE_CAP_SHAREABLE_SHADERS.")
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8922>
This commit is contained in:
Kenneth Graunke
2021-02-08 18:38:22 -08:00
committed by Marge Bot
parent b65680d59f
commit dcf6247fcb
3 changed files with 34 additions and 22 deletions

View File

@@ -906,7 +906,8 @@ void iris_disk_cache_store(struct disk_cache *cache,
const void *prog_key,
uint32_t prog_key_size);
struct iris_compiled_shader *
iris_disk_cache_retrieve(struct iris_context *ice,
iris_disk_cache_retrieve(struct iris_screen *screen,
struct u_upload_mgr *uploader,
struct iris_uncompiled_shader *ish,
const void *prog_key,
uint32_t prog_key_size);