| 731 | } |
| 732 | |
| 733 | Id Builder::makeRuntimeArray(Id element) |
| 734 | { |
| 735 | Instruction* type = new Instruction(getUniqueId(), NoType, Op::OpTypeRuntimeArray); |
| 736 | type->addIdOperand(element); |
| 737 | constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type)); |
| 738 | module.mapInstruction(type); |
| 739 | |
| 740 | if (emitNonSemanticShaderDebugInfo) |
| 741 | { |
| 742 | auto const debugResultId = makeArrayDebugType(element, makeUintConstant(0)); |
| 743 | debugTypeIdLookup[type->getResultId()] = debugResultId; |
| 744 | } |
| 745 | |
| 746 | return type->getResultId(); |
| 747 | } |
| 748 | |
| 749 | Id Builder::makeFunctionType(Id returnType, const std::vector<Id>& paramTypes) |
| 750 | { |
no test coverage detected