summaryrefslogtreecommitdiff
path: root/source/slang/type-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/type-layout.h')
-rw-r--r--source/slang/type-layout.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/slang/type-layout.h b/source/slang/type-layout.h
index c3f6f2679..f151a498a 100644
--- a/source/slang/type-layout.h
+++ b/source/slang/type-layout.h
@@ -510,7 +510,6 @@ struct SimpleLayoutRulesImpl
{
// Get size and alignment for a single value of base type.
virtual SimpleLayoutInfo GetScalarLayout(BaseType baseType) = 0;
- virtual SimpleLayoutInfo GetScalarLayout(slang::TypeReflection::ScalarType scalarType) = 0;
// Get size and alignment for an array of elements
virtual SimpleArrayLayoutInfo GetArrayLayout(SimpleLayoutInfo elementInfo, size_t elementCount) = 0;
@@ -548,11 +547,6 @@ struct LayoutRulesImpl
return simpleRules->GetScalarLayout(baseType);
}
- SimpleLayoutInfo GetScalarLayout(slang::TypeReflection::ScalarType scalarType)
- {
- return simpleRules->GetScalarLayout(scalarType);
- }
-
SimpleArrayLayoutInfo GetArrayLayout(SimpleLayoutInfo elementInfo, size_t elementCount)
{
return simpleRules->GetArrayLayout(elementInfo, elementCount);