scripts: Sync up base generator and vulkan object

This commit is contained in:
spencer-lunarg 2025-01-27 10:59:56 -05:00 committed by Charles Giessen
parent 8ec84823af
commit 1ddbe6c40a
2 changed files with 23 additions and 9 deletions

View file

@ -13,6 +13,7 @@ class Extension:
"""<extension>"""
name: str # ex) VK_KHR_SURFACE
nameString: str # marco with string, ex) VK_KHR_SURFACE_EXTENSION_NAME
specVersion: str # marco with string, ex) VK_KHR_SURFACE_SPEC_VERSION
# Only one will be True, the other is False
instance: bool
@ -47,7 +48,6 @@ class Version:
name: str # ex) VK_VERSION_1_1
nameString: str # ex) "VK_VERSION_1_1" (no marco, so has quotes)
nameApi: str # ex) VK_API_VERSION_1_1
number: str # ex) 1.1
@dataclass
class Handle: