radeonsi: add back the USE_MININUM_PRIORITY flag to the low-prio compiler queue
authorMarek Olšák <marek.olsak@amd.com>
Mon, 17 Jul 2017 20:03:29 +0000 (16:03 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 18 Jul 2017 17:13:34 +0000 (13:13 -0400)
Accidentally removed in 9f320e0a387a1009c5218daf130b3b754a3c2800.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index 4df60b698fec51b51a15b825194a84e3d7f3fb84..0bc30027eab2033e37dfc917ab930a94a64d875b 100644 (file)
@@ -971,7 +971,8 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
        if (!util_queue_init(&sscreen->shader_compiler_queue_low_priority,
                             "si_shader_low",
                             32, num_compiler_threads,
-                            UTIL_QUEUE_INIT_RESIZE_IF_FULL)) {
+                            UTIL_QUEUE_INIT_RESIZE_IF_FULL |
+                            UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY)) {
               si_destroy_shader_cache(sscreen);
               FREE(sscreen);
               return NULL;