scripts: Use new VulkanObject from headers

This commit is contained in:
spencer-lunarg 2025-02-21 13:31:47 -05:00 committed by Spencer Fricke
parent c4ede3c600
commit 42b34ac73e
8 changed files with 9 additions and 1196 deletions

View file

@ -33,7 +33,7 @@ def RunGenerators(api: str, registry: str, targetFilter: str) -> None:
print("Inside Vulkan-Headers there is a registry/reg.py file that is used.")
sys.exit(1) # Return without call stack so easy to spot error
from generators.base_generator import BaseGeneratorOptions
from base_generator import BaseGeneratorOptions
from generators.dispatch_table_generator import DispatchTableOutputGenerator
from generators.enum_string_helper_generator import EnumStringHelperOutputGenerator
from generators.format_utils_generator import FormatUtilsOutputGenerator
@ -42,7 +42,7 @@ def RunGenerators(api: str, registry: str, targetFilter: str) -> None:
# These set fields that are needed by both OutputGenerator and BaseGenerator,
# but are uniform and don't need to be set at a per-generated file level
from generators.base_generator import (SetTargetApiName, SetMergedApiNames)
from base_generator import (SetTargetApiName, SetMergedApiNames)
SetTargetApiName(api)
# Build up a list of all generators and custom options