radeonsi: add radeonsi_sync_compile option
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 25 Mar 2019 14:44:45 +0000 (15:44 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 25 Apr 2019 10:35:29 +0000 (12:35 +0200)
commit9445a4ab43939f78ecf1958db94bc80b276c4652
tree425ae4d30bb7f90d6248dbad15d0ddbccb573636
parentca95adf8ff0986ae4b40aeb9afb13e02f7e88f98
radeonsi: add radeonsi_sync_compile option

Force the driver thread to sync immediately with a compiler thread (but
compilation still happens in a separate thread).

This can be useful to simplify debugging compiler issues.

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