Searched refs:annotation_inst (Results 1 – 2 of 2) sorted by relevance
548 Instruction* annotation_inst, uint32_t var_id) { in CloneAnnotationForVariable() argument549 assert(annotation_inst->opcode() == SpvOpDecorate || in CloneAnnotationForVariable()550 annotation_inst->opcode() == SpvOpDecorateId || in CloneAnnotationForVariable()551 annotation_inst->opcode() == SpvOpDecorateString); in CloneAnnotationForVariable()552 std::unique_ptr<Instruction> new_inst(annotation_inst->Clone(context())); in CloneAnnotationForVariable()
270 void CloneAnnotationForVariable(Instruction* annotation_inst,