radeonsi/gfx10: unbind NGG shaders when destroyed
authorMarek Olšák <marek.olsak@amd.com>
Wed, 29 May 2019 02:29:08 +0000 (22:29 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
commitcc7875150a5431800e811c31f99979c5a88a6deb
tree096f8cad99b3c026dd28d1b8640c1d3771cae369
parentb90ddff4774485ab7fdea35f20e521bd6c7af695
radeonsi/gfx10: unbind NGG shaders when destroyed

This fixes glsl-max-varyings, which creates shaders, draws, and then
destroys them.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_state_shaders.c