diff options
Diffstat (limited to 'source/slang/type-layout.cpp')
| -rw-r--r-- | source/slang/type-layout.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/slang/type-layout.cpp b/source/slang/type-layout.cpp index 1f1002425..d7a4e68bc 100644 --- a/source/slang/type-layout.cpp +++ b/source/slang/type-layout.cpp @@ -1659,10 +1659,11 @@ SimpleLayoutInfo GetLayoutImpl( return info; \ } while(0) - CASE(HLSLStructuredBufferType, StructuredBuffer); - CASE(HLSLRWStructuredBufferType, MutableStructuredBuffer); - CASE(HLSLAppendStructuredBufferType, MutableStructuredBuffer); - CASE(HLSLConsumeStructuredBufferType, MutableStructuredBuffer); + CASE(HLSLStructuredBufferType, StructuredBuffer); + CASE(HLSLRWStructuredBufferType, MutableStructuredBuffer); + CASE(HLSLRasterizerOrderedStructuredBufferType, MutableStructuredBuffer); + CASE(HLSLAppendStructuredBufferType, MutableStructuredBuffer); + CASE(HLSLConsumeStructuredBufferType, MutableStructuredBuffer); #undef CASE @@ -1675,8 +1676,9 @@ SimpleLayoutInfo GetLayoutImpl( type, rules, outTypeLayout); \ } while(0) - CASE(HLSLByteAddressBufferType, RawBuffer); - CASE(HLSLRWByteAddressBufferType, MutableRawBuffer); + CASE(HLSLByteAddressBufferType, RawBuffer); + CASE(HLSLRWByteAddressBufferType, MutableRawBuffer); + CASE(HLSLRasterizerOrderedByteAddressBufferType, MutableRawBuffer); CASE(GLSLInputAttachmentType, InputRenderTarget); |
