radeonsi: allow si_shader_select_with_key to return an optimized shader or fail
authorMarek Olšák <marek.olsak@amd.com>
Tue, 12 Feb 2019 19:38:31 +0000 (14:38 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 16 May 2019 17:10:07 +0000 (13:10 -0400)
commit301344008f9d651676d6cfb4c4a4047c987efa6d
tree87ae6c7135e72268e2678db2a9fd8270d1dc7ac0
parentca9edd7cd06ad53205fe26ead201ba67cefb8f14
radeonsi: allow si_shader_select_with_key to return an optimized shader or fail

If a prim discard compute shader hasn't finished compilation, we don't want
to any shader.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c