Temp fix for NZSL update

This commit is contained in:
SirLynix
2022-06-15 20:26:14 +02:00
parent b10e0a7408
commit 8e8bee7037
8 changed files with 19 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ task("compile-shaders")
print("Compiling shaders...")
for _, filepath in pairs(os.files("src/Nazara/*/Resources/**.nzsl")) do
print(" - Compiling " .. filepath)
local argv = {"--compile=nzslb", "--partial", "--header-file", filepath }
local argv = {"--compile=nzslb-header", "--partial", filepath }
if option.get("measure") then
table.insert(argv, "--measure")
end