Home
last modified time | relevance | path

Searched refs:src_types (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c37 struct vtn_type **src_types,
57 int ntypes, struct vtn_type **src_types, in vtn_opencl_mangle() argument
64 const struct glsl_type *type = src_types[i]->type; in vtn_opencl_mangle()
65 enum vtn_base_type base_type = src_types[i]->base_type; in vtn_opencl_mangle()
66 if (src_types[i]->base_type == vtn_base_type_pointer) { in vtn_opencl_mangle()
68 int address_space = to_llvm_address_space(src_types[i]->storage_class); in vtn_opencl_mangle()
72 type = src_types[i]->deref->type; in vtn_opencl_mangle()
73 base_type = src_types[i]->deref->base_type; in vtn_opencl_mangle()
87 const struct glsl_type *other_type = src_types[j]->base_type == vtn_base_type_pointer ? in vtn_opencl_mangle()
88 src_types[j]->deref->type : src_types[j]->type; in vtn_opencl_mangle()
[all …]
/third_party/skia/third_party/externals/tint/src/ast/
Dmodule_clone_test.cc139 std::unordered_set<sem::Type*> src_types; in TEST() local
141 src_types.emplace(src_type); in TEST()
147 ASSERT_EQ(src_types.count(dst_type), 0u); in TEST()
/third_party/mesa3d/src/panfrost/midgard/
Dmir.c135 if (ins->dest_type != ins->src_types[i]) return true; in mir_nontrivial_mod()
153 if (ins->dest_type != ins->src_types[1]) in mir_nontrivial_outmod()
307 nir_alu_type_get_type_size(ins->src_types[i])); in mir_bytemask_of_read_components_index()
434 temp = ins->src_types[0]; in mir_flip()
435 ins->src_types[0] = ins->src_types[1]; in mir_flip()
436 ins->src_types[1] = temp; in mir_flip()
Dmidgard_print.c117 unsigned sz = nir_alu_type_get_type_size(ins->src_types[src_idx]); in mir_print_embedded_constant()
152 if (ins->src[c] != ~0 && ins->src_types[c] != nir_type_invalid) { \
153 pan_print_alu_type(ins->src_types[c], stdout); \
154 mir_print_swizzle(ins->swizzle[c], ins->src_types[c]); \
Dmidgard_compile.c123 i.src_types[0] = T; \
628 ins->src_types[to] = nir_op_infos[instr->op].input_types[i] | bits; in mir_copy_src()
1029 ins.src_types[1] = nir_type_float32; in emit_alu()
1041 ins.src_types[1] = nir_type_float16; in emit_alu()
1051 ins.src_types[1] = ins.src_types[0]; in emit_alu()
1183 ins.src_types[2] = nir_type_uint32; in emit_ubo_read()
1287 .src_types = { 0, 0, 0, type | bitsize }, in emit_atomic()
1299 ins.src_types[2] = type | bitsize; in emit_atomic()
1312 ins.src_types[1] = nir_type_uint64; in emit_atomic()
1319 ins.src_types[2] = nir_type_uint64; in emit_atomic()
[all …]
Dmidgard_emit.c93 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]); in mir_pack_mod()
97 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) : in mir_pack_mod()
138 bool half_0 = nir_alu_type_get_type_size(ins->src_types[0]) == 16; in vector_to_scalar_alu()
139 bool half_1 = nir_alu_type_get_type_size(ins->src_types[1]) == 16; in vector_to_scalar_alu()
344 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]); in mir_pack_vector_srcs()
623 unsigned sz = nir_alu_type_get_type_size(ins->src_types[1]); in load_store_from_instr()
629 unsigned sz = nir_alu_type_get_type_size(ins->src_types[2]); in load_store_from_instr()
1054 unsigned isz = nir_alu_type_get_type_size(ins->src_types[1]); in emit_binary_bundle()
Dmidgard_schedule.c237 unsigned sz0 = nir_alu_type_get_type_size(ains->src_types[0]); in mir_is_scalar()
238 unsigned sz1 = nir_alu_type_get_type_size(ains->src_types[1]); in mir_is_scalar()
399 unsigned type_size = nir_alu_type_get_type_size(ins->src_types[src]) / 8; in mir_adjust_constant()
401 unsigned max_comp = mir_components_for_type(ins->src_types[src]); in mir_adjust_constant()
562 if (ins->src_types[0] != ins->src_types[1]) in mir_is_add_2()
1208 branch->src_types[1] = sadd->dest_type; in mir_schedule_alu()
1234 vadd->src_types[0] = nir_type_uint32; in mir_schedule_alu()
1243 vadd->src_types[0] = nir_type_uint32; in mir_schedule_alu()
1519 mov.dest_type = I->src_types[s]; in mir_lower_ldst()
Dmidgard_address.c244 ins->src_types[2] = nir_type_uint | nir_src_bit_size(*offset); in mir_set_offset()
261 ins->src_types[1] = nir_type_uint | match.A.def->bit_size; in mir_set_offset()
271 ins->src_types[2] = nir_type_uint | match.B.def->bit_size; in mir_set_offset()
Dmidgard_ra.c286 m.src_types[1] = m.dest_type; in mir_lower_special_reads()
400 if (nir_alu_type_get_type_size(ins->src_types[v]) == 64) in mir_is_64()
476 unsigned size = nir_alu_type_get_type_size(ins->src_types[v]); in allocate_registers()
512 unsigned src_size = nir_alu_type_get_type_size(ins->src_types[s]); in allocate_registers()
693 util_logbase2(nir_alu_type_get_type_size(ins->src_types[i]) / 8); in install_registers_instr()
901 st.dest_type = st.src_types[1] = ins->dest_type; in mir_spill_register()
1051 .dest_type = ins->src_types[i], in mir_demote_uniforms()
Dcompiler.h103 nir_alu_type src_types[MIR_SRC_COUNT]; member
540 .src_types = { 0, nir_type_uint32 }, in v_mov()
596 ins.src_types[0] = nir_type_uint32; in v_load_store_scratch()
Dmidgard_derivatives.c108 .src_types = { nir_type_float32, nir_type_float32 }, in midgard_emit_derivatives()
Dmidgard_opt_perspective.c122 .src_types = { nir_type_float32 }, in midgard_opt_combine_projection()
Dmir_promote_uniforms.c333 mov.src_types[1] = mov.dest_type; in midgard_promote_uniforms()
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_ast_clone_fuzzer.cc80 std::unordered_set<tint::sem::Type*> src_types; in LLVMFuzzerTestOneInput() local
82 src_types.emplace(src_type); in LLVMFuzzerTestOneInput()
88 ASSERT_EQ(src_types.count(dst_type), 0u); in LLVMFuzzerTestOneInput()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c572 nir_alu_type src_types[] = { src0_type ?: nir_type_float32, src1_type ?: nir_type_float32 }; in GENX() local
575 for (unsigned i = 0; i < ARRAY_SIZE(src_types); ++i) { in GENX()
576 src_types[i] = nir_alu_type_get_base_type(nir_type) | in GENX()
577 nir_alu_type_get_type_size(src_types[i]); in GENX()
582 … glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[0]), 4), in GENX()
587 … glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[1]), 4), in GENX()
603 src_types[i], nir_type, in GENX()
/third_party/alsa-utils/alsaloop/
Dpcmjob.c56 static const char *src_types[] = { variable
1646 snd_output_printf(loop->output, " (%s)", src_types[loop->src_converter_type]); in pcmjob_start()
/third_party/mesa3d/docs/relnotes/
D20.1.0.rst495 - pan/bi: Fix missing src_types
D20.2.0.rst409 - pan/mdg: Use src_types to determine size in scheduling