summaryrefslogtreecommitdiffstats
path: root/source/slang/type-layout.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-17 16:37:34 -0700
committerGitHub <noreply@github.com>2017-07-17 16:37:34 -0700
commit400e347ce9ad7aec38450398e0f563a9d59414cf (patch)
treea8f6a2334397ade3981f35d1ee764a4c325e0927 /source/slang/type-layout.cpp
parent0059ccb3997c2af87bc3f76524d8cd4787c20b7e (diff)
parentff4621460a98f34d74e4275841c313400cbda0dd (diff)
Merge pull request #112 from tfoleyNV/gh-94
Handle `Buffer` types more like textures
Diffstat (limited to 'source/slang/type-layout.cpp')
-rw-r--r--source/slang/type-layout.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/type-layout.cpp b/source/slang/type-layout.cpp
index 6ca2d68fb..b4bf8949f 100644
--- a/source/slang/type-layout.cpp
+++ b/source/slang/type-layout.cpp
@@ -361,14 +361,12 @@ struct HLSLObjectLayoutRulesImpl : ObjectLayoutRulesImpl
case ShaderParameterKind::TextureUniformBuffer:
case ShaderParameterKind::StructuredBuffer:
- case ShaderParameterKind::SampledBuffer:
case ShaderParameterKind::RawBuffer:
case ShaderParameterKind::Buffer:
case ShaderParameterKind::Texture:
return SimpleLayoutInfo(LayoutResourceKind::ShaderResource, 1);
case ShaderParameterKind::MutableStructuredBuffer:
- case ShaderParameterKind::MutableSampledBuffer:
case ShaderParameterKind::MutableRawBuffer:
case ShaderParameterKind::MutableBuffer:
case ShaderParameterKind::MutableTexture:
@@ -1041,8 +1039,6 @@ SimpleLayoutInfo GetLayoutImpl(
type, rules, outTypeLayout); \
} while(0)
- CASE(HLSLBufferType, SampledBuffer);
- CASE(HLSLRWBufferType, MutableSampledBuffer);
CASE(HLSLByteAddressBufferType, RawBuffer);
CASE(HLSLRWByteAddressBufferType, MutableRawBuffer);