Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c37 struct vtn_type **src_types,
58 int ntypes, struct vtn_type **src_types, in vtn_opencl_mangle() argument
65 const struct glsl_type *type = src_types[i]->type; in vtn_opencl_mangle()
66 enum vtn_base_type base_type = src_types[i]->base_type; in vtn_opencl_mangle()
67 if (src_types[i]->base_type == vtn_base_type_pointer) { in vtn_opencl_mangle()
69 int address_space = to_llvm_address_space(src_types[i]->storage_class); in vtn_opencl_mangle()
73 type = src_types[i]->deref->type; in vtn_opencl_mangle()
74 base_type = src_types[i]->deref->base_type; in vtn_opencl_mangle()
88 const struct glsl_type *other_type = src_types[j]->base_type == vtn_base_type_pointer ? in vtn_opencl_mangle()
89 src_types[j]->deref->type : src_types[j]->type; in vtn_opencl_mangle()
[all …]
/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()
313 nir_alu_type_get_type_size(ins->src_types[i])); in mir_bytemask_of_read_components_index()
444 temp = ins->src_types[0]; in mir_flip()
445 ins->src_types[0] = ins->src_types[1]; in mir_flip()
446 ins->src_types[1] = temp; in mir_flip()
Dmidgard_emit.c82 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]); in mir_pack_mod()
86 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) : in mir_pack_mod()
127 bool half_0 = nir_alu_type_get_type_size(ins->src_types[0]) == 16; in vector_to_scalar_alu()
128 bool half_1 = nir_alu_type_get_type_size(ins->src_types[1]) == 16; in vector_to_scalar_alu()
338 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]); in mir_pack_vector_srcs()
371 nir_alu_type_get_type_size(ins->src_types[0]) : in mir_pack_swizzle_ldst()
470 ASSERTED unsigned comp_sz = nir_alu_type_get_type_size(ins->src_types[0]); in midgard_pack_common_store_mask()
612 unsigned sz = nir_alu_type_get_type_size(ins->src_types[1]); in load_store_from_instr()
618 unsigned sz = nir_alu_type_get_type_size(ins->src_types[2]); in load_store_from_instr()
1043 unsigned isz = nir_alu_type_get_type_size(ins->src_types[1]); in emit_binary_bundle()
Dmidgard_compile.c120 i.src_types[0] = T; \
669 ins->src_types[to] = nir_op_infos[instr->op].input_types[i] | bits; in mir_copy_src()
1070 ins.src_types[1] = nir_type_float32; in emit_alu()
1082 ins.src_types[1] = nir_type_float16; in emit_alu()
1092 ins.src_types[1] = ins.src_types[0]; in emit_alu()
1231 ins.src_types[2] = nir_type_uint32; in emit_ubo_read()
1372 .src_types = { 0, 0, 0, type | bitsize }, in emit_atomic()
1384 ins.src_types[2] = type | bitsize; in emit_atomic()
1397 ins.src_types[1] = nir_type_uint64; in emit_atomic()
1404 ins.src_types[2] = nir_type_uint64; in emit_atomic()
[all …]
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_print.c123 unsigned sz = nir_alu_type_get_type_size(ins->src_types[src_idx]); in mir_print_embedded_constant()
161 if (ins->src[c] != ~0 && ins->src_types[c] != nir_type_invalid) { in mir_print_src()
162 pan_print_alu_type(ins->src_types[c], stdout); in mir_print_src()
Dmidgard_address.c244 ins->src_types[2] = nir_type_uint | nir_src_bit_size(*offset); in mir_set_offset()
264 ins->src_types[1] = nir_type_uint | bitsize; in mir_set_offset()
275 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()
438 if (nir_alu_type_get_type_size(ins->src_types[v]) == 64) in mir_is_64()
514 unsigned size = nir_alu_type_get_type_size(ins->src_types[v]); in allocate_registers()
525 unsigned src_size = nir_alu_type_get_type_size(ins->src_types[s]); in allocate_registers()
738 util_logbase2(nir_alu_type_get_type_size(ins->src_types[i]) / 8); in install_registers_instr()
951 st.dest_type = st.src_types[1] = ins->dest_type; in mir_spill_register()
1117 .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/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/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.c657 nir_alu_type src_types[] = { src0_type ?: nir_type_float32, src1_type ?: nir_type_float32 }; in GENX() local
660 for (unsigned i = 0; i < ARRAY_SIZE(src_types); ++i) { in GENX()
661 src_types[i] = nir_alu_type_get_base_type(nir_type) | in GENX()
662 nir_alu_type_get_type_size(src_types[i]); in GENX()
667 … glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[0]), 4), in GENX()
672 … glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[1]), 4), in GENX()
688 src_types[i], nir_type, in GENX()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c180 .src_types = (1 << nir_tex_src_coord) | (1 << nir_tex_src_lod) | in si_late_optimize_16bit_samplers()
187 .src_types = (1 << nir_tex_src_ddx) | (1 << nir_tex_src_ddy), in si_late_optimize_16bit_samplers()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_mediump.c698 if (!(BITFIELD_BIT(tex->src[i].src_type) & options->src_types)) in fold_16bit_tex_srcs()
Dnir.h5355 unsigned src_types; member
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir.c776 .src_types = (1 << nir_tex_src_coord) | in ir3_nir_lower_variant()
/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/src/amd/vulkan/
Dradv_pipeline.c4898 .src_types = (1 << nir_tex_src_coord) | (1 << nir_tex_src_lod) | in radv_create_shaders()
4905 .src_types = (1 << nir_tex_src_ddx) | (1 << nir_tex_src_ddy), in radv_create_shaders()
/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