| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_asm.c | 43 const struct etna_inst_src *src = &inst->src[i]; local 45 if (!etna_rgroup_is_uniform(src->rgroup)) 49 uni_rgroup = src->rgroup; 50 uni_reg = src->reg; 52 if (uni_rgroup != src->rgroup || uni_reg != src->reg) { 65 if (inst->imm && inst->src[2].use) 83 COND(inst->src[0].use, VIV_ISA_WORD_1_SRC0_USE) | 84 VIV_ISA_WORD_1_SRC0_REG(inst->src[0].reg) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/ |
| vc4_qir_validate.c | 92 if (inst->src[qir_get_tex_uniform_src(inst)].file != 109 struct qreg src = inst->src[i]; local 111 switch (src.file) { 113 if (src.index >= c->num_temps) 125 if (qpu_encode_small_immediate(src.index) == ~0) 146 fail_instr(c, inst, "Bad src file");
|
| vc4_opt_small_immediates.c | 49 if (inst->src[i].file == QFILE_SMALL_IMM) 67 struct qreg src = qir_follow_movs(c, inst->src[i]); local 69 if (src.file != QFILE_UNIF || 70 src.pack || 71 c->uniform_contents[src.index] != 84 uint32_t imm = c->uniform_data[src.index]; 94 inst->src[i].file = QFILE_SMALL_IMM; 95 inst->src[i].index = imm;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| s_bitmap.c | 78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, local 85 if (*src & mask) { 91 src++; 101 src++; 107 if (*src & mask) { 113 src++; 123 src++; 176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, 183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE; 185 src++ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_asm.c | 43 const struct etna_inst_src *src = &inst->src[i]; local 45 if (!etna_rgroup_is_uniform(src->rgroup)) 49 uni_rgroup = src->rgroup; 50 uni_reg = src->reg; 52 if (uni_rgroup != src->rgroup || uni_reg != src->reg) { 65 if (inst->imm && inst->src[2].use) 83 COND(inst->src[0].use, VIV_ISA_WORD_1_SRC0_USE) | 84 VIV_ISA_WORD_1_SRC0_REG(inst->src[0].reg) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/ |
| vc4_qir_validate.c | 92 if (inst->src[qir_get_tex_uniform_src(inst)].file != 109 struct qreg src = inst->src[i]; local 111 switch (src.file) { 113 if (src.index >= c->num_temps) 125 if (qpu_encode_small_immediate(src.index) == ~0) 146 fail_instr(c, inst, "Bad src file");
|
| vc4_opt_small_immediates.c | 49 if (inst->src[i].file == QFILE_SMALL_IMM) 67 struct qreg src = qir_follow_movs(c, inst->src[i]); local 69 if (src.file != QFILE_UNIF || 70 src.pack || 71 c->uniform_contents[src.index] != 84 uint32_t imm = c->uniform_data[src.index]; 94 inst->src[i].file = QFILE_SMALL_IMM; 95 inst->src[i].index = imm;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| s_bitmap.c | 78 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, local 85 if (*src & mask) { 91 src++; 101 src++; 107 if (*src & mask) { 113 src++; 123 src++; 176 const GLubyte *src = (const GLubyte *) _mesa_image_address2d(unpack, 183 span.array->mask[col] = (*src & mask) ? GL_TRUE : GL_FALSE; 185 src++ [all...] |
| /xsrc/external/mit/fontconfig/dist/conf.d/ |
| link_confs.py | 30 src = os.path.join(args.availpath, link) variable 37 os.symlink(os.path.relpath(src, start=args.confpath), dst)
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_vec4_gs_nir.cpp | 37 src_reg src; local 45 const unsigned vertex = nir_src_as_uint(instr->src[0]); 46 const unsigned offset_reg = nir_src_as_uint(instr->src[1]); 53 src = src_reg(ATTR, input_array_stride * vertex + 56 src.swizzle = BRW_SWZ_COMP_INPUT(nir_intrinsic_component(instr)); 58 dest = get_nir_dest(instr->dest, src.type); 60 emit(MOV(dest, src)); 69 retype(get_nir_src(instr->src[0], 1), BRW_REGISTER_TYPE_UD); 77 retype(get_nir_src(instr->src[0], 1), BRW_REGISTER_TYPE_UD); 83 retype(get_nir_src(instr->src[0], 1), BRW_REGISTER_TYPE_UD) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| vtn_amd.c | 71 nir_ssa_def *src[3] = { NULL, }; local 73 src[i] = vtn_ssa_value(b, w[i + 5])->def; 77 val->ssa->def = nir_fmin3(nb, src[0], src[1], src[2]); 80 val->ssa->def = nir_umin3(nb, src[0], src[1], src[2]); 83 val->ssa->def = nir_imin3(nb, src[0], src[1], src[2]) [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| alpha-loop.c | 13 uint32_t *src, *dest; local 18 src = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * 4); 23 s = pixman_image_create_bits (PIXMAN_a2r10g10b10, WIDTH, HEIGHT, src, WIDTH * 4);
|
| infinite-loop.c | 21 pixman_image_t *src, *dest; local 23 src = pixman_image_create_bits ( 28 pixman_image_set_transform (src, &transform); 29 pixman_image_set_repeat (src, PIXMAN_REPEAT_NORMAL); 30 pixman_image_set_filter (src, PIXMAN_FILTER_BILINEAR, NULL, 0); 36 PIXMAN_OP_OVER, src, NULL, dest, -3, -3, 0, 0, 0, 0, 6, 2); 38 pixman_image_unref (src);
|
| /xsrc/external/mit/xf86-video-glint/dist/src/ |
| glint_shadow.c | 25 unsigned char *src, *dst; local 33 src = pGlint->ShadowPtr + (pbox->y1 * pGlint->ShadowPitch) + 38 memcpy(dst, src, width); 40 src += pGlint->ShadowPitch;
|
| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbgetsp.c | 34 FbBits *src, *dst; local 47 fbGetDrawable(pDrawable, src, srcStride, srcBpp, srcXoff, srcYoff); 53 fbBlt(src + (ppt->y + srcYoff) * srcStride, srcStride,
|
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| fbgetsp.c | 37 FbBits *src, *dst; local 58 fbGetDrawable (pDrawable, src, srcStride, srcBpp, srcXoff, srcYoff); 65 fbBlt (src + (ppt->y + srcYoff) * srcStride, srcStride,
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| gl_nir_lower_images.c | 82 deref = nir_src_as_deref(intrinsic->src[0]); 96 nir_ssa_def *src; local 98 src = nir_load_deref(b, deref); 100 src = nir_iadd_imm(b, 104 nir_rewrite_image_intrinsic(intrinsic, src, bindless);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_packing.c | 38 lower_pack_64_from_32(nir_builder *b, nir_ssa_def *src) 40 return nir_pack_64_2x32_split(b, nir_channel(b, src, 0), 41 nir_channel(b, src, 1)); 45 lower_unpack_64_to_32(nir_builder *b, nir_ssa_def *src) 47 return nir_vec2(b, nir_unpack_64_2x32_split_x(b, src), 48 nir_unpack_64_2x32_split_y(b, src)); 52 lower_pack_32_from_16(nir_builder *b, nir_ssa_def *src) 54 return nir_pack_32_2x16_split(b, nir_channel(b, src, 0), 55 nir_channel(b, src, 1)); 59 lower_unpack_32_to_16(nir_builder *b, nir_ssa_def *src) 117 nir_ssa_def *src = nir_ssa_for_alu_src(b, alu_instr, 0); local [all...] |
| nir_lower_var_copies.c | 103 assert(copy->src[0].is_ssa && copy->src[1].is_ssa); 104 nir_deref_instr *dst = nir_instr_as_deref(copy->src[0].ssa->parent_instr); 105 nir_deref_instr *src = nir_instr_as_deref(copy->src[1].ssa->parent_instr); local 109 nir_deref_path_init(&src_path, src, NULL); 141 nir_deref_instr_remove_if_unused(nir_src_as_deref(copy->src[0])); 142 nir_deref_instr_remove_if_unused(nir_src_as_deref(copy->src[1]));
|
| nir_split_var_copies.c | 67 nir_deref_instr *dst, nir_deref_instr *src, 72 glsl_get_bare_type(src->type)); 73 if (glsl_type_is_vector_or_scalar(src->type)) { 74 nir_copy_deref_with_access(b, dst, src, dst_access, src_access); 75 } else if (glsl_type_is_struct_or_ifc(src->type)) { 76 for (unsigned i = 0; i < glsl_get_length(src->type); i++) { 78 nir_build_deref_struct(b, src, i), 82 assert(glsl_type_is_matrix(src->type) || glsl_type_is_array(src->type)); 84 nir_build_deref_array_wildcard(b, src), 110 nir_deref_instr *src = local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_cf.c | 49 struct ir3_register *src = instr->srcs[0]; local 59 if (src->flags & (IR3_REG_RELATIV | IR3_REG_ARRAY)) 62 /* Check that the source of the conv matches the type of the src 107 * uses of *all* conv's that used that src to be a simple mov that 112 rewrite_src_uses(struct ir3_instruction *src) 114 foreach_ssa_use (use, src) { 117 if (is_half(src)) { 130 struct ir3_instruction *src; local 136 src = ssa(conv->srcs[0]); 137 if (!src) [all...] |
| ir3_cp_postsched.c | 40 * Check if any instruction before `use` and after `src` writes to the 46 * between `use` and `src` to the same array, so that `use` points to 50 has_conflicting_write(struct ir3_instruction *src, struct ir3_instruction *use, 53 assert(src->block == use->block); 56 /* NOTE that since src and use are in the same block, src by 60 if (instr == src) 107 /* Can we fold the mov src into use without invalid flags? */ 111 struct ir3_register *src = mov->srcs[0]; local 117 if (!ir3_valid_flags(use, n, reg->flags | src->flags) 127 struct ir3_register *src = mov->srcs[0]; local [all...] |
| ir3_dce.c | 60 mark_array_use(instr, reg); /* src */ 62 foreach_ssa_src_n (src, i, instr) { 63 instr_dce(src, __is_false_dep(instr, i)); 77 struct ir3_instruction *src = ssa(instr->srcs[0]); local 81 if (src && is_tex_or_prefetch(src) && (src->dsts[0]->wrmask > 1)) { 82 src->dsts[0]->wrmask &= ~(1 << instr->split.off); 153 struct ir3_instruction *src = ssa(instr->srcs[0]); local 154 if (!is_tex_or_prefetch(src)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/indices/ |
| u_indices.c | 55 uint8_t *src = (uint8_t *)in + start; local 58 *dst++ = *src++;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| i915_state_derived.c | 51 int src; local 85 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_POSITION, 0); 87 draw_emit_vertex_attr(&vinfo, EMIT_4F, src); 91 draw_emit_vertex_attr(&vinfo, EMIT_3F, src); 98 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_PSIZE, 0); 99 if (src != -1) { 100 draw_emit_vertex_attr(&vinfo, EMIT_1F, src); 107 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_COLOR, 0); 108 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGRA, src); 114 src = draw_find_shader_output(i915->draw, TGSI_SEMANTIC_COLOR, 1) [all...] |