Searched refs:TexSrcUnit (Results 1 – 13 of 13) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_tex.c | 74 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 & (1U << 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 …]
|
D | radeon_program.h | 105 unsigned int TexSrcUnit:5; member
|
D | r300_fragprog_emit.c | 437 unit = inst->U.I.TexSrcUnit; in emit_tex()
|
D | radeon_program_print.c | 317 inst->U.I.TexSrcUnit, in rc_print_normal_instruction()
|
D | r500_fragprog_emit.c | 388 code->inst[ip].inst1 = R500_TEX_ID(inst->TexSrcUnit) in emit_tex()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_tgsi_to_rc.c | 228 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 233 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 238 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 249 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 254 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 259 *shadowSamplers |= 1U << dst->U.I.TexSrcUnit; in transform_texture() 279 dst->U.I.TexSrcUnit = src->Src[i].Register.Index; in transform_instruction()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_execute.c | 299 const GLuint unit = machine->Samplers[inst->TexSrcUnit]; in fetch_texel() 305 inst->SrcReg[0].Index == VARYING_SLOT_TEX0 + inst->TexSrcUnit) { in fetch_texel() 1085 inst->TexSrcUnit, in _mesa_execute_program() 1107 inst->TexSrcUnit, in _mesa_execute_program() 1127 inst->TexSrcUnit, color); in _mesa_execute_program() 1142 machine->Samplers[inst->TexSrcUnit], color); in _mesa_execute_program()
|
D | prog_instruction.h | 240 GLuint TexSrcUnit:5; member
|
D | prog_to_nir.c | 559 nir_variable *var = c->sampler_vars[prog_inst->TexSrcUnit]; in ptn_tex() 564 snprintf(samplerName, sizeof(samplerName), "sampler_%d", prog_inst->TexSrcUnit); in ptn_tex() 566 var->data.binding = prog_inst->TexSrcUnit; in ptn_tex() 568 c->sampler_vars[prog_inst->TexSrcUnit] = var; in ptn_tex()
|
D | prog_print.c | 669 fprintf(f, ", texture[%d], ", inst->TexSrcUnit); in _mesa_fprint_instruction_opt()
|
D | program_parse.y | 441 $$->Base.TexSrcUnit = $6; 492 $$->Base.TexSrcUnit = $10;
|
D | ir_to_mesa.cpp | 2891 mesa_inst->TexSrcUnit = inst->sampler; in get_mesa_program()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_fragprog.c | 283 GLuint unit = program->SamplerUnits[inst->TexSrcUnit]; \
|