i965: Support images with aux buffers
authorBen Widawsky <ben@bwidawsk.net>
Tue, 30 May 2017 11:53:50 +0000 (17:23 +0530)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:43:30 +0000 (10:43 -0700)
commitf6fbeaf1c46ce1d7fd73664022cfff43e40e46b7
tree290b8e81b80dc72d6137b9554403149dc9fe006e
parentcf2e92262b48223b6be0e12a64083770281c15c8
i965: Support images with aux buffers

Previously images did not support any auxiliary compression surfaces
(CCS, MCS, or HiZ).  That's about to change.  This patch just adds the
fields to __DRIimageRec to make auxiliary surfaces possible.

v2 (Jason Ekstrand):
 - Add an aux_pitch parameter as well as aux_offset

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/intel_image.h