Lines Matching refs:pInst
234 spv_instruction_t* pInst) { in binaryEncodeU32() argument
235 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
241 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
279 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
297 spv_instruction_t* pInst) { in binaryEncodeString() argument
300 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
309 pInst->words.resize(newWordCount); in binaryEncodeString()
313 pInst->words.back() = 0; in binaryEncodeString()
315 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
322 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
323 uint32_t value = pInst->words[1]; in recordTypeDefinition()
329 if (pInst->opcode == SpvOpTypeInt) { in recordTypeDefinition()
330 if (pInst->words.size() != 4) in recordTypeDefinition()
332 types_[value] = {pInst->words[2], pInst->words[3] != 0, in recordTypeDefinition()
334 } else if (pInst->opcode == SpvOpTypeFloat) { in recordTypeDefinition()
335 if (pInst->words.size() != 3) in recordTypeDefinition()
337 types_[value] = {pInst->words[2], false, IdTypeClass::kScalarFloatType}; in recordTypeDefinition()