Searched refs:desc_load_inst (Results 1 – 3 of 3) sorted by relevance
261 Instruction* desc_load_inst; in AnalyzeDescriptorReference() local263 desc_load_inst = get_def_use_mgr()->GetDef(desc_load_id); in AnalyzeDescriptorReference()264 if (desc_load_inst->opcode() == SpvOp::SpvOpSampledImage) in AnalyzeDescriptorReference()266 desc_load_inst->GetSingleWordInOperand(kSpvSampledImageImageIdInIdx); in AnalyzeDescriptorReference()267 else if (desc_load_inst->opcode() == SpvOp::SpvOpImage) in AnalyzeDescriptorReference()269 desc_load_inst->GetSingleWordInOperand(kSpvImageSampledImageIdInIdx); in AnalyzeDescriptorReference()270 else if (desc_load_inst->opcode() == SpvOp::SpvOpCopyObject) in AnalyzeDescriptorReference()272 desc_load_inst->GetSingleWordInOperand(kSpvCopyObjectOperandIdInIdx); in AnalyzeDescriptorReference()276 if (desc_load_inst->opcode() != SpvOp::SpvOpLoad) { in AnalyzeDescriptorReference()281 ref->ptr_id = desc_load_inst->GetSingleWordInOperand(kSpvLoadPtrIdInIdx); in AnalyzeDescriptorReference()
268 Instruction* desc_load_inst; in AnalyzeDescriptorReference() local270 desc_load_inst = get_def_use_mgr()->GetDef(desc_load_id); in AnalyzeDescriptorReference()271 if (desc_load_inst->opcode() == SpvOp::SpvOpSampledImage) in AnalyzeDescriptorReference()273 desc_load_inst->GetSingleWordInOperand(kSpvSampledImageImageIdInIdx); in AnalyzeDescriptorReference()274 else if (desc_load_inst->opcode() == SpvOp::SpvOpImage) in AnalyzeDescriptorReference()276 desc_load_inst->GetSingleWordInOperand(kSpvImageSampledImageIdInIdx); in AnalyzeDescriptorReference()277 else if (desc_load_inst->opcode() == SpvOp::SpvOpCopyObject) in AnalyzeDescriptorReference()279 desc_load_inst->GetSingleWordInOperand(kSpvCopyObjectOperandIdInIdx); in AnalyzeDescriptorReference()283 if (desc_load_inst->opcode() != SpvOp::SpvOpLoad) { in AnalyzeDescriptorReference()288 ref->ptr_id = desc_load_inst->GetSingleWordInOperand(kSpvLoadPtrIdInIdx); in AnalyzeDescriptorReference()