Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0x380000000038) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0x380000000038) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437 vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8G8_UNORM is different from VkImage 0x380000000038 format (VK_FORMAT_R8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01762) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x380000000038 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x380000000038) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x3f000000003f [1] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x380000000038 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x380000000038) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0x380000000038 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x3e000000003e [1] VkImage 0x380000000038 Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2 vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0xab00000000ab, Set 0, Binding 3, Index 0] is accessed by a OpTypeImage that has a Format operand Rgba8 (equivalent to VK_FORMAT_R8G8B8A8_UNORM) which doesn't match the VkImageView 0x170000000017 format (VK_FORMAT_B8G8R8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed). While the formats are compatible, Storage Images must exactly match. Few ways to resolve this are 1. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results. 2. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature) Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation Objects: 4 [0] VkCommandBuffer 0x515fc20 [1] VkPipeline 0xbe00000000be [2] VkDescriptorSet 0xab00000000ab [3] VkImageView 0x170000000017 Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xd500000000d5) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xd500000000d5) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437 vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8G8_UNORM is different from VkImage 0xd500000000d5 format (VK_FORMAT_R8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01762) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xd500000000d5 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xd500000000d5) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0xdc00000000dc [1] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xd500000000d5 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xd500000000d5) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xd500000000d5 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0xdb00000000db [1] VkImage 0xd500000000d5 Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2 vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0xdf00000000df, Set 0, Binding 4, Index 0] is accessed by a OpTypeImage that has a Format operand Rgba8 (equivalent to VK_FORMAT_R8G8B8A8_UNORM) which doesn't match the VkImageView 0xc900000000c9 format (VK_FORMAT_B8G8R8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed). While the formats are compatible, Storage Images must exactly match. Few ways to resolve this are 1. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results. 2. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature) Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation Objects: 4 [0] VkCommandBuffer 0x50bc780 [1] VkPipeline 0xf200000000f2 [2] VkDescriptorSet 0xdf00000000df [3] VkImageView 0xc900000000c9 Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xf400000000f4) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xf400000000f4) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437 vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8G8_UNORM is different from VkImage 0xf400000000f4 format (VK_FORMAT_R8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01762) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xf400000000f4 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xf400000000f4) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0xfb00000000fb [1] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xf400000000f4 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xf400000000f4) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xf400000000f4 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0xfa00000000fa [1] VkImage 0xf400000000f4 Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2 vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0xdf00000000df, Set 0, Binding 4, Index 0] is accessed by a OpTypeImage that has a Format operand Rgba8 (equivalent to VK_FORMAT_R8G8B8A8_UNORM) which doesn't match the VkImageView 0xcc00000000cc format (VK_FORMAT_B8G8R8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed). While the formats are compatible, Storage Images must exactly match. Few ways to resolve this are 1. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results. 2. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature) Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation Objects: 4 [0] VkCommandBuffer 0x515fc20 [1] VkPipeline 0xf200000000f2 [2] VkDescriptorSet 0xdf00000000df [3] VkImageView 0xcc00000000cc Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xfc00000000fc) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0xfc00000000fc) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437 vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8G8_UNORM is different from VkImage 0xfc00000000fc format (VK_FORMAT_R8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01762) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xfc00000000fc usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xfc00000000fc) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x1030000000103 [1] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xfc00000000fc usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xfc00000000fc) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0xfc00000000fc Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x1020000000102 [1] VkImage 0xfc00000000fc Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2 vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0xdf00000000df, Set 0, Binding 4, Index 0] is accessed by a OpTypeImage that has a Format operand Rgba8 (equivalent to VK_FORMAT_R8G8B8A8_UNORM) which doesn't match the VkImageView 0xcf00000000cf format (VK_FORMAT_B8G8R8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed). While the formats are compatible, Storage Images must exactly match. Few ways to resolve this are 1. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results. 2. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature) Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation Objects: 4 [0] VkCommandBuffer 0x50bc780 [1] VkPipeline 0xf200000000f2 [2] VkDescriptorSet 0xdf00000000df [3] VkImageView 0xcf00000000cf Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask) Objects: 1 [0] VkPhysicalDevice 0x4c2dfd0 Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCreateImage(): pCreateInfo->usage is zero. The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask) Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 vkCreateImageView(): pCreateInfo->image (VkImage 0x1040000000104) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCreateImageView(): pCreateInfo->image (VkImage 0x1040000000104) was created with VkImageUsageFlags(0) but requires VK_IMAGE_USAGE_SAMPLED_BIT|VK_IMAGE_USAGE_STORAGE_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT|VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT|VK_IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR|VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT|VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR|VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR|VK_IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOM|VK_IMAGE_USAGE_SAMPLE_BLOCK_MATCH_BIT_QCOM|VK_IMAGE_USAGE_VIDEO_ENCODE_QUANTIZATION_DELTA_MAP_BIT_KHR|VK_IMAGE_USAGE_VIDEO_ENCODE_EMPHASIS_MAP_BIT_KHR. The Vulkan spec states: image must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image views (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-04441) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437 vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8G8_UNORM is different from VkImage 0x1040000000104 format (VK_FORMAT_R8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01762) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCreateImageView(): Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-subresourceRange-09594) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_1_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x1040000000104 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x1040000000104) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x10b000000010b [1] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image Using format (VK_FORMAT_R8_UNORM) with aspect flags (VK_IMAGE_ASPECT_PLANE_0_BIT) but color image formats must have the VK_IMAGE_ASPECT_COLOR_BIT set. The Vulkan spec states: subresourceRange.aspectMask must be valid for the format the image was created with (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-subresourceRange-09601) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x1040000000104 usage flags VkImageUsageFlags(0). The Vulkan spec states: If srcQueueFamilyIndex and dstQueueFamilyIndex define a queue family ownership transfer or oldLayout and newLayout define an image layout transition, and oldLayout or newLayout is VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL then image must have been created with VK_IMAGE_USAGE_SAMPLED_BIT or VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-oldLayout-01211) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4 (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x1040000000104) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT. The Vulkan spec states: If image has a color format that is single-plane, then the aspectMask member of subresourceRange must be VK_IMAGE_ASPECT_COLOR_BIT (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-VkImageMemoryBarrier2-image-09241) Objects: 1 [0] VkImage 0x1040000000104 Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f (Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it). vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER. The Vulkan spec states: If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the imageView member of each element of pImageInfo must have been created with VK_IMAGE_USAGE_SAMPLED_BIT set (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-descriptorType-00337) Objects: 2 [0] VkImageView 0x10a000000010a [1] VkImage 0x1040000000104 Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2 vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0xdf00000000df, Set 0, Binding 4, Index 0] is accessed by a OpTypeImage that has a Format operand Rgba8 (equivalent to VK_FORMAT_R8G8B8A8_UNORM) which doesn't match the VkImageView 0xd200000000d2 format (VK_FORMAT_B8G8R8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed). While the formats are compatible, Storage Images must exactly match. Few ways to resolve this are 1. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results. 2. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature) Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation Objects: 4 [0] VkCommandBuffer 0x515fc20 [1] VkPipeline 0xf200000000f2 [2] VkDescriptorSet 0xdf00000000df [3] VkImageView 0xd200000000d2