Skip to content

Commit

Permalink
Update glslang
Browse files Browse the repository at this point in the history
Components: Framework, Vulkan

Change-Id: Ic2ecbd6915b8f4d6ecfc6a291df0791ddf5167e8
  • Loading branch information
alegal-arm committed Dec 6, 2018
1 parent bae12c6 commit 4931ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion external/fetch_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def postExtractLibpng (path):
GitRepo(
"https://github.com/KhronosGroup/glslang.git",
None,
"4efc6f1ed0d61c0cacf398b8216e572d5a5c770d",
"0bb930fc0fbe5258261e807ee875bb77258c1a86",
"glslang",
removeTags = ["master-tot"]),
GitRepo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6171,8 +6171,8 @@ void PrecisionCase::testStatement (const Variables<In, Out>& variables, const St
for (vector<Symbol>::const_iterator symIter = m_spec.inputs.begin(); symIter != m_spec.inputs.end(); ++symIter)
inputs16Bit = inputs16Bit || glu::isDataTypeFloat16OrVec(symIter->varType.getBasicType());

if (inputs16Bit || m_spec.packFloat16Bit) //TODO GL_KHR_shader_explicit_arithmetic_types spirv/glsl tools need to be updated [24.05.2018 A.Sarwa]
m_spec.globalDeclarations += "#extension GL_KHX_shader_explicit_arithmetic_types: require\n";
if (inputs16Bit || m_spec.packFloat16Bit)
m_spec.globalDeclarations += "#extension GL_EXT_shader_explicit_arithmetic_types: require\n";

m_spec.outputs.resize(outCount);

Expand Down

0 comments on commit 4931ac2

Please sign in to comment.