radeonsi/nir: move si_lower_nir() call into compiler thread
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 27 Feb 2019 03:30:29 +0000 (14:30 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 28 Feb 2019 00:54:06 +0000 (11:54 +1100)
commite907337fad51ec2f78b202c65a3a25d6b88ffcd8
treea7d656224b29c61c3d88f4d1d5aa16d2edf1a4d6
parent7536af670b7501228628a8c90f9e8456b5aec9e1
radeonsi/nir: move si_lower_nir() call into compiler thread

This helps improve compile times. For example the shader-db dolphin
shader shaders/dolphin/ubershaders/120.shader_test goes from
~1.69 -> ~1.57 seconds on my machine with this change.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c