Lines Matching defs:extract
2532 Instruction* extract = new Instruction(getUniqueId(), typeId, OpCompositeExtract);
2533 extract->addIdOperand(composite);
2534 extract->addImmediateOperand(index);
2535 buildPoint->addInstruction(std::unique_ptr<Instruction>(extract));
2537 return extract->getResultId();
2547 Instruction* extract = new Instruction(getUniqueId(), typeId, OpCompositeExtract);
2548 extract->addIdOperand(composite);
2550 extract->addImmediateOperand(indexes[i]);
2551 buildPoint->addInstruction(std::unique_ptr<Instruction>(extract));
2553 return extract->getResultId();
2581 Instruction* extract = new Instruction(getUniqueId(), typeId, OpVectorExtractDynamic);
2582 extract->addIdOperand(vector);
2583 extract->addIdOperand(componentIndex);
2584 buildPoint->addInstruction(std::unique_ptr<Instruction>(extract));
2586 return extract->getResultId();
3354 // 1. For each column, extract the column and truncate it to the required size using shuffle
3715 // extract and insert elements to perform writeMask and/or swizzle.
3833 // extract and insert elements to perform writeMask and/or swizzle. This does not