expose shader hash in Shader struct

This commit is contained in:
avokadoen
2023-05-23 21:12:21 +02:00
parent d59005bab6
commit 9bb8e7b1f7
2 changed files with 9 additions and 4 deletions

View File

@@ -72,6 +72,7 @@ pub const GenerateStep = struct {
/// by parsing it and rendering with `std.zig.parse` and `std.zig.render` respectively.
fn make(step: *Build.Step, progress: *std.Progress.Node) !void {
_ = progress;
const b = step.owner;
const self = @fieldParentPtr(GenerateStep, "step", step);
const cwd = std.fs.cwd();