Home
last modified time | relevance | path

Searched refs:desc_load_inst (Results 1 – 3 of 3) sorted by relevance

/third_party/spirv-tools/source/opt/
Dinst_bindless_check_pass.cpp261 Instruction* desc_load_inst; in AnalyzeDescriptorReference() local
263 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()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinst_bindless_check_pass.cpp268 Instruction* desc_load_inst; in AnalyzeDescriptorReference() local
270 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_bindless_check_pass.cpp268 Instruction* desc_load_inst; in AnalyzeDescriptorReference() local
270 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()