gpu-dawn: pin Dawn version using branch name not SHA

so that Wrench can automatically update it (and because branch name is already
versioned)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-01-19 20:47:22 -07:00
parent 2edfa729ec
commit 0e9746d2e2

View file

@ -69,8 +69,7 @@ pub fn Sdk(comptime deps: anytype) type {
}
fn linkFromSource(b: *Builder, step: *std.build.LibExeObjStep, options: Options) !void {
// branch: generated-2023-01-12.1673546526
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "d8468ba09e23c482de1012e00b3adcf98dfe950f", sdkPath("/libs/dawn"));
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/dawn", "generated-2023-01-12.1673546526", sdkPath("/libs/dawn"));
// branch: mach
try ensureGitRepoCloned(b.allocator, "https://github.com/hexops/DirectXShaderCompiler", "cff9a6f0b7f961748b822e1d313a7205dfdecf9d", sdkPath("/libs/DirectXShaderCompiler"));