Skip to content

Conversation

@spencer-lunarg
Copy link
Contributor

adds VK_QCOM_multiview_per_view_viewports VUs

there should be dynamic rendering VUs, but waiting on https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/7892 to add them

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner December 5, 2025 21:41
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 594620.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 21878 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 21878 passed.

if (!pipeline.IsDynamic(CB_DYNAMIC_STATE_SCISSOR) && !pipeline.IsDynamic(CB_DYNAMIC_STATE_SCISSOR_WITH_COUNT)) {
for (uint32_t i = 0; i < rp_state.create_info.subpassCount; i++) {
const uint32_t view_mask = rp_state.create_info.pSubpasses[i].viewMask;
const uint32_t msb = (uint32_t)MostSignificantBit(view_mask);
Copy link
Contributor

@artem-lunarg artem-lunarg Dec 6, 2025

Choose a reason for hiding this comment

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

just in case observation: this code assumes that view_mask can't be 0, otherwise msb would be uint32_max and will report confusing error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ya, let me update that, good catch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, looked, I added rp_state->has_multiview_enabled which if true, then zero is not allowed and should be an error to my knowledge

@spencer-lunarg spencer-lunarg force-pushed the spencer-lunarg-qcom-multiview branch from 5d9b634 to 5f28f2d Compare December 6, 2025 20:53
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 595075.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 21882 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 21882 passed.

@spencer-lunarg spencer-lunarg merged commit 2e94023 into KhronosGroup:main Dec 6, 2025
22 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-qcom-multiview branch December 6, 2025 22:14
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