radeonsi: require that compiler threads are enabled
authorMarek Olšák <marek.olsak@amd.com>
Thu, 2 Mar 2017 23:24:03 +0000 (00:24 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 17 Mar 2017 17:30:21 +0000 (18:30 +0100)
commite9c6953ddb6baa68ef4704104744934e194c089d
tree6a7c251cdf10ffb83331096fd105356f995c1203
parent080f322f06e05b0813f3753898e48dbc72b35a13
radeonsi: require that compiler threads are enabled

threaded gallium can't use pipe_context's LLVM target machine, because
create_shader_selector can be called from a non-driver thread.

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