Lines Matching refs:sourceInst
1077 Instruction* sourceInst = new Instruction(resultId, makeVoidType(), OpExtInst);
1078 sourceInst->addIdOperand(nonSemanticShaderDebugInfo);
1079 sourceInst->addImmediateOperand(NonSemanticShaderDebugInfo100DebugSource);
1080 sourceInst->addIdOperand(fileName);
1090 sourceInst->addIdOperand(sourceId);
1092 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(sourceInst));
1093 module.mapInstruction(sourceInst);
1102 Instruction* sourceInst = new Instruction(resultId, makeVoidType(), OpExtInst);
1103 sourceInst->addIdOperand(nonSemanticShaderDebugInfo);
1104 sourceInst->addImmediateOperand(NonSemanticShaderDebugInfo100DebugCompilationUnit);
1105 sourceInst->addIdOperand(makeUintConstant(1)); // TODO(greg-lunarg): Get rid of magic number
1106 sourceInst->addIdOperand(makeUintConstant(4)); // TODO(greg-lunarg): Get rid of magic number
1107 sourceInst->addIdOperand(makeDebugSource(sourceFileStringId));
1108 sourceInst->addIdOperand(makeUintConstant(sourceLang));
1109 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(sourceInst));
1110 module.mapInstruction(sourceInst);
4113 Instruction sourceInst(NoResult, NoType, OpSource);
4114 sourceInst.addImmediateOperand(sourceLang);
4115 sourceInst.addImmediateOperand(sourceVersion);
4118 sourceInst.addIdOperand(fileId);
4127 sourceInst.addStringOperand(subString.c_str());
4128 sourceInst.dump(out);
4138 sourceInst.dump(out);
4140 sourceInst.dump(out);