Home
last modified time | relevance | path

Searched refs:src_index (Results 1 – 25 of 44) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h78 unsigned src_index:8; /**< map to post-xform attribs */ member
115 int src_index) in draw_emit_vertex_attr() argument
121 if (src_index < 0) { in draw_emit_vertex_attr()
122 src_index = DRAW_ATTR_NONEXIST; in draw_emit_vertex_attr()
127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
Ddraw_pt_emit.c86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare()
98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare()
Ddraw_pipe_vbuf.c231 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float) ); in vbuf_start_prim()
243 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in vbuf_start_prim()
Ddraw_pt_fetch_emit.c117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; in fetch_emit_prepare()
Ddraw_pt_fetch_shade_emit.c138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c87 int src_index = reader->U.P.Arg->Source; in rc_variable_change_dst() local
88 if (src_index == RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
89 src_index = rc_pair_get_src_index( in rc_variable_change_dst()
97 src_index, old_mask)) { in rc_variable_change_dst()
104 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
106 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
108 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
112 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
114 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
116 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
[all …]
Dradeon_optimize.c486 unsigned int src_index; in presub_helper() local
491 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) { in presub_helper()
492 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src) in presub_helper()
493 presub_replace(inst_add, reader.Inst, src_index); in presub_helper()
504 unsigned int src_index) in presub_replace_add() argument
522 inst_reader->U.I.SrcReg[src_index] = in presub_replace_add()
523 chain_srcregs(inst_reader->U.I.SrcReg[src_index], in presub_replace_add()
525 inst_reader->U.I.SrcReg[src_index].File = RC_FILE_PRESUB; in presub_replace_add()
526 inst_reader->U.I.SrcReg[src_index].Index = presub_opcode; in presub_replace_add()
619 unsigned int src_index) in presub_replace_inv() argument
[all …]
/external/drm_hwcomposer/
Dglworker.cpp644 for (unsigned src_index = 0; src_index < cmd.texture_count; src_index++) { in Composite() local
646 texture_name_formatter << "uLayerTexture" << src_index; in Composite()
650 const RenderingCommand::TextureSource &src = cmd.textures[src_index]; in Composite()
651 glUniform1f(gl_alpha_loc + src_index, src.alpha); in Composite()
652 glUniform1f(gl_premult_loc + src_index, src.premult); in Composite()
653 glUniform4f(gl_crop_loc + src_index, src.crop_bounds[0], in Composite()
656 glUniform1i(gl_tex_loc, src_index); in Composite()
657 glUniformMatrix2fv(gl_tex_matrix_loc + src_index, 1, GL_FALSE, in Composite()
659 glActiveTexture(GL_TEXTURE0 + src_index); in Composite()
668 for (unsigned src_index = 0; src_index < cmd.texture_count; src_index++) { in Composite() local
[all …]
/external/v8/src/compiler/
Dgap-resolver.cc49 int src_index = -1; in Split() local
53 src_index = src_loc.register_code() * aliases; in Split()
55 src_index = src_loc.index(); in Split()
71 move->set_source(AllocatedOperand(src_kind, smaller_rep, src_index)); in Split()
75 src_index += src_step; in Split()
77 moves->AddMove(AllocatedOperand(src_kind, smaller_rep, src_index), in Split()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.h48 int src_index:8; member
Dsp_state_derived.c162 sinfo->attrib[i].src_index = i + 1; in softpipe_compute_vertex_info()
Dsp_setup.c622 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in setup_tri_coefficients()
1008 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in setup_line_coefficients()
1294 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in sp_setup_point()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.h41 unsigned int src_index,
Drc_test_helpers.c136 unsigned int src_index, in init_rc_normal_src() argument
142 struct rc_src_register * src_reg = &inst->U.I.SrcReg[src_index]; in init_rc_normal_src()
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c333 int src_index = 0; in WebRtc_SoftResetBinaryDelayEstimatorFarend() local
344 src_index = abs_shift; in WebRtc_SoftResetBinaryDelayEstimatorFarend()
350 &self->binary_far_history[src_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
355 &self->far_bit_counts[src_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h500 unsigned src_index, in tgsi_transform_kill_inst() argument
511 inst.Src[0].Register.Index = src_index; in tgsi_transform_kill_inst()
527 unsigned src_index, in tgsi_transform_tex_inst() argument
544 inst.Src[0].Register.Index = src_index; in tgsi_transform_tex_inst()
Dtgsi_scan.c109 unsigned src_index, in scan_src_operand() argument
161 if ((!is_interp_instruction || src_index != 0) && in scan_src_operand()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c283 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index); in lp_build_tgsi_inst_llvm() local
285 if (src_index == -1) in lp_build_tgsi_inst_llvm()
288 emit_data.src_chan = src_index; in lp_build_tgsi_inst_llvm()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.h72 uint src_index:8; /* where to find values in incoming vertices */ member
Dlp_state_setup.c576 load_attribute(gallivm, args, key, key->inputs[slot].src_index, attribs); in emit_tri_coef()
586 load_attribute(gallivm, args, key, key->inputs[slot].src_index, attribs); in emit_tri_coef()
592 load_attribute(gallivm, args, key, key->inputs[slot].src_index, attribs); in emit_tri_coef()
Dlp_setup_point.c221 unsigned vert_attr = key->inputs[slot].src_index; in setup_point_coefficients()
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_tgsi.c1816 int src_index) in ra_get_src_indirect() argument
1818 const struct tgsi_full_src_register *s = &tgsi_inst->Src[src_index]; in ra_get_src_indirect()
1847 const enum toy_type type = ra_get_type(tgsi, tgsi_inst, src_index, false); in ra_get_src_indirect()
1887 int src_index) in ra_get_src() argument
1889 const struct tgsi_full_src_register *s = &tgsi_inst->Src[src_index]; in ra_get_src()
1894 return ra_get_src_indirect(tgsi, tgsi_inst, src_index); in ra_get_src()
1931 ra_get_type(tgsi, tgsi_inst, src_index, false); in ra_get_src()
1951 const enum toy_type type = ra_get_type(tgsi, tgsi_inst, src_index, false); in ra_get_src()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c1008 uint32_t src_index = src[i]; in vc4_get_shadow_index_buffer() local
1009 assert(src_index <= 0xffff); in vc4_get_shadow_index_buffer()
1010 dst[i] = src_index; in vc4_get_shadow_index_buffer()
/external/v8/src/
Delements.cc834 ElementsKind from_kind, uint32_t capacity, uint32_t src_index, in ConvertElementsWithCapacity() argument
849 Subclass::CopyElementsImpl(*old_elements, src_index, *new_elements, in ConvertElementsWithCapacity()
2144 int src_index, int len, int hole_start, in MoveElements() argument
2151 BackingStore::cast(heap->LeftTrimFixedArray(*dst_elms, src_index)); in MoveElements()
2154 hole_end -= src_index; in MoveElements()
2160 dst_elms->data_start() + src_index, len * kDoubleSize); in MoveElements()
2163 heap->MoveElements(FixedArray::cast(*dst_elms), dst_index, src_index, in MoveElements()
2450 uint32_t copy_size, uint32_t src_index, in CopyArguments() argument
2457 Object* argument = (*args)[src_index + i]; in CopyArguments()

12