mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
zink: also disable bg compile for compute with nobgc
forgot this one in the original MR Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22933>
This commit is contained in:
parent
b222b34e78
commit
476022cbe1
1 changed files with 5 additions and 2 deletions
|
|
@ -1374,8 +1374,11 @@ create_compute_program(struct zink_context *ctx, nir_shader *nir)
|
|||
_mesa_hash_table_init(&comp->pipelines, comp, NULL, comp->use_local_size ?
|
||||
equals_compute_pipeline_state_local_size :
|
||||
equals_compute_pipeline_state);
|
||||
util_queue_add_job(&screen->cache_get_thread, comp, &comp->base.cache_fence,
|
||||
precompile_compute_job, NULL, 0);
|
||||
if (zink_debug & ZINK_DEBUG_NOBGC)
|
||||
precompile_compute_job(comp, screen, 0);
|
||||
else
|
||||
util_queue_add_job(&screen->cache_get_thread, comp, &comp->base.cache_fence,
|
||||
precompile_compute_job, NULL, 0);
|
||||
return comp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue