i965/gen9: Prepare surface state setup for lossless compression
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 9 Dec 2015 12:44:21 +0000 (14:44 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 12 May 2016 16:49:22 +0000 (19:49 +0300)
commit874c5f05dbc8eca2d14a14f32fdd964808c53b7e
treeccde052139ec4f4cfc82eb1a337e2e033a74e4ec
parenta8544267fd7936885db3b192c85c1b1f488039a4
i965/gen9: Prepare surface state setup for lossless compression

v2 (Ben): Use combination of msaa_layout and number of samples
          instead of introducing explicit type for lossless
          compression (intel_miptree_is_lossless_compressed()).
v3 (Ben): Do not set fast claer state in surface state setup.
          Moved into brw_postdraw_set_buffers_need_resolve()
          using a separate patch.
v4: Support for blorp
v5 (Ben): Re-use gen8_get_aux_mode()

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/gen8_blorp.c
src/mesa/drivers/dri/i965/gen8_surface_state.c