diff options
| author | Yong He <yonghe@outlook.com> | 2024-01-24 15:36:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 15:36:49 -0800 |
| commit | e7b6de334f320429462a0257e2191ccf3cbc9a0d (patch) | |
| tree | 7e2f6802a2f6fa5217903948efbd994b51e103b7 /source/slang/slang-ir-lower-buffer-element-type.cpp | |
| parent | dd57306d951dbcaf6471659fcd1d2c37738f36d0 (diff) | |
[SPIRV] Support `globallycoherent` and `[vk::index()]`. (#3488)
* [SPIRV] Support `globallycoherent` modifier.
* Fix.
* Disable executable cooperative vector tests.
* Update expected failure.
* [SPIRV] Emit varying output index decoration.
* Add test.
* Update tests.
* Fix test.
* Emit `SpvExecutionModeEarlyFragmentTests`.
* Lower `StructuredBuffer<bool>`.
* Support globallycoherent on ByteAddressBuffer.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-lower-buffer-element-type.cpp')
| -rw-r--r-- | source/slang/slang-ir-lower-buffer-element-type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-lower-buffer-element-type.cpp b/source/slang/slang-ir-lower-buffer-element-type.cpp index 378201fdb..6cd8495b4 100644 --- a/source/slang/slang-ir-lower-buffer-element-type.cpp +++ b/source/slang/slang-ir-lower-buffer-element-type.cpp @@ -515,7 +515,7 @@ namespace Slang elementType = constBuffer->getElementType(); if (as<IRTextureBufferType>(globalInst)) continue; - if (!as<IRStructType>(elementType) && !as<IRMatrixType>(elementType) && !as<IRArrayType>(elementType)) + if (!as<IRStructType>(elementType) && !as<IRMatrixType>(elementType) && !as<IRArrayType>(elementType) && !as<IRBoolType>(elementType)) continue; bufferTypeInsts.add(BufferTypeInfo{ (IRType*)globalInst, elementType }); } |
