summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-02-02 15:27:11 -0500
committerGitHub <noreply@github.com>2025-02-02 12:27:11 -0800
commit0a6828572aa4cc1f0f99993e77c321799eb88cca (patch)
treed18f1950074958ff3276e303425eed15067ea2bc /source/slang/slang-emit.cpp
parent2949b786a7f04ad31c113b622039fb5b72bc8622 (diff)
Add support for WGSL subgroup operations (#6213)
* initial work * more work * more work on glsl intrinsics * add subgroup broadcast for glsl * wip add wgsl extension tracking * enable tests, enable extensions and added some todos * format and warning fixes * fix wgsl extension tracker --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index 70521c7ee..58376bbc1 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -1400,10 +1400,10 @@ Result linkAndOptimizeIR(
case CodeGenTarget::SPIRV:
case CodeGenTarget::SPIRVAssembly:
{
- GLSLExtensionTracker glslExtensionTracker;
- GLSLExtensionTracker* glslExtensionTrackerPtr =
+ ShaderExtensionTracker glslExtensionTracker;
+ ShaderExtensionTracker* glslExtensionTrackerPtr =
options.sourceEmitter
- ? as<GLSLExtensionTracker>(options.sourceEmitter->getExtensionTracker())
+ ? as<ShaderExtensionTracker>(options.sourceEmitter->getExtensionTracker())
: &glslExtensionTracker;
#if 0