Added support for resetting lists and retrieving function names.

This commit is contained in:
2022-09-18 11:25:20 +02:00
parent 1d073c0256
commit 4fd0760f75
11 changed files with 1334 additions and 7 deletions

View File

@@ -171,6 +171,7 @@ def generate_source(target, source, env):
return None
pygen_builder = Builder(action = generate_source)
env.Append(CCFLAGS = '-Wall -Wextra -Werror -pedantic -std=c++20')
env.Append(BUILDERS = {'PyGen': pygen_builder})
env.Append(CPPPATH = ['include'])
@@ -178,6 +179,7 @@ source_files = Split("""
source/data_pool.cpp
source/dispatch_table.cpp
source/functions.cpp
source/function_ids.cpp
source/layer.cpp
source/record_list.cpp
source/variant_pool.cpp
@@ -185,6 +187,7 @@ source_files = Split("""
# env.PyGen('source/functions.hpp', 'generators/functions.hpp.py')
env.PyGen('include/vk_function_ids.h', 'generators/vk_function_ids.h.py')
env.PyGen('source/function_ids.cpp', 'generators/function_ids.cpp.py')
env.PyGen('source/functions.cpp', 'generators/functions.cpp.py')
env.PyGen('source/variant_wrap.hpp', 'generators/variant_wrap.hpp.py')
env.SharedLibrary(