anv/blorp: Don't sanitize the swizzle for blorp_clear
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 9 Feb 2017 20:00:51 +0000 (12:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Feb 2017 17:24:49 +0000 (09:24 -0800)
commitd49d275c415d60ae08dc3e52d8db11f19a44010f
treecce0de38e6f9f4164666f4c2fc2b8d5bbbf5598e
parente233db6e93e523952577d0314ed68276bda34479
anv/blorp: Don't sanitize the swizzle for blorp_clear

BLORP is now smart enough to handle any swizzle (even those that contain
ZERO or ONE) in a reasonable manner.  Just let BLORP handle it.  This
fixes the following Vulkan CTS tests on Haswell:

 - dEQP-VK.api.image_clearing.clear_color_image.1d_b4g4r4a4_unorm_pack16
 - dEQP-VK.api.image_clearing.clear_color_image.2d_b4g4r4a4_unorm_pack16
 - dEQP-VK.api.image_clearing.clear_color_image.3d_b4g4r4a4_unorm_pack16

Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_blorp.c