mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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:
parent
fc9e718a86
commit
bdd89dad1c
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue