st/mesa: use a separate VS variant for the draw module
authorMarek Olšák <marek.olsak@amd.com>
Thu, 28 Nov 2019 03:25:00 +0000 (22:25 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 Dec 2019 02:09:28 +0000 (21:09 -0500)
commitbc99b22a305be5e5a5f8fdbf57105d220cf4b0ab
treef4b8744c4f4bd8dbe9b618fa01bb3f147c86d86d
parent17e8839a2f2522e7d8cc6b18f17b782ded05cbd3
st/mesa: use a separate VS variant for the draw module

instead of keeping the IR indefinitely in st_vp_variant.

This trivially fixes Selection/Feedback/RasterPos for NIR.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h