Browse Source

Update glslang

Panagiotis Christopoulos Charitos 7 years ago
parent
commit
ce3dcb9e62
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/anki/gr/ShaderCompiler.cpp
  2. 1 1
      thirdparty

+ 1 - 0
src/anki/gr/ShaderCompiler.cpp

@@ -249,6 +249,7 @@ static ANKI_USE_RESULT Error genSpirv(const ShaderCompiler::BuildContext& ctx, s
 	// Gen SPIRV
 	glslang::SpvOptions spvOptions;
 	spvOptions.optimizeSize = true;
+	spvOptions.disableOptimizer = true; // Enabling it crashes RADV
 	glslang::GlslangToSpv(*program.getIntermediate(stage), spirv, &spvOptions);
 
 	return Error::NONE;

+ 1 - 1
thirdparty

@@ -1 +1 @@
-Subproject commit c40d3f5ea3b95f728c14e78cd82aaae03281a304
+Subproject commit 48a405d9a92daa3407adefabd1bdf21dd0fe2fa1