ERROR wgpu_hal::vulkan::instance: #8825
Unanswered
HarveyUmbra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am learn Bevy and my english is bad.
My Problem:
I am creat this code
When I start my project with cargo run, I get a window like it should but also this error message:
2023-06-12T07:20:13.022608Z ERROR wgpu_hal::vulkan::instance: objects: (type: RENDER_PASS, hndl: 0x8168780000000092, name: ?)
2023-06-12T07:20:13.037198Z ERROR wgpu_hal::vulkan::instance: VALIDATION [VUID-VkRenderPassBeginInfo-framebuffer-04627 (0x45125641)]
Validation Error: [ VUID-VkRenderPassBeginInfo-framebuffer-04627 ] Object 0: handle = 0x8168780000000092, type = VK_OBJECT_TYPE_RENDER_PASS; |
MessageID = 0x45125641 | vkCmdBeginRenderPass: Image view #0 created from an image with usage set as (VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) but using VkImageViewUsageCreateInfo the inherited usage is the subset (VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) and the image info #0
used to create the framebuffer had usage set as (VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT). 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 an inherited usage equal to the usage member of the corresponding element of VkFramebufferAttachmentsCreateInfo::pAttachmentImageInfos used to create framebuffer (https://vulkan.lunarg.com/doc/view/1.3.243.0/windows/1.3-extensions/vkspec.html#VUID-VkRenderPassBeginInfo-framebuffer-04627)
I tried to solve the problem with a vulcanSDK update. But it did not work.
I am currently working with VulcanSDK 1.3.250.0.
It would help me to understand the error message better.
Thanks for help
Beta Was this translation helpful? Give feedback.
All reactions