-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR
Present When Portability Extension Is Not
#4004
Labels
Comments
For the sake of searches, I'll just mention |
jimblandy
added a commit
to jimblandy/wgpu
that referenced
this issue
Aug 11, 2023
VUID-VkInstanceCreateInfo-flags-06559 forbids us from passing `vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR` unless we actually found and requested the "VK_KHR_portability_enumeration" layer. Fixes gfx-rs#4004.
3 tasks
jimblandy
added a commit
to jimblandy/wgpu
that referenced
this issue
Aug 11, 2023
VUID-VkInstanceCreateInfo-flags-06559 forbids us from passing `vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR` unless we actually found and requested the "VK_KHR_portability_enumeration" layer. Fixes gfx-rs#4004.
jimblandy
added a commit
to jimblandy/wgpu
that referenced
this issue
Aug 12, 2023
VUID-VkInstanceCreateInfo-flags-06559 forbids us from passing `vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR` unless we actually found and requested the "VK_KHR_portability_enumeration" extension. Fixes gfx-rs#4004.
jimblandy
added a commit
to jimblandy/wgpu
that referenced
this issue
Aug 12, 2023
VUID-VkInstanceCreateInfo-flags-06559 forbids us from passing `vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR` unless we actually found and requested the "VK_KHR_portability_enumeration" extension. Fixes gfx-rs#4004.
jimblandy
added a commit
to jimblandy/wgpu
that referenced
this issue
Aug 12, 2023
VUID-VkInstanceCreateInfo-flags-06559 forbids us from passing `vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR` unless we actually found and requested the "VK_KHR_portability_enumeration" extension. Fixes gfx-rs#4004.
It works. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test the suppress-obs-vuid using the latest wgpu (wgpu-hal with Suppress validation error caused by OBS layer (#4002)):
wgpu = { git = "https://github.com/gfx-rs/wgpu.git" }
on Windows 11, Nvidia RTX 3060 with Vulkan backend. Still got a validation error:
VUID-VkInstanceCreateInfo-flags-zerobitmask(ERROR / SPEC): msgNum: 1636402386 - Validation Error: [ VUID-VkInstanceCreateInfo-flags-zerobitmask ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x618984d2 | vkCreateInstance: parameter pCreateInfo->flags must be 0. The Vulkan spec states: flags must be 0 (https://vulkan.lunarg.com/doc/view/1.3.204.1/windows/1.3-extensions/vkspec.html#VUID-VkInstanceCreateInfo-flags-zerobitmask)
However, this error only occurs once, but not on every frame, which is different from the previous error that is logged every frame.
The app runs fine, but this error is still very annoying.
Originally posted by @jack1232 in #4002 (comment)
The text was updated successfully, but these errors were encountered: