intel/isl: Allow non-2D CCS surfaces
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 27 Oct 2016 05:56:53 +0000 (22:56 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Nov 2016 20:03:24 +0000 (12:03 -0800)
commitd7bd8c15d66a438a6680522915f746ce75e8d60c
tree7d619bfd6eea1414c5531d0e309882f2592f3058
parent26c8bb7bc056ee2e5795fa34bcb2a666554b09dd
intel/isl: Allow non-2D CCS surfaces

The CCS calculations in ISL are already correct for 1-D and 3-D CCS
surfaces since they have exactly the same layout as 2-D array surfaces (at
least on Sky Lake).  The only problem was that we weren't passing in the
right dimensionality and we weren't passing in the depth.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/isl/isl.c