Added single header include
This commit is contained in:
parent
af74e25e35
commit
6ef768f0ca
7 changed files with 750 additions and 5 deletions
|
|
@ -85,6 +85,7 @@ def run_cli(
|
|||
# Ensuring the variable is a static unsigned const
|
||||
header_data = header_data.replace("unsigned", "static unsigned const")
|
||||
file_name = file.split("/")[-1]
|
||||
file_name = f"shader{file_name}"
|
||||
header_file = file_name.replace(".comp.spv", ".hpp")
|
||||
header_file_define = "SHADEROP_" + header_file.replace(".", "_").upper()
|
||||
logger.debug(f"Converting to hpp: {file_name}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue