From bf56443a1e5f9b1f0de854aac3f24c10c62d0ea5 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Thu, 10 Dec 2015 16:41:22 -0700 Subject: debug_report: Update extension name --- layers/image.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layers/image.cpp') diff --git a/layers/image.cpp b/layers/image.cpp index 15c3ac00..cf7d6302 100644 --- a/layers/image.cpp +++ b/layers/image.cpp @@ -299,7 +299,7 @@ static inline uint32_t validate_VkImageLayoutKHR(VkImageLayout input_value) VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage) { VkBool32 skipCall = VK_FALSE; - VkResult result = VK_ERROR_VALIDATION_FAILED; + VkResult result = VK_ERROR_VALIDATION_FAILED_EXT; VkImageFormatProperties ImageFormatProperties = {0}; layer_data *device_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map); @@ -469,7 +469,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateRenderPass(VkDevice devic } } if (skipCall) - return VK_ERROR_VALIDATION_FAILED; + return VK_ERROR_VALIDATION_FAILED_EXT; VkResult result = my_data->device_dispatch_table->CreateRenderPass(device, pCreateInfo, pAllocator, pRenderPass); @@ -576,7 +576,7 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateImageView(VkDevice device } if (skipCall) - return VK_ERROR_VALIDATION_FAILED; + return VK_ERROR_VALIDATION_FAILED_EXT; VkResult result = device_data->device_dispatch_table->CreateImageView(device, pCreateInfo, pAllocator, pView); return result; -- cgit v1.2.3