remove configurable file name from GenerateStep & don't use path as part of cache hash

This commit is contained in:
InKryption
2023-02-18 01:59:40 +01:00
parent c294b849d2
commit 71403a013b
2 changed files with 3 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ pub fn build(b: *std.Build) void {
triangle_exe.linkSystemLibrary("glfw");
const example_registry = b.option([]const u8, "example-registry", "Override the path to the Vulkan registry") orelse "examples/vk.xml";
const gen = vkgen.VkGenerateStep.create(b, example_registry, "vk.zig");
const gen = vkgen.VkGenerateStep.create(b, example_registry);
triangle_exe.addModule("vulkan", gen.getModule());
const shaders = vkgen.ShaderCompileStep.create(