radeonsi/gfx9: prevent shader-db crashes
authorMarek Olšák <marek.olsak@amd.com>
Fri, 18 Aug 2017 18:16:03 +0000 (20:16 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 22 Aug 2017 11:29:47 +0000 (13:29 +0200)
commita65afda768f64e2034e400cff5c0cc8dfef1c353
tree5293c42d998e1ccea2e2236f15f083e765181a35
parentfdef2f0fd19ac6f2715a802d1e14b8ddfa094f11
radeonsi/gfx9: prevent shader-db crashes

- don't precompile LS and ES (they don't exist on GFX9), compile as VS instead
- don't precompile HS and GS (we don't have LS and ES parts)

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c