• Home
  • Raw
  • Download

Lines Matching refs:get_def

276     auto value = src->get_def(id);  in GetConstantValue()
289 auto insn = src->get_def(type); in DescribeTypeInner()
367 auto a_insn = a->get_def(a_type); in TypesMatch()
368 auto b_insn = b->get_def(b_type); in TypesMatch()
413 if (relaxed && IsNarrowNumericType(a->get_def(a_insn.word(2)))) { in TypesMatch()
457 auto insn = src->get_def(type); in GetLocationsConsumedByType()
475 auto scalar_type = src->get_def(insn.word(2)); in GetLocationsConsumedByType()
491 auto insn = src->get_def(type); in GetComponentsConsumedByType()
516 auto scalar_type = src->get_def(insn.word(2)); in GetComponentsConsumedByType()
563 auto insn = src->get_def(type); in GetFundamentalType()
593 def = src->get_def(def.word(3)); in GetStructType()
595 def = src->get_def(def.word(2)); in GetStructType()
609 auto type = GetStructType(src, src->get_def(type_id), is_array_of_verts && !is_patch); in CollectInterfaceBlockMembers()
697 auto insn = src->get_def(iid); in CollectInterfaceByLocation()
776 auto def = src->get_def(id); in CollectBuiltinBlockMembers()
786 auto def = src->get_def(src->get_def(var).word(3)); in CollectBuiltinBlockMembers()
789 if (def.opcode() == spv::OpTypeArray) def = src->get_def(def.word(2)); in CollectBuiltinBlockMembers()
825 auto def = src->get_def(id); in CollectInterfaceByInputAttachmentIndex()
847 auto type = module->get_def(type_id); in IsWritableDescriptorType()
852 type = module->get_def(type.word(2)); // Element type in IsWritableDescriptorType()
854 type = module->get_def(type.word(3)); // Pointee type in IsWritableDescriptorType()
890 auto insn = src->get_def(id); in CollectInterfaceByDescriptorSlot()
1032 if (!a_at_end && it_a->first.first == 0 && fs->get_def(it_a->second.type_id) != fs->end() && in ValidateFsOutputsAgainstRenderPass()
1124 auto insn = src->get_def(id); in IsPointSizeWritten()
1177 auto insn = src->get_def(id); in MarkAccessibleIds()
1331 auto def_insn = src->get_def(id); in ValidatePushConstantUsage()
1333 …onstantBlockAgainstPipeline(report_data, push_constant_ranges, src, src->get_def(def_insn.word(1)), in ValidatePushConstantUsage()
1366 auto type = module->get_def(type_id); in TypeToDescriptorTypeSet()
1375 type = module->get_def(type.word(2)); in TypeToDescriptorTypeSet()
1378 type = module->get_def(type.word(2)); in TypeToDescriptorTypeSet()
1383 type = module->get_def(type.word(3)); in TypeToDescriptorTypeSet()
1422 auto image_type = module->get_def(type.word(2)); in TypeToDescriptorTypeSet()
1826 auto inst = module->get_def(id); in ValidateShaderStageGroupNonUniform()
2047 auto type_id = src->get_def(insn.word(1)); in GetIntConstantValue()
2116 spirv_inst_iter insn = src->get_def(id); in ValidateCooperativeMatrix()
2121 auto component_type_iter = src->get_def(component_type_id); in ValidateCooperativeMatrix()
2122 auto scope_iter = src->get_def(scope_id); in ValidateCooperativeMatrix()
2123 auto rows_iter = src->get_def(rows_id); in ValidateCooperativeMatrix()
2124 auto cols_iter = src->get_def(cols_id); in ValidateCooperativeMatrix()
2551 auto type = module->get_def(type_id); in DescriptorTypeToReqs()
2558 type = module->get_def(type.word(2)); in DescriptorTypeToReqs()
2561 type = module->get_def(type.word(3)); in DescriptorTypeToReqs()