I've got the error [VUID-vkGetPhysicalDeviceFormatProperties-format-parameter] from validation layers in the vulkan backend in vk_utils_caps_builder function. After this issue investigating I've found out that source of this problem is checking VK_FORMAT_PVRTC1 formats. Thay are treated as invalid. I've wrote the request to https://github.com/KhronosGroup/Vulkan-ValidationLayers and got the answer:
this error occurs because you don't have the VK_IMG_format_pvrtc enabled. Without enabling an extensions, the use of extended enums (such as VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG) are invalid according the spec
Because VK_IMG_format_pvrtc is not used in The Forge I think that fixed version of vk_utils_caps_builder should be:
I've got the error [VUID-vkGetPhysicalDeviceFormatProperties-format-parameter] from validation layers in the vulkan backend in vk_utils_caps_builder function. After this issue investigating I've found out that source of this problem is checking VK_FORMAT_PVRTC1 formats. Thay are treated as invalid. I've wrote the request to https://github.com/KhronosGroup/Vulkan-ValidationLayers and got the answer:
Because VK_IMG_format_pvrtc is not used in The Forge I think that fixed version of vk_utils_caps_builder should be: