makes shader build comment output directory user-specifiable

This commit is contained in:
ashpil
2021-12-29 21:45:12 +03:00
parent b337356ecc
commit e2268a7eb4
2 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ pub const ResourceGenStep = struct {
self.* = .{
.step = Step.init(.custom, "resources", builder.allocator, make),
.shader_step = vkgen.ShaderCompileStep.init(builder, &[_][]const u8{ "glslc", "--target-env=vulkan1.2" }),
.shader_step = vkgen.ShaderCompileStep.init(builder, &[_][]const u8{ "glslc", "--target-env=vulkan1.2" }, "shaders"),
.builder = builder,
.package = .{
.name = "resources",