Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
const VkImageAspectFlagBits aspect,
const VkImageLayout layout)
{
const VkImageAspectFlagBits aspect,
const VkImageLayout layout)
{
+ if (INTEL_DEBUG & DEBUG_NO_FAST_CLEAR)
+ return ANV_FAST_CLEAR_NONE;
+
/* The aspect must be exactly one of the image aspects. */
assert(util_bitcount(aspect) == 1 && (aspect & image->aspects));
/* The aspect must be exactly one of the image aspects. */
assert(util_bitcount(aspect) == 1 && (aspect & image->aspects));