summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-04-08 15:04:01 -0700
committerGitHub <noreply@github.com>2019-04-08 15:04:01 -0700
commit7c82ead1f5a7f866abe4e8fa931f857a505c3077 (patch)
tree2cbfabb0a479dbcbb36314ecd6aec33218d4ecbc /source
parentdc54f1dd1b694b087816857a791e9d37dc25de6d (diff)
Update glslang version (#940)
* Update glslang This moves to a version of glslang that is hosted with the slang project and that includes a patch for a high-priority fix that hasn't been upstreamed into the main glslang repository yet. * Change a GLSL extension name The glslang codebase changed the extension name required to enable certain features from `GL_KHX_shader_explicit_arithmetic_types` to `GL_EXT_shader_explicit_arithmetic_types`.
Diffstat (limited to 'source')
-rw-r--r--source/slang/emit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 1e9970b1a..c17bb3266 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -86,8 +86,7 @@ void requireGLSLHalfExtension(ExtensionUsageTracker* tracker)
requireGLSLExtension(tracker, "GL_EXT_shader_16bit_storage");
// https://github.com/KhronosGroup/GLSL/blob/master/extensions/ext/GL_EXT_shader_explicit_arithmetic_types.txt
- // Use GL_KHX_shader_explicit_arithmetic_types because that is what appears defined in glslang
- requireGLSLExtension(tracker, "GL_KHX_shader_explicit_arithmetic_types");
+ requireGLSLExtension(tracker, "GL_EXT_shader_explicit_arithmetic_types");
tracker->hasHalfExtension = true;
}