diff options
| author | Yong He <yonghe@outlook.com> | 2024-11-22 15:14:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-22 15:14:48 -0800 |
| commit | 43728fbda5b9af19eded18fe82ca67b66cc6d0f7 (patch) | |
| tree | 13354573300776f7f293b886109c85be760933fc /source/slang/slang-check-shader.cpp | |
| parent | 756cb32e92f42a622d10b1cca52c7b7e926725d2 (diff) | |
Don't treat StrcturedBuffer<IFoo> as a specializable param. (#5645)
* Don't treat StrcturedBuffer<IFoo> as a specializable param.
* Fix RHI.
Diffstat (limited to 'source/slang/slang-check-shader.cpp')
| -rw-r--r-- | source/slang/slang-check-shader.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/slang/slang-check-shader.cpp b/source/slang/slang-check-shader.cpp index 52a70034a..50382f9c1 100644 --- a/source/slang/slang-check-shader.cpp +++ b/source/slang/slang-check-shader.cpp @@ -79,15 +79,6 @@ static void _collectExistentialSpecializationParamsRec( loc); return; } - else if (auto structuredBufferType = as<HLSLStructuredBufferTypeBase>(type)) - { - _collectExistentialSpecializationParamsRec( - astBuilder, - ioSpecializationParams, - structuredBufferType->getElementType(), - loc); - return; - } if (auto declRefType = as<DeclRefType>(type)) { |
