anv: disallow VK_REMAINING_ARRAY_LAYERS in vkCmdClearAttachments()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 19 Dec 2017 07:59:36 +0000 (08:59 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 20 Dec 2017 05:55:41 +0000 (06:55 +0100)
commita31f0c4a363d18d860f8f5db165fa200f9c01d42
tree6fd83fc67a5ea8e5033456f97cf67dee0087e0ad
parent0cf6320eb5eca1ea20906624ad5a46ca386e0aa6
anv: disallow VK_REMAINING_ARRAY_LAYERS in vkCmdClearAttachments()

Vulkan spec doesn't specify that VK_REMAINING_ARRAY_LAYERS is allowed
in the passed VkClearRect struct.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_blorp.c