Skip to content
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

Conversation

spencer-lunarg
Copy link
Contributor

RADV doesn't support VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR for VK_DESCRIPTOR_TYPE_MUTABLE_EXT and needs to be checked

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner January 31, 2025 13:57
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 361693.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18947 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18947 aborted.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 361903.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18952 running.

@ci-tester-lunarg
Copy link
Collaborator

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) {
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good to know

@spencer-lunarg spencer-lunarg merged commit d1b16eb into KhronosGroup:main Jan 31, 2025
20 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-fix-radv-tests2 branch January 31, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants