i965/blorp/exec: Refactor to use a new blorp_batch struct
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 15:31:53 +0000 (08:31 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 29 Aug 2016 19:17:34 +0000 (12:17 -0700)
commit9a842c61fe0e8f267072864fd7b916358e21d3f5
tree3b7b3656d3265a1f399e2da2e4d4d780eda9facd
parent4e7bddf8a3ee89852cb6c1e82afc68280864cb93
i965/blorp/exec: Refactor to use a new blorp_batch struct

This gets rid of brw_context throughout the core of the state setup code.
Instead, it is replaced with blorp_batch which contains a pointer to the
blorp_context and a void* that the driver can use for its own blorp data.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/blorp.c
src/mesa/drivers/dri/i965/blorp.h
src/mesa/drivers/dri/i965/genX_blorp_exec.c