HomeSort by relevance Sort by last modified time
    Searched refs:num_srcs (Results 1 - 25 of 37) sorted by null

1 2

  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_conv.h 70 const LLVMValueRef *srcs, unsigned num_srcs,
79 unsigned num_srcs,
87 const LLVMValueRef *src, unsigned num_srcs,
lp_bld_conv.c 47 * src_type.length * num_srcs == dst_type.length * num_dsts
445 unsigned num_srcs,
449 int num_dsts = num_srcs;
477 num_dsts = (num_srcs + 3) / 4;
478 dst_type->length = num_srcs * 4 >= 16 ? 16 : num_srcs * 4;
480 lp_build_conv(gallivm, src_type, *dst_type, src, num_srcs, dst, num_dsts);
488 num_dsts = (num_srcs + 1) / 2;
489 dst_type->length = num_srcs * 8 >= 16 ? 16 : num_srcs * 8
    [all...]
lp_bld_pack.h 107 unsigned num_srcs,
141 const LLVMValueRef *src, unsigned num_srcs);
148 const LLVMValueRef *src, unsigned num_srcs,
lp_bld_pack.c 221 * Combines vectors to reduce from num_srcs to num_dsts.
224 * num_srcs must be exactly divisible by num_dsts.
226 * e.g. For num_srcs = 4 and src = [x, y, z, w]
234 unsigned num_srcs,
238 int size = num_srcs / num_dsts;
241 assert(num_srcs >= num_dsts);
242 assert((num_srcs % size) == 0);
244 if (num_srcs == num_dsts) {
791 const LLVMValueRef *src, unsigned num_srcs)
805 assert(src_type.length * num_srcs == dst_type.length)
    [all...]
