出现 validation layer error
Describe the bug | Bug描述 运行出现如下错误

Desktop | 桌面环境
- mac m1
Please provide the OS version and the Xcode version?
validation layer: Validation Error: [ VUID-vkCmdDraw-magFilter-04553 ] Object 0: handle = 0x8f5f070000000095, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; Object 1: handle = 0xce045c0000000096, type = VK_OBJECT_TYPE_SAMPLER; Object 2: handle = 0xb097c90000000027, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x6b4ef9a3 | Descriptor set VkDescriptorSet 0x8f5f070000000095[] encountered the following validation error at vkCmdDraw time: Sampler (VkSampler 0xce045c0000000096[]) is set to use VK_FILTER_LINEAR with compareEnable is set to VK_TRUE, but image view's (VkImageView 0xb097c90000000027[]) format (VK_FORMAT_R32G32B32_SFLOAT) does not contain VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT in its format features. The Vulkan spec states: If a VkSampler created with magFilter or minFilter equal to VK_FILTER_LINEAR and compareEnable equal to VK_FALSE is used to sample a VkImageView as a result of this command, then the image view's format features must contain VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT (https://vulkan.lunarg.com/doc/view/1.2.198.1/windows/1.2-extensions/vkspec.html#VUID-vkCmdDraw-magFilter-04553)
我也遇到了同样的问题 运行后控制台信息: validation layer: Validation Error: [ VUID-VkDeviceCreateInfo-pProperties-04451 ] Object 0: handle = 0x60000393b360, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x3a3b6ca0 | vkCreateDevice: VK_KHR_portability_subset must be enabled because physical device VkPhysicalDevice 0x60000393b360[] supports it The Vulkan spec states: If the VK_KHR_portability_subset extension is included in pProperties of vkEnumerateDeviceExtensionProperties, ppEnabledExtensions must include "VK_KHR_portability_subset" (https://vulkan.lunarg.com/doc/view/1.2.198.1/mac/1.2-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pProperties-04451) [1] 74365 segmentation fault ./bin/PilotEditor
相关设备信息: macOS 12.4 Xcode 13.4(13F17a)