summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp
index b121307ee..62bdb171a 100644
--- a/source/slang/slang-ir.cpp
+++ b/source/slang/slang-ir.cpp
@@ -244,7 +244,7 @@ namespace Slang
{
if( auto rateQualType = as<IRRateQualifiedType>(type) )
{
- type = rateQualType->getDataType();
+ type = rateQualType->getValueType();
}
// The "true" pointers and the pointer-like stdlib types are the easy cases.