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 <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28253>
This commit is contained in:
Mark Collins 2024-03-18 11:20:06 +00:00 committed by Marge Bot
parent fc9e718a86
commit bdd89dad1c

View file

@ -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);