iris: Use shader_info rather than vs_prog_data for draw parameter checks
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 27 Jan 2021 02:00:29 +0000 (18:00 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 01:24:14 +0000 (01:24 +0000)
commitddfdd944688eeb3a8a71e33635e8468cf0d6c65e
treea9e788f7798026b19ae93a9bf05a61598579f885
parentd938fcefb96fb86486255988f79ef72d987cd907
iris: Use shader_info rather than vs_prog_data for draw parameter checks

brw_compile_vs sets the vs_prog_data fields based on the NIR program's
system values read info field.  We can use that directly, enabling more
cleanups in the next patches.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8759>
src/gallium/drivers/iris/iris_program.c