From 363d9287363775feb7327c1640fd1ac947c2d2a0 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Thu, 13 Feb 2020 14:06:11 -0700 Subject: [PATCH] vulkaninfo: Update VkFormat ranges The vulkan spec deprecated usage of the BEGIN END and RANGE enum values in the vulkan headers, thus necessitating a removal of those features in vulkaninfo. Change-Id: I56998cfddd647865e4078351e30e9687d6449fb9 --- vulkaninfo/vulkaninfo.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h index d5ea32c..c64148c 100644 --- a/vulkaninfo/vulkaninfo.h +++ b/vulkaninfo/vulkaninfo.h @@ -1278,10 +1278,9 @@ struct AppGpu { supported_format_ranges = { { // Standard formats in Vulkan 1.0 - VK_MAKE_VERSION(1, 0, 0), - NULL, - VK_FORMAT_BEGIN_RANGE, - VK_FORMAT_END_RANGE, + VK_MAKE_VERSION(1, 0, 0), NULL, + static_cast(0), // first core VkFormat + static_cast(184) // last core VkFormat }, { // YCBCR extension, standard in Vulkan 1.1 -- 2.7.4