Enable shader optimization
This commit is contained in:
@@ -11,7 +11,7 @@ rule("nzsl.compile.shaders")
|
||||
|
||||
-- add commands
|
||||
batchcmds:show_progress(opt.progress, "${color.build.object}compiling shader %s", shaderfile)
|
||||
local argv = {"--compile=nzslb-header", "--partial"}
|
||||
local argv = { "--compile=nzslb-header", "--partial", "--optimize" }
|
||||
|
||||
-- handle --log-format
|
||||
local kind = target:data("plugin.project.kind") or ""
|
||||
|
||||
Reference in New Issue
Block a user