i965: Replace boolean rb surface state setup argument with flags
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 5 Sep 2016 12:14:11 +0000 (15:14 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 12 Sep 2016 05:58:38 +0000 (08:58 +0300)
commit1f51217d99e7eb70a62b2611cd1b70f9b5a40fcf
tree2327236df7488a06cf890193544e5f184df2ac4a
parent1634a4963c64d84da89ce47ba01828a7fc22d22a
i965: Replace boolean rb surface state setup argument with flags

And add plumbing to provide it all the way to surface state emitter.
This is not used yet but will be in subsequent patches to carry
additional constraints.

v2 (Jason): Use uint32_t instead of int as the type

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