Skip to content

Commit

Permalink
cleanup 15
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Nov 29, 2023
1 parent e58514b commit 3537950
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gallium/drivers/freedreno/ir3/ir3_gallium.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,11 @@ ir3_screen_init(struct pipe_screen *pscreen)

/* Create at least one thread - even on single core CPU systems. */
num_threads = MAX2(1, num_threads);

util_queue_init(&screen->compile_queue, "ir3q", 64, num_threads,
UTIL_QUEUE_INIT_RESIZE_IF_FULL |
UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITY, NULL);

pscreen->finalize_nir = ir3_screen_finalize_nir;
pscreen->set_max_shader_compiler_threads =
ir3_set_max_shader_compiler_threads;
Expand Down

0 comments on commit 3537950

Please sign in to comment.