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

Fix descriptor info assert during capture #1858

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

ziga-lunarg
Copy link
Contributor

#1644 modified VulkanStateTracker::TrackUpdateDescriptorSetWithTemplate but this assert was left unchanged

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 292809.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5264 running.

Copy link
Contributor

@mikes-lunarg mikes-lunarg left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -1352,6 +1350,11 @@ void VulkanStateTracker::TrackUpdateDescriptorSetWithTemplate(VkDescriptorSet
binding.type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE ||
binding.type == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT;

if (immutable_image)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit picking: this can be one line assert((immutable_image && binding.images != nullptr) || (!immutable_image && binding.storage_images != nullptr)); but that's

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5264 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 292952.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5265 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5265 passed.

@ziga-lunarg ziga-lunarg merged commit d282ad7 into LunarG:dev Nov 1, 2024
9 checks passed
@ziga-lunarg ziga-lunarg deleted the ziga-fix-descriptor-info-assert branch November 1, 2024 20:02
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.

5 participants