-
Notifications
You must be signed in to change notification settings - Fork 417
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
base: main
Are you sure you want to change the base?
layers: Remove duplicate DescriptorSetLayoutDef compare #8842
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 299927. |
CI Vulkan-ValidationLayers build # 17974 running. |
CI Vulkan-ValidationLayers build # 17974 failed. |
ca3bd0e
to
26b4eff
Compare
CI Vulkan-ValidationLayers build queued with queue ID 300036. |
CI Vulkan-ValidationLayers build # 17976 running. |
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. |
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.
This part of the comment seems out of place now
return false; | ||
} | ||
if (l.pImmutableSamplers) { |
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.
you still need to check for l.pImmutableSamplers
and r.l.pImmutableSamplers
to be non null it seems
We had 2
operator==(const DescriptorSetLayoutDef &lhs, const DescriptorSetLayoutDef &rhs)
and removes the one from the header