From bdd89dad1c31a55638532870aa19de3a8fbf086a Mon Sep 17 00:00:00 2001 From: Mark Collins Date: Mon, 18 Mar 2024 11:20:06 +0000 Subject: [PATCH] fd/rddecompiler: Disable IR3 cache for replay context The cache being enabled results in some warning logs, it's not necessary for rddecompiler either way. Signed-off-by: Mark Collins Part-of: --- src/freedreno/decode/rdcompiler-utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedreno/decode/rdcompiler-utils.h b/src/freedreno/decode/rdcompiler-utils.h index 1a6b609f20e..f3b774602d5 100644 --- a/src/freedreno/decode/rdcompiler-utils.h +++ b/src/freedreno/decode/rdcompiler-utils.h @@ -267,7 +267,9 @@ replay_context_init(struct replay_context *ctx, struct fd_dev_id *dev_id, ((uint64_t *)ctx->cp_log->mem)[1] = sizeof(uint64_t); ctx->cp_log->cur = ctx->cp_log->total_size; - struct ir3_compiler_options options{}; + struct ir3_compiler_options options{ + .disable_cache = true, + }; ctx->compiler = ir3_compiler_create(NULL, dev_id, fd_dev_info_raw(dev_id), &options); ctx->compiled_shaders = _mesa_hash_table_u64_create(ctx->mem_ctx);