-
Notifications
You must be signed in to change notification settings - Fork 419
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
stateless: Remove ValidatePnextPropertyStructContents() #9302
stateless: Remove ValidatePnextPropertyStructContents() #9302
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 354356. |
CI Vulkan-ValidationLayers build # 18839 running. |
5c1996c
to
7be0b5c
Compare
CI Vulkan-ValidationLayers build queued with queue ID 354372. |
CI Vulkan-ValidationLayers build # 18840 running. |
@@ -442,6 +442,9 @@ def generateSource(self): | |||
property_structs = [x for x in extended_structs if x.extends == ["VkPhysicalDeviceProperties2"]] | |||
other_structs = [x for x in extended_structs if x not in feature_structs and x not in property_structs and x.name not in self.structsWithManualChecks] | |||
|
|||
# NOTE: property structs are no longer checked. Previously we only checked if the corresponding extension was supported |
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.
maybe worth putting this above property_structs
declaration and point to link to #9302 for future reference
Property pNext checking was implemented incorrectly for a long time and recently fixed by commit da1b588. However requiring extensions enabled for querying properties is very cumbersome and contradicts this statement from the specification: Any component of the implementation (the loader, any enabled layers, and drivers) must skip over, without processing (other than reading the sType and pNext members) any extending structures in the chain not defined by core versions or extensions supported by that component. It is possible that this could also be relaxed for other queries in the future.
VUID-VkPhysicalDeviceProperties2-pNext-pNext will no longer fire if a property structure is included without its extension being enabled.
7be0b5c
to
233df20
Compare
CI Vulkan-ValidationLayers build queued with queue ID 354408. |
CI Vulkan-ValidationLayers build # 18841 running. |
CI Vulkan-ValidationLayers build # 18841 failed. |
CI Vulkan-ValidationLayers build queued with queue ID 354445. |
CI Vulkan-ValidationLayers build # 18842 running. |
CI Vulkan-ValidationLayers build # 18842 passed. |
Property pNext checking was implemented incorrectly for a long time and recently fixed by commit da1b588. However requiring extensions enabled for querying properties is very cumbersome and contradicts this statement from the specification:
It is possible that this could also be relaxed for other queries in the future.