diff options
Diffstat (limited to 'source/slang/slang-ir-util.cpp')
| -rw-r--r-- | source/slang/slang-ir-util.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang-ir-util.cpp b/source/slang/slang-ir-util.cpp index e1eb86508..380d1141e 100644 --- a/source/slang/slang-ir-util.cpp +++ b/source/slang/slang-ir-util.cpp @@ -411,6 +411,14 @@ void getTypeNameHint(StringBuilder& sb, IRInst* type) getTypeNameHint(sb, type->getOperand(0)); sb << ">"; break; + case kIROp_SubpassInputType: + { + auto textureType = as<IRSubpassInputType>(type); + sb <<"SubpassInput"; + if(textureType->isMultisample()) + sb << "MS"; + break; + } case kIROp_TextureType: case kIROp_GLSLImageType: { |
