diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-17 22:14:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-17 22:14:34 -0700 |
| commit | 5dd27a26da9b6b6191f3b1eba0f38f85714c1ae3 (patch) | |
| tree | 2a596911523b003746e2cfda2847ffd02d332ef3 /source/slang/slang-ir.cpp | |
| parent | 355a8d8f923ef67f11092ae706b50d028b09f9ad (diff) | |
Support combined texture sampler when targeting HLSL. (#3963)
* Support combined texture sampler when targeting HLSL.
* Fix glsl intrinsics.
* Update source/slang/slang-ir-lower-combined-texture-sampler.cpp
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
* Update source/slang/slang-ir-lower-combined-texture-sampler.cpp
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
* Update source/slang/slang-ir-lower-combined-texture-sampler.cpp
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
* Fix.,
* Enhance test.
* Remove unused field.
* Fix indentation
---------
Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-ir.cpp')
| -rw-r--r-- | source/slang/slang-ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index 2dfbde2cc..3a6dc667b 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -8056,6 +8056,8 @@ namespace Slang case kIROp_StructuredBufferLoad: case kIROp_RWStructuredBufferLoad: case kIROp_RWStructuredBufferGetElementPtr: + case kIROp_CombinedTextureSamplerGetSampler: + case kIROp_CombinedTextureSamplerGetTexture: case kIROp_Load: // We are ignoring the possibility of loads from bad addresses, or `volatile` loads case kIROp_LoadReverseGradient: case kIROp_ReverseGradientDiffPairRef: |
