Searched refs:src_types (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_opencl.c37 struct vtn_type **src_types,
57 int ntypes, struct vtn_type **src_types,
64 const struct glsl_type *type = src_types[i]->type;
65 enum vtn_base_type base_type = src_types[i]->base_type;
66 if (src_types[i]->base_type == vtn_base_type_pointer) {
68 int address_space = to_llvm_address_space(src_types[i]->storage_class);
72 type = src_types[i]->deref->type;
73 base_type = src_types[i]->deref->base_type;
87 const struct glsl_type *other_type = src_types[j]->base_type == vtn_base_type_pointer ?
88 src_types[
55 vtn_opencl_mangle(const char * in_name,uint32_t const_mask,int ntypes,struct vtn_type ** src_types,char ** outstring) argument
134 mangle_and_find(struct vtn_builder * b,const char * name,uint32_t const_mask,uint32_t num_srcs,struct vtn_type ** src_types) argument
175 call_mangled_function(struct vtn_builder * b,const char * name,uint32_t const_mask,uint32_t num_srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type,nir_ssa_def ** srcs,nir_deref_instr ** ret_deref_ptr) argument
215 struct vtn_type *src_types[5] = { NULL }; local in function:handle_instr
283 handle_alu(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
430 handle_clc_fn(struct vtn_builder * b,enum OpenCLstd_Entrypoints opcode,int num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
478 handle_special(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
576 handle_core(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
840 handle_round(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
855 handle_shuffle(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
875 handle_shuffle2(struct vtn_builder * b,uint32_t opcode,unsigned num_srcs,nir_ssa_def ** srcs,struct vtn_type ** src_types,const struct vtn_type * dest_type) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_print.c117 unsigned sz = nir_alu_type_get_type_size(ins->src_types[src_idx]);
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]); \
H A Dmir.c135 if (ins->dest_type != ins->src_types[i]) return true;
153 if (ins->dest_type != ins->src_types[1])
307 nir_alu_type_get_type_size(ins->src_types[i]));
434 temp = ins->src_types[0];
435 ins->src_types[0] = ins->src_types[1];
436 ins->src_types[1] = temp;
H A Dmidgard_derivatives.c108 .src_types = { nir_type_float32, nir_type_float32 },
H A Dmidgard_address.c244 ins->src_types[2] = nir_type_uint | nir_src_bit_size(*offset);
261 ins->src_types[1] = nir_type_uint | match.A.def->bit_size;
271 ins->src_types[2] = nir_type_uint | match.B.def->bit_size;
H A Dmidgard_opt_perspective.c122 .src_types = { nir_type_float32 },
H A Dmidgard_emit.c93 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]);
97 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) :
138 bool half_0 = nir_alu_type_get_type_size(ins->src_types[0]) == 16;
139 bool half_1 = nir_alu_type_get_type_size(ins->src_types[1]) == 16;
344 unsigned sz = nir_alu_type_get_type_size(ins->src_types[i]);
623 unsigned sz = nir_alu_type_get_type_size(ins->src_types[1]);
629 unsigned sz = nir_alu_type_get_type_size(ins->src_types[2]);
1054 unsigned isz = nir_alu_type_get_type_size(ins->src_types[1]);
H A Dmidgard_schedule.c237 unsigned sz0 = nir_alu_type_get_type_size(ains->src_types[0]);
238 unsigned sz1 = nir_alu_type_get_type_size(ains->src_types[1]);
399 unsigned type_size = nir_alu_type_get_type_size(ins->src_types[src]) / 8;
401 unsigned max_comp = mir_components_for_type(ins->src_types[src]);
562 if (ins->src_types[0] != ins->src_types[1])
1208 branch->src_types[1] = sadd->dest_type;
1234 vadd->src_types[0] = nir_type_uint32;
1243 vadd->src_types[0] = nir_type_uint32;
1519 mov.dest_type = I->src_types[
[all...]
H A Dmidgard_compile.c123 i.src_types[0] = T; \
628 ins->src_types[to] = nir_op_infos[instr->op].input_types[i] | bits;
1029 ins.src_types[1] = nir_type_float32;
1041 ins.src_types[1] = nir_type_float16;
1051 ins.src_types[1] = ins.src_types[0];
1183 ins.src_types[2] = nir_type_uint32;
1287 .src_types = { 0, 0, 0, type | bitsize },
1299 ins.src_types[2] = type | bitsize;
1312 ins.src_types[
[all...]
H A Dmidgard_ra.c286 m.src_types[1] = m.dest_type;
400 if (nir_alu_type_get_type_size(ins->src_types[v]) == 64)
476 unsigned size = nir_alu_type_get_type_size(ins->src_types[v]);
512 unsigned src_size = nir_alu_type_get_type_size(ins->src_types[s]);
693 util_logbase2(nir_alu_type_get_type_size(ins->src_types[i]) / 8);
901 st.dest_type = st.src_types[1] = ins->dest_type;
1051 .dest_type = ins->src_types[i],
H A Dcompiler.h103 nir_alu_type src_types[MIR_SRC_COUNT]; member in struct:midgard_instruction
540 .src_types = { 0, nir_type_uint32 },
596 ins.src_types[0] = nir_type_uint32;
H A Dmir_promote_uniforms.c333 mov.src_types[1] = mov.dest_type;
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blend.c572 nir_alu_type src_types[] = { src0_type ?: nir_type_float32, src1_type ?: nir_type_float32 }; local in function:GENX
575 for (unsigned i = 0; i < ARRAY_SIZE(src_types); ++i) {
576 src_types[i] = nir_alu_type_get_base_type(nir_type) |
577 nir_alu_type_get_type_size(src_types[i]);
582 glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[0]), 4),
587 glsl_vector_type(nir_get_glsl_base_type_for_nir_type(src_types[1]), 4),
603 src_types[i], nir_type,
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.1.0.rst495 - pan/bi: Fix missing src_types
H A D20.2.0.rst409 - pan/mdg: Use src_types to determine size in scheduling

Completed in 70 milliseconds