Validation Error: [ VUID-VkImageViewCreateInfo-image-01761 ] Objects: VkImage 0x1520000000152[Committed Texture (zeroed) (cookie 648)] | MessageID = 0x263ae757
vkCreateImageView(): pCreateInfo->format VK_FORMAT_R8_UINT is not in the same format compatibility class as VkImage 0x1520000000152[Committed Texture (zeroed) (cookie 648)] format VK_FORMAT_A8_UNORM. Images created with the VK_IMAGE_CREATE_MUTABLE_FORMAT BIT can support ImageViews with differing formats but they must be in the same compatibility class.
The Vulkan spec states: If image was created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, but without the VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag, and if the format of the image is not a multi-planar format, format must be compatible with the format used to create image, as defined in Format Compatibility Classes (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageViewCreateInfo-image-01761)
Happens when trying to clear A8_UNORM UINT, which gets resolved to R8_UINT, which isn't compat. We should rewrite A8 uint clear to normal float since it's trivial.
Happens when trying to clear A8_UNORM UINT, which gets resolved to R8_UINT, which isn't compat. We should rewrite A8 uint clear to normal float since it's trivial.