diff --git a/DEPS b/DEPS index 9b71271f09..2b00023867 100644 --- a/DEPS +++ b/DEPS @@ -142,7 +142,7 @@ deps = { }, 'third_party/vulkan-deps': { - 'url': '{chromium_git}/vulkan-deps@a7a3fb39310c720774dcf8a61e4656a63e5f1ab4', + 'url': '{chromium_git}/vulkan-deps@c29c532c92db1d3e6f8ce2436a5ab8bd680cb5f7', 'condition': 'dawn_standalone', }, diff --git a/src/tint/cmd/main.cc b/src/tint/cmd/main.cc index 485ca5a12d..2b0268d857 100644 --- a/src/tint/cmd/main.cc +++ b/src/tint/cmd/main.cc @@ -24,7 +24,7 @@ #include #if TINT_BUILD_GLSL_WRITER -#include "StandAlone/ResourceLimits.h" +#include "glslang/Public/ResourceLimits.h" #include "glslang/Public/ShaderLang.h" #endif // TINT_BUILD_GLSL_WRITER @@ -967,8 +967,8 @@ bool GenerateGlsl(const tint::Program* program, const Options& options) { int lengths[1] = {static_cast(result.glsl.length())}; shader.setStringsWithLengths(strings, lengths, 1); shader.setEntryPoint("main"); - bool glslang_result = shader.parse(&glslang::DefaultTBuiltInResource, 310, - EEsProfile, false, false, EShMsgDefault); + bool glslang_result = shader.parse(GetDefaultResources(), 310, EEsProfile, false, + false, EShMsgDefault); if (!glslang_result) { std::cerr << "Error parsing GLSL shader:\n" << shader.getInfoLog() << "\n"