diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-09-23 16:32:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 16:32:47 -0700 |
| commit | 3e950e11f46fa3d2a84f04345ea860907ae9715a (patch) | |
| tree | 13c115fb9c41f6ceb6c270f35822cd762f624f68 /source/slang/slang-emit.cpp | |
| parent | 14b1098c934927898488c057b8c517da84990595 (diff) | |
Implemented Combined-texture for WGSL (#5130)
* Implemented Combined-texture for WGSL
* Remove unnecessary comment
* Limit to std430 layout
* Fix compiler warning for unused variable
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-emit.cpp')
| -rw-r--r-- | source/slang/slang-emit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 6e3556064..71ef7ee33 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -973,8 +973,9 @@ Result linkAndOptimizeIR( case CodeGenTarget::Metal: case CodeGenTarget::MetalLib: case CodeGenTarget::MetalLibAssembly: + case CodeGenTarget::WGSL: if (requiredLoweringPassSet.combinedTextureSamplers) - lowerCombinedTextureSamplers(irModule, sink); + lowerCombinedTextureSamplers(codeGenContext, irModule, sink); break; } |
