-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix descriptor info assert during capture #1858
Conversation
CI gfxreconstruct build queued with queue ID 292809. |
CI gfxreconstruct build # 5264 running. |
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.
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) |
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.
Nit picking: this can be one line assert((immutable_image && binding.images != nullptr) || (!immutable_image && binding.storage_images != nullptr));
but that's
CI gfxreconstruct build # 5264 passed. |
CI gfxreconstruct build queued with queue ID 292952. |
CI gfxreconstruct build # 5265 running. |
CI gfxreconstruct build # 5265 passed. |
#1644 modified
VulkanStateTracker::TrackUpdateDescriptorSetWithTemplate
but this assert was left unchanged