diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/emit.cpp | 2 | ||||
| -rw-r--r-- | source/slang/legalize-types.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp index 28fb0b551..e86a6d1e4 100644 --- a/source/slang/emit.cpp +++ b/source/slang/emit.cpp @@ -2076,7 +2076,7 @@ struct EmitVisitor { return true; } - else if(as<IRSamplerStateType>(type)) + else if(as<IRSamplerStateTypeBase>(type)) { return true; } diff --git a/source/slang/legalize-types.cpp b/source/slang/legalize-types.cpp index 51a7af314..6922a5174 100644 --- a/source/slang/legalize-types.cpp +++ b/source/slang/legalize-types.cpp @@ -88,7 +88,7 @@ static bool isResourceType(IRType* type) { return true; } - else if (auto samplerType = as<IRSamplerStateType>(type)) + else if (auto samplerType = as<IRSamplerStateTypeBase>(type)) { return true; } |