lp_bld_swizzle.h 129 unsigned num_srcs,
lp_bld_swizzle.c 690 * Transpose from AOS <-> SOA for num_srcs
696 unsigned num_srcs,
699 switch (num_srcs) {
  /external/mesa3d/src/compiler/nir/
nir_lower_samplers.c 114 instr->num_srcs + 2);
116 for (unsigned i = 0; i < instr->num_srcs; i++) {
128 instr->src[instr->num_srcs].src_type = nir_tex_src_texture_offset;
129 instr->num_srcs++;
131 &instr->src[instr->num_srcs - 1].src,
134 instr->src[instr->num_srcs].src_type = nir_tex_src_sampler_offset;
135 instr->num_srcs++;
137 &instr->src[instr->num_srcs - 1].src,
nir_intrinsics.c 37 .num_srcs = _num_srcs, \
nir_search.c 321 unsigned num_srcs; member in struct:bitsize_tree
342 tree->num_srcs = info.num_inputs;
358 tree->num_srcs = 0;
365 tree->num_srcs = 0;
383 for (unsigned i = 0; i < tree->num_srcs; i++) {
399 if (tree->num_srcs && tree->common_size) {
405 for (unsigned i = 0; i < tree->num_srcs; i++) {
429 for (unsigned i = 0; i < tree->num_srcs; i++) {
nir_normalize_cubemap_coords.c 51 for (unsigned i = 0; i < tex->num_srcs; i++) {
nir.c 450 unsigned num_srcs = nir_op_infos[op].num_inputs; local
454 sizeof(nir_alu_instr) + num_srcs * sizeof(nir_alu_src));
459 for (unsigned i = 0; i < num_srcs; i++)
489 unsigned num_srcs = nir_intrinsic_infos[op].num_srcs; local
493 sizeof(nir_intrinsic_instr) + num_srcs * sizeof(nir_src));
501 for (unsigned i = 0; i < num_srcs; i++)
522 nir_tex_instr_create(nir_shader *shader, unsigned num_srcs)
529 instr->num_srcs = num_srcs;
1271 unsigned num_srcs = nir_intrinsic_infos[instr->intrinsic].num_srcs; local
    [all...]
nir_instr_set.c 146 hash = HASH(hash, instr->num_srcs);
148 for (unsigned i = 0; i < instr->num_srcs; i++) {
299 if (tex1->num_srcs != tex2->num_srcs)
301 for (unsigned i = 0; i < tex1->num_srcs; i++) {
377 for (unsigned i = 0; i < info->num_srcs; i++) {
nir_lower_tex.c 55 for (unsigned i = 0; i < tex->num_srcs; i++) {
188 for (unsigned i = 0; i < tex->num_srcs; i++) {
313 int num_srcs = tex->num_srcs - 1; local
314 nir_tex_instr *txl = nir_tex_instr_create(b->shader, num_srcs);
331 for (int i = 0; i < tex->num_srcs; i++) {
344 assert(src_num == num_srcs);
562 for (unsigned i = 0; i < tex->num_srcs; i++) {
nir_lower_atomics.c 157 for (unsigned i = 0; i < nir_intrinsic_infos[instr->intrinsic].num_srcs; i++)
nir_clone.c 356 unsigned num_srcs = nir_intrinsic_infos[itr->intrinsic].num_srcs; local
369 for (unsigned i = 0; i < num_srcs; i++)
404 nir_tex_instr *ntex = nir_tex_instr_create(state->ns, tex->num_srcs);
410 for (unsigned i = 0; i < ntex->num_srcs; i++) {
nir_print.c 544 unsigned num_srcs = info->num_srcs; local
554 for (unsigned i = 0; i < num_srcs; i++) {
698 for (unsigned i = 0; i < instr->num_srcs; i++) {
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_test_conv.c 101 struct lp_type src_type, unsigned num_srcs,
129 for(i = 0; i < num_srcs; ++i) {
135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts);
166 unsigned num_srcs; local
198 num_srcs = 1;
203 num_srcs = dst_type.length/src_type.length;
207 num_srcs = 1;
211 assert(src_type.length * num_srcs == dst_type.length * num_dsts);
218 func = add_conv_test(gallivm, src_type, num_srcs, dst_type, num_dsts);
237 for(j = 0; j < num_srcs; ++j)
    [all...]
lp_state_fs.c     [all...]
  /external/mesa3d/src/mesa/program/
prog_to_nir.c 270 unsigned num_srcs = nir_op_infos[op].num_inputs; local
274 for (i = 0; i < num_srcs; i++)
526 unsigned num_srcs; local
531 num_srcs = 1;
535 num_srcs = 2;
539 num_srcs = 3;
543 num_srcs = 2;
547 num_srcs = 2;
555 num_srcs++;
557 instr = nir_tex_instr_create(b->shader, num_srcs);
    [all...]
prog_opt_constant_fold.c 34 src_regs_are_constant(const struct prog_instruction *inst, unsigned num_srcs)
38 for (i = 0; i < num_srcs; i++) {
  /external/mesa3d/src/gallium/drivers/freedreno/a2xx/
disasm-a2xx.c 126 uint32_t num_srcs; member in struct:__anon29478
129 #define INSTR(opc, num_srcs) [opc] = { num_srcs, #opc }
240 if (vector_instructions[alu->vector_opc].num_srcs == 3) {
247 if (vector_instructions[alu->vector_opc].num_srcs > 1) {
  /external/mesa3d/src/intel/vulkan/
anv_nir_apply_pipeline_layout.c 152 tex->num_srcs + 1);
154 for (unsigned i = 0; i < tex->num_srcs; i++) {
165 tex->src[tex->num_srcs].src_type = src_type;
166 nir_instr_rewrite_src(&tex->instr, &tex->src[tex->num_srcs].src,
168 tex->num_srcs++;
  /external/mesa3d/src/compiler/glsl/
glsl_to_nir.cpp 1864 unsigned num_srcs; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/nir/
tgsi_to_nir.c 833 unsigned num_srcs = nir_op_infos[op].num_inputs; local
837 for (i = 0; i < num_srcs; i++)
1256 unsigned num_srcs, samp = 1, sview, i; local
    [all...]
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_nir_lower_txf_ms.c 56 for (int i = 0; i < txf_ms->num_srcs; i++) {

Completed in 539 milliseconds

1 2