-
Notifications
You must be signed in to change notification settings - Fork 419
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
tests: Check if AS are supported for mutable #9362
tests: Check if AS are supported for mutable #9362
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 361693. |
CI Vulkan-ValidationLayers build # 18947 running. |
CI Vulkan-ValidationLayers build # 18947 aborted. |
CI Vulkan-ValidationLayers build queued with queue ID 361903. |
CI Vulkan-ValidationLayers build # 18952 running. |
CI Vulkan-ValidationLayers build # 18952 passed. |
@@ -572,6 +572,12 @@ TEST_F(PositiveDescriptors, CopyAccelerationStructureMutableDescriptors) { | |||
create_info.bindingCount = bindings.size(); | |||
create_info.pBindings = bindings.data(); | |||
|
|||
VkDescriptorSetLayoutSupport dsl_support = vku::InitStructHelper(); | |||
vk::GetDescriptorSetLayoutSupport(device(), &create_info, &dsl_support); | |||
if (!dsl_support.supported) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed opportunity to blame the driver in the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR
is an optional type for Mutable Descriptors, we (as a bad test) did not check
#7609 would have caught it, but need to get that PR up again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good to know
RADV doesn't support
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR
forVK_DESCRIPTOR_TYPE_MUTABLE_EXT
and needs to be checked