radeonsi: don't allow draw calls with uninitialized VS inputs
authorMarek Olšák <marek.olsak@amd.com>
Tue, 7 Jan 2020 23:16:59 +0000 (18:16 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 13 Jan 2020 20:57:07 +0000 (15:57 -0500)
commit312e04689a9d8d4f9c319e69c61220e10653cfcd
tree42ccc991fccaa0d820a67e6d59ad9035acd608b0
parentc278c73f135e3b6c89253ffe34ad18147097e9d0
radeonsi: don't allow draw calls with uninitialized VS inputs

These always hang, because vertex buffer descriptors are not set up.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c