radeonsi: don't compile TES and GS draw_vbo variants for the prim discard CS
authorMarek Olšák <marek.olsak@amd.com>
Mon, 24 May 2021 19:43:54 +0000 (15:43 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Jun 2021 19:03:29 +0000 (19:03 +0000)
commita448074d0507e6a225f3ff97a291bac219486252
tree2ec77558bb272415db24dcaee931af37a5967b46
parentb35b5926c9b077087bcfc614ecd4203b710a57aa
radeonsi: don't compile TES and GS draw_vbo variants for the prim discard CS

This also fixes the incorrect emit_draw_packets template argument.
The condition should be inverted.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11102>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.cpp