MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Profiles / isStructInList

Method isStructInList

scripts/gen_profiles_solution.py:4877–4885  ·  view source on GitHub ↗
(structName, structList)

Source from the content-addressed store, hash-verified

4875
4876 def validateVideoProfiles(self, capabilities_key, capabilities_value):
4877 def isStructInList(structName, structList):
4878 if structName in structList:
4879 return True
4880 else:
4881 # Check also for possible aliases
4882 for alias in self.registry.structs[structName].aliases:
4883 if alias in structList:
4884 return True
4885 return False
4886
4887 for videoProfile in capabilities_value.videoProfiles:
4888 # This already validates that the video profile description is valid

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected