You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
The code is rendering to mipmap levels of an image, using KHR_imageless_framebuffer.
Valid Usage ID
VALIDATION [VUID-VkRenderPassBeginInfo-framebuffer-03212 (-662457290)] : Validation Error: [ VUID-VkRenderPassBeginInfo-framebuffer-03212 ] Object 0: handle = 0x57b9520000000037, type = VK_OBJECT_TYPE_RENDER_PASS; | MessageID = 0xd883b436 | vkCmdBeginRenderPass(): Image view #0 created from an image with height set as 512, but image info #0 used to create the framebuffer had height set as 16 The Vulkan spec states: If framebuffer was created with a VkFramebufferCreateInfo::flags value that included VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT, each element of the pAttachments member of a VkRenderPassAttachmentBeginInfo structure included in the pNext chain must be a VkImageView with a height equal to the height member of the corresponding element of VkFramebufferAttachmentsCreateInfo::pAttachments used to create framebuffer (https://vulkan.lunarg.com/doc/view/1.2.162.1/windows/1.2-extensions/vkspec.html#VUID-VkRenderPassBeginInfo-framebuffer-03212)
object info: (type: RENDER_PASS, hndl: 6321173711944679479)
Environment:
OS: Linux
GPU: AMD Ryzen 3500U
SDK or header version if building from repo: 1.2.162.0
Options enabled (synchronization, best practices, etc.): standard validation
Additional context
The validation message itself is incorrect. It says:
Image view #0 created from an image with height set as 512, but ...
The problem here is that the spec doesn't say anything about the image dimensions. The spec only cares about the image view dimensions. I.e. in VkFramebufferAttachmentImageInfo it says:
width is the width of the image view used for rendering.
height is the height of the image view used for rendering.
The text was updated successfully, but these errors were encountered:
Describe the Issue
The code is rendering to mipmap levels of an image, using
KHR_imageless_framebuffer
.Valid Usage ID
Environment:
Additional context
The validation message itself is incorrect. It says:
The problem here is that the spec doesn't say anything about the image dimensions. The spec only cares about the image view dimensions. I.e. in
VkFramebufferAttachmentImageInfo
it says:The text was updated successfully, but these errors were encountered: