Home
last modified time | relevance | path

Searched refs:TexSrcUnit (Results 1 – 19 of 19) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_tex.c74 state_constant, inst->U.I.TexSrcUnit); in scale_texcoords()
129 rc_wrap_mode wrapmode = compiler->state.unit[inst->U.I.TexSrcUnit].wrap_mode; in radeonTransformTEX()
131 compiler->state.unit[inst->U.I.TexSrcUnit].non_normalized_coords; in radeonTransformTEX()
143 ((c->Program.ShadowSamplers & (1 << inst->U.I.TexSrcUnit)) || in radeonTransformTEX()
144 (compiler->state.unit[inst->U.I.TexSrcUnit].compare_mode_enabled))) { in radeonTransformTEX()
145 rc_compare_func comparefunc = compiler->state.unit[inst->U.I.TexSrcUnit].texture_compare_func; in radeonTransformTEX()
151 inst->U.I.SrcReg[0] = shadow_pass_value(compiler, inst->U.I.TexSrcUnit); in radeonTransformTEX()
153 inst->U.I.SrcReg[0] = shadow_fail_value(compiler, inst->U.I.TexSrcUnit); in radeonTransformTEX()
252 compiler->state.unit[inst->U.I.TexSrcUnit].texture_swizzle); in radeonTransformTEX()
253 inst_cmp->U.I.SrcReg[pass] = shadow_pass_value(compiler, inst->U.I.TexSrcUnit); in radeonTransformTEX()
[all …]
Dradeon_program.h105 unsigned int TexSrcUnit:5; member
Dradeon_program_print.c317 inst->U.I.TexSrcUnit, in rc_print_normal_instruction()
Dr300_fragprog_emit.c435 unit = inst->U.I.TexSrcUnit; in emit_tex()
Dr500_fragprog_emit.c386 code->inst[ip].inst1 = R500_TEX_ID(inst->TexSrcUnit) in emit_tex()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c255 *shadowSamplers |= 1 << dst->U.I.TexSrcUnit; in transform_texture()
260 *shadowSamplers |= 1 << dst->U.I.TexSrcUnit; in transform_texture()
265 *shadowSamplers |= 1 << dst->U.I.TexSrcUnit; in transform_texture()
285 dst->U.I.TexSrcUnit = src->Src[i].Register.Index; in transform_instruction()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c167 inst[ic].TexSrcUnit = 0; in get_pixel_transfer_program()
221 inst[ic].TexSrcUnit = 1; in get_pixel_transfer_program()
235 inst[ic].TexSrcUnit = 1; in get_pixel_transfer_program()
Dst_cb_drawpixels.c239 p->Instructions[ic].TexSrcUnit = 0; in st_make_drawpix_z_stencil_program()
259 p->Instructions[ic].TexSrcUnit = 1; in st_make_drawpix_z_stencil_program()
Dst_cb_bitmap.c145 p->Instructions[ic].TexSrcUnit = samplerIndex; in make_bitmap_fragment_program()
Dst_mesa_to_tgsi.c716 src[num_src++] = t->samplers[inst->TexSrcUnit]; in compile_instruction()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_fp.c223 inst->TexSrcUnit = tex_src_unit; in emit_tex_op()
667 const GLuint unit = c->fp->program.Base.SamplerUnits[inst->TexSrcUnit]; in precalc_tex()
1145 out->TexSrcUnit = fp->program.Base.SamplerUnits[inst->TexSrcUnit]; in brw_wm_pass_fp()
1146 assert(out->TexSrcUnit < BRW_MAX_TEX_UNIT); in brw_wm_pass_fp()
Dbrw_wm_pass0.c325 out->tex_unit = inst->TexSrcUnit; in translate_insn()
/external/mesa3d/src/mesa/program/
Dprog_instruction.h392 GLuint TexSrcUnit:5; member
Dprog_execute.c393 const GLuint unit = machine->Samplers[inst->TexSrcUnit]; in fetch_texel()
399 inst->SrcReg[0].Index == FRAG_ATTRIB_TEX0 + inst->TexSrcUnit) { in fetch_texel()
1667 inst->TexSrcUnit, in _mesa_execute_program()
1689 inst->TexSrcUnit, in _mesa_execute_program()
1709 inst->TexSrcUnit, color); in _mesa_execute_program()
1724 machine->Samplers[inst->TexSrcUnit], color); in _mesa_execute_program()
Dnvfragparse.c1425 inst->TexSrcUnit = unit; in Parse_InstructionSequence()
1444 inst->TexSrcUnit = unit; in Parse_InstructionSequence()
Dprog_print.c743 fprintf(f, ", texture[%d], ", inst->TexSrcUnit); in _mesa_fprint_instruction_opt()
Dprogram_parse.y426 $$->Base.TexSrcUnit = $6;
485 $$->Base.TexSrcUnit = $10;
Dir_to_mesa.cpp2830 mesa_inst->TexSrcUnit = inst->sampler; in get_mesa_program()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c272 GLuint unit = program->Base.SamplerUnits[inst->TexSrcUnit]; \