Skip to content

Conversation

@vkushwaha-nv
Copy link
Contributor

tests: Fix some VUIDs and added more PTLAS coverage

@vkushwaha-nv vkushwaha-nv requested a review from a team as a code owner January 29, 2026 18:01
@ci-tester-lunarg
Copy link
Collaborator

Author vkushwaha-nv not on autobuild list. Waiting for curator authorization before starting CI build.

@vkushwaha-nv
Copy link
Contributor Author

Adding @spencer-lunarg for review.

command_info.srcInfosCount = count_buffer_address;

m_command_buffer.Begin();
m_errorMonitor->SetDesiredError("VUID-VkBuildPartitionedAccelerationStructureInfoNV-dstAccelerationStructureData-10561");
Copy link
Contributor

Choose a reason for hiding this comment

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

now we have no test testing 10561 ... please add one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, is it needed? We have "m_errorMonitor->SetDesiredError("VUID-VkBuildPartitionedAccelerationStructureInfoNV-dstAccelerationStructureData-parameter");"

That should trigger if dstAccelerationStructureData is 0

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess what I am trying to say is if we can't write a test for 10561, but are still trying to validate it, something is wrong

I agree looking at the spec now these just seem like extra, redundant VUs... I will make a spec MR and allow this tests as they are now

command_info.scratchData = 0;
m_command_buffer.Begin();
// scratchData must not be NULL
m_errorMonitor->SetDesiredError("VUID-VkBuildPartitionedAccelerationStructureInfoNV-scratchData-10558");
Copy link
Contributor

Choose a reason for hiding this comment

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

now we need another test to test 10558

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same thing with "m_errorMonitor->SetDesiredError("VUID-VkBuildPartitionedAccelerationStructureInfoNV-scratchData-parameter"

@ci-tester-lunarg
Copy link
Collaborator

Author vkushwaha-nv not on autobuild list. Waiting for curator authorization before starting CI build.

@ci-tester-lunarg
Copy link
Collaborator

Author vkushwaha-nv not on autobuild list. Waiting for curator authorization before starting CI build.

tests: Fix some VUIDs and added more PTLAS coverage
@ci-tester-lunarg
Copy link
Collaborator

Author vkushwaha-nv not on autobuild list. Waiting for curator authorization before starting CI build.

RETURN_IF_SKIP(InitBasicDescriptorHeap());

const VkDeviceSize descriptor_size =
vk::GetPhysicalDeviceDescriptorSizeEXT(gpu_, VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV);
Copy link
Contributor

Choose a reason for hiding this comment

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

CI is failing because in test_icd.cpp there is a GetPhysicalDeviceDescriptorSizeEXT implementation that is just missing VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV from it

Copy link
Contributor

Choose a reason for hiding this comment

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

pushed the fix, want to get this in tonight, tomorrow morning is cut off for SDK

@ci-tester-lunarg
Copy link
Collaborator

Author vkushwaha-nv not on autobuild list. Waiting for curator authorization before starting CI build.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 635934.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 22323 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 22323 failed.

@spencer-lunarg spencer-lunarg merged commit 12af9b6 into KhronosGroup:main Jan 30, 2026
21 of 22 checks passed
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