diff options
| author | Darren Wihandi <65404740+fairywreath@users.noreply.github.com> | 2025-02-28 13:11:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 10:11:26 -0800 |
| commit | 66984eb856454d0a372e3b30643823af18612067 (patch) | |
| tree | cf9283fc3cb15bd83ae476f00e7785658adaa77e /source/slang/slang-core-module-textures.cpp | |
| parent | e4b960024972420dfc96a758bfc35e8fcbf28273 (diff) | |
Add WaveGetLane* support for Metal and WGSL (#6371)
* support WaveGetLane* for WGSL and Metal
* update test and glsl support
* address review comments and fix metal test
* add missing pragma guard
* update test
* Revert "update test"
This reverts commit f2b97e91c29de154190710580c343bd0764aedbb.
* update failing glsl metal test and added new test
* make hlsl and glsl outputs similar
* update test
* disable tests for Metal and cleanup
* comment fix
* add expected failures
* correct expected failures list
* remove expected failure
* add tests to expected failure
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-core-module-textures.cpp')
| -rw-r--r-- | source/slang/slang-core-module-textures.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-core-module-textures.cpp b/source/slang/slang-core-module-textures.cpp index 22c1fc63f..f703a8a3b 100644 --- a/source/slang/slang-core-module-textures.cpp +++ b/source/slang/slang-core-module-textures.cpp @@ -439,7 +439,7 @@ void TextureTypeInfo::writeGetDimensionFunctions() } }; glsl << "if (isCombined == 0) { " - "__requireGLSLExtension(\"GL_EXT_samplerless_texture_functions\"); }\n"; + "__requireTargetExtension(\"GL_EXT_samplerless_texture_functions\"); }\n"; glsl << "if (access == " << kCoreModule_ResourceAccessReadOnly << ") __intrinsic_asm \""; emitIntrinsic(toSlice("textureSize"), !isMultisample); |
