iris: Refactor code to share 3DSTATE_URB_* packet
authorSagar Ghuge <sagar.ghuge@intel.com>
Wed, 6 Mar 2019 21:27:28 +0000 (13:27 -0800)
committerSagar Ghuge <sagar.ghuge@intel.com>
Fri, 8 Mar 2019 18:01:39 +0000 (10:01 -0800)
commitd0a8fba69a300824ac83c8dad7985fe31885aef3
tree7c1127dda70a8996fd09e41afcc69e67542d6810
parent6e3d3f5b2c90ed79de85f69d4e0cc9b1b0760158
iris: Refactor code to share 3DSTATE_URB_* packet

v2: 1) Set IRIS_DIRTY_URB bit (Caio)
    2) Get rid of unnecessary function (Caio)

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Suggested-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_blorp.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_state.c