intel/isl: Only create a CCS buffer if the image supports rendering
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 6 Mar 2017 22:27:44 +0000 (14:27 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 26 Jun 2017 18:09:12 +0000 (11:09 -0700)
commit8aaa13467dc289d35dc7900ab9fab9a7689c4178
treec4f0ed3a9828817dfd95f166b85dda10ec2d2398
parentb9343301913f8d47d175b25d57ec2a0561f5eb6f
intel/isl: Only create a CCS buffer if the image supports rendering

v2: Omit the commit message.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl.c