Searched refs:src_index (Results 1 - 25 of 55) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_vertex.h78 unsigned src_index:8; /**< map to post-xform attribs */ member in struct:vertex_info::__anon799694280108
108 * \param src_index indicates which post-transformed vertex attrib slot
115 int src_index)
119 /* If the src_index is negative, meaning it hasn't been found
121 if (src_index < 0) {
122 src_index = DRAW_ATTR_NONEXIST;
127 vinfo->attrib[n].src_index = src_index;
113 draw_emit_vertex_attr(struct vertex_info * vinfo,enum attrib_emit emit,int src_index) argument
H A Ddraw_pt_emit.c86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float);
98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) {
H A Ddraw_pipe_vbuf.c213 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float));
225 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) {
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_vertex.h78 unsigned src_index:8; /**< map to post-xform attribs */ member in struct:vertex_info::__anonad2183fb0108
108 * \param src_index indicates which post-transformed vertex attrib slot
115 int src_index)
119 /* If the src_index is negative, meaning it hasn't been found
121 if (src_index < 0) {
122 src_index = DRAW_ATTR_NONEXIST;
127 vinfo->attrib[n].src_index = src_index;
113 draw_emit_vertex_attr(struct vertex_info * vinfo,enum attrib_emit emit,int src_index) argument
H A Ddraw_pt_emit.c88 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float);
100 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) {
H A Ddraw_pipe_vbuf.c215 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float));
227 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.h41 unsigned int src_index,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.h48 int src_index:8; member in struct:sp_setup_info::__anon957751930108
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.h41 unsigned int src_index,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.h48 int src_index:8; member in struct:sp_setup_info::__anon22aa13060108
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.c87 int src_index = reader->U.P.Arg->Source; local in function:rc_variable_change_dst
88 if (src_index == RC_PAIR_PRESUB_SRC) {
89 src_index = rc_pair_get_src_index(
97 src_index, old_mask)) {
104 pair_inst->RGB.Src[src_index]
106 pair_inst->RGB.Src[src_index]
108 pair_inst->RGB.Src[src_index]
112 pair_inst->Alpha.Src[src_index]
114 pair_inst->Alpha.Src[src_index]
116 pair_inst->Alpha.Src[src_index]
[all...]
H A Dradeon_optimize.c486 unsigned int src_index; local in function:presub_helper
491 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) {
492 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src)
493 presub_replace(inst_add, reader.Inst, src_index);
504 unsigned int src_index)
522 inst_reader->U.I.SrcReg[src_index] =
523 chain_srcregs(inst_reader->U.I.SrcReg[src_index],
525 inst_reader->U.I.SrcReg[src_index]
501 presub_replace_add(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
616 presub_replace_inv(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.c87 int src_index = reader->U.P.Arg->Source; local in function:rc_variable_change_dst
88 if (src_index == RC_PAIR_PRESUB_SRC) {
89 src_index = rc_pair_get_src_index(
97 src_index, old_mask)) {
104 pair_inst->RGB.Src[src_index]
106 pair_inst->RGB.Src[src_index]
108 pair_inst->RGB.Src[src_index]
112 pair_inst->Alpha.Src[src_index]
114 pair_inst->Alpha.Src[src_index]
116 pair_inst->Alpha.Src[src_index]
[all...]
H A Dradeon_optimize.c488 unsigned int src_index; local in function:presub_helper
493 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) {
494 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src)
495 presub_replace(inst_add, reader.Inst, src_index);
506 unsigned int src_index)
524 inst_reader->U.I.SrcReg[src_index] =
525 chain_srcregs(inst_reader->U.I.SrcReg[src_index],
527 inst_reader->U.I.SrcReg[src_index]
503 presub_replace_add(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
618 presub_replace_inv(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_interp.h55 * src_index.
72 uint src_index:8; /* where to find values in incoming vertices */ member in struct:lp_shader_input
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_bld_interp.h55 * src_index.
72 uint src_index:8; /* where to find values in incoming vertices */ member in struct:lp_shader_input
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_vectorize.c308 unsigned src_index = 5; local in function:instr_try_combine
311 src_index = i;
315 assert(src_index != 5);
321 i < nir_ssa_alu_instr_src_components(use, src_index); i++) {
322 use->src[src_index].swizzle[i] += alu1_components;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.c286 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index); local in function:lp_build_tgsi_inst_llvm
288 if (src_index == -1)
291 emit_data.src_chan = src_index;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi.c286 int src_index = get_src_chan_idx(inst->Instruction.Opcode, chan_index); local in function:lp_build_tgsi_inst_llvm
288 if (src_index == -1)
291 emit_data.src_chan = src_index;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_transform.h506 unsigned src_index,
516 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index);
532 unsigned src_index,
548 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index);
504 tgsi_transform_kill_inst(struct tgsi_transform_context * ctx,unsigned src_file,unsigned src_index,unsigned src_swizzle,boolean negate) argument
528 tgsi_transform_tex_inst(struct tgsi_transform_context * ctx,unsigned dst_file,unsigned dst_index,unsigned src_file,unsigned src_index,unsigned tex_target,unsigned sampler_index) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_prim_emit.c79 const uint j = vinfo->attrib[i].src_index;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_prim_emit.c73 const uint32_t j = vinfo->attrib[i].src_index;
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_transform.h524 unsigned src_index,
534 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index);
550 unsigned src_index,
566 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index);
522 tgsi_transform_kill_inst(struct tgsi_transform_context * ctx,unsigned src_file,unsigned src_index,unsigned src_swizzle,boolean negate) argument
546 tgsi_transform_tex_inst(struct tgsi_transform_context * ctx,unsigned dst_file,unsigned dst_index,unsigned src_file,unsigned src_index,unsigned tex_target,unsigned sampler_index) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_nir.h85 src_index(nir_function_impl *impl, nir_src *src) function in typeref:typename:unsigned
H A Detnaviv_compiler_nir_liveness.c99 unsigned i = state->live_map[src_index(state->impl, src)];

Completed in 37 milliseconds

123