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

layers: Fix Layout Set Compatible check #8647

Merged

Conversation

spencer-lunarg
Copy link
Contributor

there were some VUs in #8605 that needed this fix

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner October 3, 2024 21:25
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 270698.

if ((set >= a->set_compat_ids.size()) || (set >= b->set_compat_ids.size())) {
return false;
}
return *(a->set_compat_ids[set]) == *(b->set_compat_ids[set]);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was return a->set_compat_ids[set] == b->set_compat_ids[set]; before which was wrong, it was only checking the shared pointers were different, not that they had different contents

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(plenty of Device Generated Commands tests are coming, they were failing for this reason I learned)

Copy link
Contributor

Choose a reason for hiding this comment

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

This was return a->set_compat_ids[set] == b->set_compat_ids[set]; before which was wrong, it was only checking the shared pointers were different, not that they had different contents

I have dejavu we fixed this some time ago.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17671 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17671 passed.

@spencer-lunarg spencer-lunarg merged commit 16c0528 into KhronosGroup:main Oct 3, 2024
21 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-compat branch October 3, 2024 23: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.

3 participants