st/mesa: fix a crash due to passing a draw vertex shader into the driver
authorMarek Olšák <marek.olsak@amd.com>
Sat, 11 Apr 2020 22:06:27 +0000 (18:06 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 13:31:46 +0000 (13:31 +0000)
commit80797edd7193409d0109d4d3378dd1b8d2597f80
tree994ef64819461af5f252b4fb0b6afe03cb727fde
parent7a794b1de40df87edc359a36d14e214daa1bfe60
st/mesa: fix a crash due to passing a draw vertex shader into the driver

Fixes: bc99b22a305be5e5a5f
Closes: #2754
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4527>
src/mesa/state_tracker/st_atom_shader.c