summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-glsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
-rw-r--r--source/slang/slang-emit-glsl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp
index d37a6840b..7e5c84533 100644
--- a/source/slang/slang-emit-glsl.cpp
+++ b/source/slang/slang-emit-glsl.cpp
@@ -2659,10 +2659,18 @@ void GLSLSourceEmitter::emitVarDecorationsImpl(IRInst* varDecl)
prefix = toSlice("callableData");
locationValue = getIntVal(decoration->getOperand(0));
break;
+ case kIROp_VulkanCallablePayloadInDecoration:
+ prefix = toSlice("callableDataIn");
+ locationValue = getIntVal(decoration->getOperand(0));
+ break;
case kIROp_VulkanRayPayloadDecoration:
prefix = toSlice("rayPayload");
locationValue = getIntVal(decoration->getOperand(0));
break;
+ case kIROp_VulkanRayPayloadInDecoration:
+ prefix = toSlice("rayPayloadIn");
+ locationValue = getIntVal(decoration->getOperand(0));
+ break;
case kIROp_VulkanHitObjectAttributesDecoration:
prefix = toSlice("hitObjectAttribute");
postfix = toSlice("NV");