radeonsi: use multi-threaded compilation in debug contexts
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Jul 2016 07:28:25 +0000 (09:28 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 8 Jul 2016 08:59:32 +0000 (10:59 +0200)
commit7ffc832ab849a49039f2579dd539c231a9c9c000
tree754c9737909c28a641358509cdae5b9f5834e7e6
parent084ca0d8e51ae0a5cca6cfc7e9d018d0b22b6fb7
radeonsi: use multi-threaded compilation in debug contexts

We only have to stay single-threaded when debug output must be synchronous.
This yields better parallelism in shader-db runs for me.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c