diff options
Diffstat (limited to 'thirdparty/glslang/SPIRV/spvIR.h')
-rw-r--r-- | thirdparty/glslang/SPIRV/spvIR.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/glslang/SPIRV/spvIR.h b/thirdparty/glslang/SPIRV/spvIR.h index 1f8e28ff46..8849f42e75 100644 --- a/thirdparty/glslang/SPIRV/spvIR.h +++ b/thirdparty/glslang/SPIRV/spvIR.h @@ -352,6 +352,7 @@ public: void addLocalVariable(std::unique_ptr<Instruction> inst); Id getReturnType() const { return functionInstruction.getTypeId(); } Id getFuncId() const { return functionInstruction.getResultId(); } + Id getFuncTypeId() const { return functionInstruction.getIdOperand(1); } void setReturnPrecision(Decoration precision) { if (precision == DecorationRelaxedPrecision) |