From: Joshua Ashton Date: Fri, 17 Apr 2020 02:53:47 +0000 (+0100) Subject: Replace LAST with MAX_ENUM in mapBorderColor X-Git-Tag: upstream/1.3.5~1414 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3197a73a0dede549952bce428b2c904084f7a4c;p=platform%2Fupstream%2FVK-GL-CTS.git Replace LAST with MAX_ENUM in mapBorderColor Fixes compilation errors with the newer headers. Affected tests: dEQP-VK.pipeline.sampler.*border* Components: Vulkan VK-GL-CTS issue: 2332 Change-Id: I757017612045666de53b8a09691eed27587503df --- diff --git a/external/vulkancts/framework/vulkan/vkImageUtil.cpp b/external/vulkancts/framework/vulkan/vkImageUtil.cpp index ad3b767..61d22d5 100644 --- a/external/vulkancts/framework/vulkan/vkImageUtil.cpp +++ b/external/vulkancts/framework/vulkan/vkImageUtil.cpp @@ -3492,7 +3492,7 @@ static VkBorderColor mapBorderColor (tcu::TextureChannelClass channelClass, cons } DE_FATAL("Unsupported border color"); - return VK_BORDER_COLOR_LAST; + return VK_BORDER_COLOR_MAX_ENUM; } VkSamplerCreateInfo mapSampler (const tcu::Sampler& sampler, const tcu::TextureFormat& format, float minLod, float maxLod, bool unnormal)