anv/cmd_buffer: Disable CCS on BDW input attachments
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 13 Apr 2017 16:52:31 +0000 (09:52 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 17 Apr 2017 23:47:38 +0000 (16:47 -0700)
commitd9d793696bf54e970491302605a1efd0aa182d1b
tree4d10d7eba6a0e5ac6d697e3821d4e74b60f8796b
parentd71efbe5f2a0ff934b8e9eeb96cd680a83bc0259
anv/cmd_buffer: Disable CCS on BDW input attachments

The description under RENDER_SURFACE_STATE::RedClearColor says,

   For Sampling Engine Multisampled Surfaces and Render Targets:
    Specifies the clear value for the red channel.
   For Other Surfaces:
    This field is ignored.

This means that the sampler on BDW doesn't support CCS.

Cc: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/genX_cmd_buffer.c