Ticket #11675: validation.txt

File validation.txt, 59.4 KB (added by Maxim Cournoyer, 11 months ago)

Vulkan validation report when running ffplay reproducer with: VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation

Line 
1Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
2vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
3The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
4Objects: 1
5 [0] VkPhysicalDevice 0x4c2dfd0
6
7Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
8vkCreateImage(): pCreateInfo->usage is zero.
9The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
10
11Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
12vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
13The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
14Objects: 1
15 [0] VkPhysicalDevice 0x4c2dfd0
16
17Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
18vkCreateImage(): pCreateInfo->usage is zero.
19The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
20
21Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
22vkCreateImageView(): 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.
23The 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)
24Objects: 1
25 [0] VkImage 0x380000000038
26
27Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
28vkCreateImageView(): 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.
29The 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)
30Objects: 1
31 [0] VkImage 0x380000000038
32
33Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
34vkCreateImageView(): 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.
35The 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)
36Objects: 1
37 [0] VkImage 0x380000000038
38
39Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437
40vkCreateImageView(): 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.
41The 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)
42Objects: 1
43 [0] VkImage 0x380000000038
44
45Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
46vkCreateImageView(): 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.
47The 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)
48Objects: 1
49 [0] VkImage 0x380000000038
50
51Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
52vkCmdPipelineBarrier2(): 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.
53The 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)
54Objects: 1
55 [0] VkImage 0x380000000038
56
57Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
58vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x380000000038 usage flags VkImageUsageFlags(0).
59The 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)
60Objects: 1
61 [0] VkImage 0x380000000038
62
63Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
64vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x380000000038) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT.
65The 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)
66Objects: 1
67 [0] VkImage 0x380000000038
68
69Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
70vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
71The 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)
72Objects: 2
73 [0] VkImageView 0x3f000000003f
74 [1] VkImage 0x380000000038
75
76Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
77vkCmdPipelineBarrier2(): 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.
78The 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)
79Objects: 1
80 [0] VkImage 0x380000000038
81
82Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
83vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x380000000038 usage flags VkImageUsageFlags(0).
84The 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)
85Objects: 1
86 [0] VkImage 0x380000000038
87
88Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
89vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x380000000038) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT.
90The 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)
91Objects: 1
92 [0] VkImage 0x380000000038
93
94Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
95vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
96The 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)
97Objects: 2
98 [0] VkImageView 0x3e000000003e
99 [1] VkImage 0x380000000038
100
101Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
102vkCmdDispatch(): 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
1031. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results.
1042. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature)
105Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
106Objects: 4
107 [0] VkCommandBuffer 0x515fc20
108 [1] VkPipeline 0xbe00000000be
109 [2] VkDescriptorSet 0xab00000000ab
110 [3] VkImageView 0x170000000017
111
112Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
113vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
114The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
115Objects: 1
116 [0] VkPhysicalDevice 0x4c2dfd0
117
118Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
119vkCreateImage(): pCreateInfo->usage is zero.
120The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
121
122Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
123vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
124The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
125Objects: 1
126 [0] VkPhysicalDevice 0x4c2dfd0
127
128Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
129vkCreateImage(): pCreateInfo->usage is zero.
130The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
131
132Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
133vkCreateImageView(): 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.
134The 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)
135Objects: 1
136 [0] VkImage 0xd500000000d5
137
138Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
139vkCreateImageView(): 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.
140The 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)
141Objects: 1
142 [0] VkImage 0xd500000000d5
143
144Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
145vkCreateImageView(): 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.
146The 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)
147Objects: 1
148 [0] VkImage 0xd500000000d5
149
150Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437
151vkCreateImageView(): 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.
152The 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)
153Objects: 1
154 [0] VkImage 0xd500000000d5
155
156Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
157vkCreateImageView(): 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.
158The 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)
159Objects: 1
160 [0] VkImage 0xd500000000d5
161
162Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
163vkCmdPipelineBarrier2(): 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.
164The 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)
165Objects: 1
166 [0] VkImage 0xd500000000d5
167
168Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
169vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xd500000000d5 usage flags VkImageUsageFlags(0).
170The 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)
171Objects: 1
172 [0] VkImage 0xd500000000d5
173
174Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
175vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xd500000000d5) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT.
176The 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)
177Objects: 1
178 [0] VkImage 0xd500000000d5
179
180Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
181vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
182The 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)
183Objects: 2
184 [0] VkImageView 0xdc00000000dc
185 [1] VkImage 0xd500000000d5
186
187Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
188vkCmdPipelineBarrier2(): 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.
189The 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)
190Objects: 1
191 [0] VkImage 0xd500000000d5
192
193Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
194vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xd500000000d5 usage flags VkImageUsageFlags(0).
195The 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)
196Objects: 1
197 [0] VkImage 0xd500000000d5
198
199Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
200vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xd500000000d5) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT.
201The 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)
202Objects: 1
203 [0] VkImage 0xd500000000d5
204
205Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
206vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
207The 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)
208Objects: 2
209 [0] VkImageView 0xdb00000000db
210 [1] VkImage 0xd500000000d5
211
212Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
213vkCmdDispatch(): 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
2141. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results.
2152. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature)
216Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
217Objects: 4
218 [0] VkCommandBuffer 0x50bc780
219 [1] VkPipeline 0xf200000000f2
220 [2] VkDescriptorSet 0xdf00000000df
221 [3] VkImageView 0xc900000000c9
222
223Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
224vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
225The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
226Objects: 1
227 [0] VkPhysicalDevice 0x4c2dfd0
228
229Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
230vkCreateImage(): pCreateInfo->usage is zero.
231The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
232
233Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
234vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
235The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
236Objects: 1
237 [0] VkPhysicalDevice 0x4c2dfd0
238
239Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
240vkCreateImage(): pCreateInfo->usage is zero.
241The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
242
243Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
244vkCreateImageView(): 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.
245The 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)
246Objects: 1
247 [0] VkImage 0xf400000000f4
248
249Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
250vkCreateImageView(): 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.
251The 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)
252Objects: 1
253 [0] VkImage 0xf400000000f4
254
255Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
256vkCreateImageView(): 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.
257The 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)
258Objects: 1
259 [0] VkImage 0xf400000000f4
260
261Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437
262vkCreateImageView(): 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.
263The 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)
264Objects: 1
265 [0] VkImage 0xf400000000f4
266
267Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
268vkCreateImageView(): 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.
269The 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)
270Objects: 1
271 [0] VkImage 0xf400000000f4
272
273Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
274vkCmdPipelineBarrier2(): 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.
275The 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)
276Objects: 1
277 [0] VkImage 0xf400000000f4
278
279Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
280vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xf400000000f4 usage flags VkImageUsageFlags(0).
281The 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)
282Objects: 1
283 [0] VkImage 0xf400000000f4
284
285Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
286vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xf400000000f4) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT.
287The 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)
288Objects: 1
289 [0] VkImage 0xf400000000f4
290
291Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
292vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
293The 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)
294Objects: 2
295 [0] VkImageView 0xfb00000000fb
296 [1] VkImage 0xf400000000f4
297
298Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
299vkCmdPipelineBarrier2(): 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.
300The 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)
301Objects: 1
302 [0] VkImage 0xf400000000f4
303
304Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
305vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xf400000000f4 usage flags VkImageUsageFlags(0).
306The 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)
307Objects: 1
308 [0] VkImage 0xf400000000f4
309
310Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
311vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xf400000000f4) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT.
312The 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)
313Objects: 1
314 [0] VkImage 0xf400000000f4
315
316Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
317vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
318The 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)
319Objects: 2
320 [0] VkImageView 0xfa00000000fa
321 [1] VkImage 0xf400000000f4
322
323Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
324vkCmdDispatch(): 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
3251. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results.
3262. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature)
327Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
328Objects: 4
329 [0] VkCommandBuffer 0x515fc20
330 [1] VkPipeline 0xf200000000f2
331 [2] VkDescriptorSet 0xdf00000000df
332 [3] VkImageView 0xcc00000000cc
333
334Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
335vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
336The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
337Objects: 1
338 [0] VkPhysicalDevice 0x4c2dfd0
339
340Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
341vkCreateImage(): pCreateInfo->usage is zero.
342The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
343
344Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
345vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
346The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
347Objects: 1
348 [0] VkPhysicalDevice 0x4c2dfd0
349
350Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
351vkCreateImage(): pCreateInfo->usage is zero.
352The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
353
354Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
355vkCreateImageView(): 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.
356The 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)
357Objects: 1
358 [0] VkImage 0xfc00000000fc
359
360Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
361vkCreateImageView(): 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.
362The 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)
363Objects: 1
364 [0] VkImage 0xfc00000000fc
365
366Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
367vkCreateImageView(): 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.
368The 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)
369Objects: 1
370 [0] VkImage 0xfc00000000fc
371
372Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437
373vkCreateImageView(): 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.
374The 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)
375Objects: 1
376 [0] VkImage 0xfc00000000fc
377
378Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
379vkCreateImageView(): 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.
380The 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)
381Objects: 1
382 [0] VkImage 0xfc00000000fc
383
384Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
385vkCmdPipelineBarrier2(): 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.
386The 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)
387Objects: 1
388 [0] VkImage 0xfc00000000fc
389
390Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
391vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xfc00000000fc usage flags VkImageUsageFlags(0).
392The 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)
393Objects: 1
394 [0] VkImage 0xfc00000000fc
395
396Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
397vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xfc00000000fc) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT.
398The 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)
399Objects: 1
400 [0] VkImage 0xfc00000000fc
401
402Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
403vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
404The 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)
405Objects: 2
406 [0] VkImageView 0x1030000000103
407 [1] VkImage 0xfc00000000fc
408
409Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
410vkCmdPipelineBarrier2(): 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.
411The 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)
412Objects: 1
413 [0] VkImage 0xfc00000000fc
414
415Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
416vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0xfc00000000fc usage flags VkImageUsageFlags(0).
417The 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)
418Objects: 1
419 [0] VkImage 0xfc00000000fc
420
421Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
422vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0xfc00000000fc) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT.
423The 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)
424Objects: 1
425 [0] VkImage 0xfc00000000fc
426
427Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
428vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
429The 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)
430Objects: 2
431 [0] VkImageView 0x1020000000102
432 [1] VkImage 0xfc00000000fc
433
434Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
435vkCmdDispatch(): 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
4361. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results.
4372. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature)
438Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
439Objects: 4
440 [0] VkCommandBuffer 0x50bc780
441 [1] VkPipeline 0xf200000000f2
442 [2] VkDescriptorSet 0xdf00000000df
443 [3] VkImageView 0xcf00000000cf
444
445Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
446vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
447The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
448Objects: 1
449 [0] VkPhysicalDevice 0x4c2dfd0
450
451Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
452vkCreateImage(): pCreateInfo->usage is zero.
453The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
454
455Validation Error: [ VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask ] | MessageID = 0x61dbadc8
456(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
457vkGetPhysicalDeviceImageFormatProperties2(): pImageFormatInfo->usage is zero.
458The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/capabilities.html#VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask)
459Objects: 1
460 [0] VkPhysicalDevice 0x4c2dfd0
461
462Validation Error: [ VUID-VkImageCreateInfo-usage-requiredbitmask ] | MessageID = 0x34d7a349
463(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
464vkCreateImage(): pCreateInfo->usage is zero.
465The Vulkan spec states: usage must not be 0 (https://docs.vulkan.org/spec/latest/chapters/resources.html#VUID-VkImageCreateInfo-usage-requiredbitmask)
466
467Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
468vkCreateImageView(): 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.
469The 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)
470Objects: 1
471 [0] VkImage 0x1040000000104
472
473Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
474vkCreateImageView(): 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.
475The 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)
476Objects: 1
477 [0] VkImage 0x1040000000104
478
479Validation Error: [ VUID-VkImageViewCreateInfo-image-04441 ] | MessageID = 0xb75da543
480(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
481vkCreateImageView(): 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.
482The 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)
483Objects: 1
484 [0] VkImage 0x1040000000104
485
486Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] | MessageID = 0x6516b437
487vkCreateImageView(): 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.
488The 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)
489Objects: 1
490 [0] VkImage 0x1040000000104
491
492Validation Error: [ VUID-VkImageViewCreateInfo-subresourceRange-09594 ] | MessageID = 0xf91af181
493(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
494vkCreateImageView(): 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.
495The 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)
496Objects: 1
497 [0] VkImage 0x1040000000104
498
499Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
500vkCmdPipelineBarrier2(): 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.
501The 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)
502Objects: 1
503 [0] VkImage 0x1040000000104
504
505Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
506vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x1040000000104 usage flags VkImageUsageFlags(0).
507The 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)
508Objects: 1
509 [0] VkImage 0x1040000000104
510
511Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
512vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x1040000000104) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_1_BIT.
513The 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)
514Objects: 1
515 [0] VkImage 0x1040000000104
516
517Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
518vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
519The 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)
520Objects: 2
521 [0] VkImageView 0x10b000000010b
522 [1] VkImage 0x1040000000104
523
524Validation Error: [ VUID-VkImageMemoryBarrier2-subresourceRange-09601 ] | MessageID = 0x48666487
525(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
526vkCmdPipelineBarrier2(): 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.
527The 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)
528Objects: 1
529 [0] VkImage 0x1040000000104
530
531Validation Error: [ VUID-VkImageMemoryBarrier2-oldLayout-01211 ] | MessageID = 0x81a3e635
532(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
533vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].newLayout (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) is not compatible with VkImage 0x1040000000104 usage flags VkImageUsageFlags(0).
534The 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)
535Objects: 1
536 [0] VkImage 0x1040000000104
537
538Validation Error: [ VUID-VkImageMemoryBarrier2-image-09241 ] | MessageID = 0x7d116ce4
539(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
540vkCmdPipelineBarrier2(): pDependencyInfo->pImageMemoryBarriers[0].image (VkImage 0x1040000000104) has color format VK_FORMAT_R8_UNORM, but its aspectMask is VK_IMAGE_ASPECT_PLANE_0_BIT.
541The 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)
542Objects: 1
543 [0] VkImage 0x1040000000104
544
545Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00337 ] | MessageID = 0x95f3717f
546(Warning - This VUID has now been reported 10 times, which is the duplicated_message_limit value, this will be the last time reporting it).
547vkUpdateDescriptorSets(): pDescriptorWrites[0].pImageInfo[0].imageView was created with VkImageUsageFlags(0), but descriptorType is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER.
548The 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)
549Objects: 2
550 [0] VkImageView 0x10a000000010a
551 [1] VkImage 0x1040000000104
552
553Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
554vkCmdDispatch(): 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
5551. Set your ImageView to VK_FORMAT_R8G8B8A8_UNORM and swizzle the values in the shader to match the desired results.
5562. Use the Unknown format in your shader (will need the widely supported shaderStorageImageWriteWithoutFormat feature)
557Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
558Objects: 4
559 [0] VkCommandBuffer 0x515fc20
560 [1] VkPipeline 0xf200000000f2
561 [2] VkDescriptorSet 0xdf00000000df
562 [3] VkImageView 0xd200000000d2
563