anv: fix multi level clears with VK_REMAINING_MIP_LEVELS
authorLionel Landwerlin <llandwerlin@gmail.com>
Mon, 14 Nov 2016 17:26:09 +0000 (17:26 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 14 Nov 2016 17:40:58 +0000 (17:40 +0000)
commita46bc3f70a22a71dc2977f7394841e1b19bb68b6
tree8bfe5cdc1eeb4ba46973dff1581378e881225a18
parent5923088d754d448616678f05ddd27d70760d4534
anv: fix multi level clears with VK_REMAINING_MIP_LEVELS

A commit from the CTS suite on the 1.0-dev branch started using
VK_REMAINING_MIP_LEVELS, we're not dealing with it properly for clears.

Fixes:
   dEQP-VK.api.image_clearing.clear_color_image.*

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_blorp.c