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: Remove duplicate DescriptorSetLayoutDef compare #8842

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spencer-lunarg
Copy link
Contributor

We had 2 operator==(const DescriptorSetLayoutDef &lhs, const DescriptorSetLayoutDef &rhs) and removes the one from the header

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner November 11, 2024 15:06
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 299927.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17974 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17974 failed.

@spencer-lunarg spencer-lunarg changed the title layers: Move DescriptorSetLayoutDef to source file layers: Remove duplicate DescriptorSetLayoutDef compare Nov 11, 2024
@spencer-lunarg spencer-lunarg force-pushed the spencer-lunarg-compare-source branch from ca3bd0e to 26b4eff Compare November 11, 2024 15:41
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 300036.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17976 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17976 failed.

// Compare is in header and static because hash_util KeyValueEqual need the symbol at compile time
//
// https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/8497
// This just checks pointers, but two different VkSampler handles could be created with same createInfo.
Copy link
Contributor

Choose a reason for hiding this comment

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

This part of the comment seems out of place now

return false;
}
if (l.pImmutableSamplers) {
Copy link
Contributor

Choose a reason for hiding this comment

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

you still need to check for l.pImmutableSamplers and r.l.pImmutableSamplers to be non null it seems

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