iris: Move VS draw parameter dirty flagging to iris_bind_vs_state
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 27 Jan 2021 02:27:00 +0000 (18:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 01:24:14 +0000 (01:24 +0000)
commit97fbe2d45f989dc6197c206205347e53c97a81d6
tree2d82f9ae6bfc952882f3a97f31428f8381cd86bd
parentfdbb5d4dd9af52d34ac8e87b02e4376b312785c2
iris: Move VS draw parameter dirty flagging to iris_bind_vs_state

Now that we're looking at shader info system values rather than
vs_prog_data, there's no reason we have to do this when updating
the shader variants.  We can simply check it when binding a new
shader from the API point of view.

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