i965: Pretend that CCS modified images are two planes
authorBen Widawsky <ben@bwidawsk.net>
Tue, 30 May 2017 11:53:59 +0000 (17:23 +0530)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Aug 2017 17:43:30 +0000 (10:43 -0700)
commit8f6e54c92966bb94a3f05f2cc7ea804273e125ad
tree60f2423925e086106757501b8ad39401cf261312
parenta1e5db98886eea14bb759922523c57f8ba0d8add
i965: Pretend that CCS modified images are two planes

v2: move is_aux into if block. (Jason)
Use else block instead of goto (Jason)

v3: Fix up logic for is_aux (Ben)
Fix up size calculations and add FIXME (Ben)

v4 (Jason Ekstrand):
Use the aux_pitch in the image instead of calculating it

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/intel/isl/isl.h
src/mesa/drivers/dri/i965/intel_screen.c