From 991b947173685c7c929fd67da6ae2067a52f1d97 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Wed, 6 May 2020 23:15:54 +0000 Subject: [PATCH] Add Tint to DEPS for standalone checkouts BUG=dawn:386 Change-Id: I0f518bed7e81e4d42ed2a1ef154738d9e8fa4a9c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21160 Reviewed-by: Austin Eng Reviewed-by: Kai Ninomiya Commit-Queue: Ryan Harrison --- DEPS | 6 ++++++ scripts/{roll-shaderc-deps.sh => roll-shader-deps.sh} | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) rename scripts/{roll-shaderc-deps.sh => roll-shader-deps.sh} (92%) diff --git a/DEPS b/DEPS index db7257b0ce..a84d35dad0 100644 --- a/DEPS +++ b/DEPS @@ -83,6 +83,12 @@ deps = { 'condition': 'dawn_standalone', }, + # WGSL support + 'third_party/tint': { + 'url': '{dawn_git}/tint@054927d7eb34803e2a05ab7993688e448a362948', + 'condition': 'dawn_standalone', + }, + # GLFW for tests and samples 'third_party/glfw': { 'url': '{chromium_git}/external/github.com/glfw/glfw@d973acc123826666ecc9e6fd475682e3d84c54a6', diff --git a/scripts/roll-shaderc-deps.sh b/scripts/roll-shader-deps.sh similarity index 92% rename from scripts/roll-shaderc-deps.sh rename to scripts/roll-shader-deps.sh index b2d78ff475..8d061e2020 100755 --- a/scripts/roll-shaderc-deps.sh +++ b/scripts/roll-shader-deps.sh @@ -27,7 +27,8 @@ shaderc_dir="third_party/shaderc/" spirv_cross_dir="third_party/spirv-cross/" spirv_headers_dir="third_party/spirv-headers/" spirv_tools_dir="third_party/SPIRV-Tools/" +tint_dir="third_party/tint/" cd "$repo_path" -roll-dep "$@" "${glslang_dir}" "${shaderc_dir}" "${spirv_cross_dir}" "${spirv_headers_dir}" "${spirv_tools_dir}" +roll-dep "$@" "${glslang_dir}" "${shaderc_dir}" "${spirv_cross_dir}" "${spirv_headers_dir}" "${spirv_tools_dir}" "${tint_dir}"