radeonsi: initialize the per-context compiler on demand
authorMarek Olšák <marek.olsak@amd.com>
Wed, 20 Nov 2019 23:40:46 +0000 (18:40 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Nov 2019 21:48:27 +0000 (16:48 -0500)
commit4675cb2019cdab3f4980e3f98ce243f668092425
treec4e1d217c781ca80f2500fde80b6596babb1896f
parentf671cc4d95eaf9ecfaafb216afeff7dc89f66cbf
radeonsi: initialize the per-context compiler on demand

This takes a noticable amount of time in piglit and some tests don't
need it.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_compute_prim_discard.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_state_shaders.c