iris: Fix key->input_vertices for 8_PATCH TCS mode.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 7 Jul 2019 23:48:10 +0000 (16:48 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Jul 2019 08:18:24 +0000 (01:18 -0700)
commita01770b9c878b6b95875ef60146ce4ee5e4cfd54
tree38c2d9c26db73475ebda21d4a041149f91a19e0b
parentc58f52f0ef39db7ca6574381931203f435b03280
iris: Fix key->input_vertices for 8_PATCH TCS mode.

We were failing to flag the program dirty when it changed.  Also, we
were unnecessarily setting key->input_vertices for SINGLE_PATCH mode,
which would reduce program cache hits.  Only set it if needed.
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_program.c