radeonsi: initialize shader compilers in threads on demand
authorMarek Olšák <marek.olsak@amd.com>
Sat, 26 Oct 2019 00:25:59 +0000 (20:25 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 29 Oct 2019 01:36:18 +0000 (21:36 -0400)
commit4d1e43badb94afaba548c61144a6468845b4dd33
treee62f94e0cf5b6526c2b05c96babe2a8f9da223a4
parent1380db9fa8dc5a519a35394ec4fa6e5953e00ffe
radeonsi: initialize shader compilers in threads on demand

It takes a noticable amount of time with piglit.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_shaders.c