iris: Use state_refs for draw parameters.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Sep 2019 03:12:33 +0000 (20:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Sep 2019 05:50:52 +0000 (22:50 -0700)
commit6841f11d1417c15f96276aaf53b92d0f5c998865
tree396d901cdc2818b2e83f565d9871bc48b7bdc952
parentddd314f0cecb89004980618ac40171a079f324fe
iris: Use state_refs for draw parameters.

iris_state_ref is a <resource, offset> tuple, which is exactly what we
need here.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_state.c