diff options
| -rw-r--r-- | .gitmodules | 2 | ||||
| m--------- | external/glslang | 0 | ||||
| -rw-r--r-- | source/slang/emit.cpp | 3 | ||||
| -rw-r--r-- | tests/compute/half-texture.slang.expected | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules index 3fb361bd6..0c12afa2b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "external/glslang"] path = external/glslang - url = https://github.com/KhronosGroup/glslang.git + url = https://github.com/shader-slang/glslang.git [submodule "external/tinyobjloader"] path = external/tinyobjloader url = https://github.com/syoyo/tinyobjloader diff --git a/external/glslang b/external/glslang -Subproject 4207c97b938078818140edad101a032cf768191 +Subproject cf81aec38043011fbc53464f828cc1ed80c52d4 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; } diff --git a/tests/compute/half-texture.slang.expected b/tests/compute/half-texture.slang.expected index dc8d5dcbe..8d1a6bef4 100644 --- a/tests/compute/half-texture.slang.expected +++ b/tests/compute/half-texture.slang.expected @@ -15,8 +15,8 @@ standard output = { ExecutionMode 4 LocalSize 4 4 1 Source GLSL 450 SourceExtension "GL_EXT_shader_16bit_storage" + SourceExtension "GL_EXT_shader_explicit_arithmetic_types" SourceExtension "GL_GOOGLE_cpp_style_line_directive" - SourceExtension "GL_KHX_shader_explicit_arithmetic_types" Name 4 "main" Name 9 "pos_0" Name 13 "gl_GlobalInvocationID" |
