Home
last modified time | relevance | path

Searched refs:lod_bias (Results 1 – 25 of 53) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_tex.c72 int lod_max = 1, lod_bias = 0; in nv04_emit_tex_obj() local
84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias + in nv04_emit_tex_obj()
99 (lod_bias & 0xff) << 16; in nv04_emit_tex_obj()
Dnv10_state_tex.c210 int lod_bias = sa->LodBias in nv10_emit_tex_obj() local
215 lod_bias = CLAMP(lod_bias, 0, 15); in nv10_emit_tex_obj()
218 tx_filter |= lod_bias << 8; in nv10_emit_tex_obj()
Dnv20_state_tex.c222 int lod_bias = sa->LodBias in nv20_emit_tex_obj() local
227 lod_bias = CLAMP(lod_bias, 0, 15); in nv20_emit_tex_obj()
230 tx_filter |= lod_bias << 8; in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c161 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; in convert_sampler()
166 sampler->lod_bias = CLAMP(sampler->lod_bias, -16, 16); in convert_sampler()
167 sampler->lod_bias = floorf(sampler->lod_bias * 256) / 256; in convert_sampler()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_sampler.c86 info->lod_bias == 0.0f); in sampler_validate_gen6_non_normalized()
329 uint16_t lod_bias, max_lod, min_lod; in sampler_set_gen6_SAMPLER_STATE() local
377 lod_bias = get_gen6_lod_bias(dev, info->lod_bias); in sampler_set_gen6_SAMPLER_STATE()
389 lod_bias << GEN7_SAMPLER_DW0_LOD_BIAS__SHIFT; in sampler_set_gen6_SAMPLER_STATE()
395 dw0 |= lod_bias << GEN6_SAMPLER_DW0_LOD_BIAS__SHIFT | in sampler_set_gen6_SAMPLER_STATE()
Dilo_state_sampler.h41 float lod_bias; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sampler_state.c94 int lod_bias, in brw_emit_sampler_state() argument
117 ss[0] |= SET_FIELD(lod_bias & 0x1fff, GEN7_SAMPLER_LOD_BIAS); in brw_emit_sampler_state()
133 ss[0] |= SET_FIELD(lod_bias & 0x7ff, GEN4_SAMPLER_LOD_BIAS) | in brw_emit_sampler_state()
528 const int lod_bias = in brw_update_sampler_state() local
553 base_level, min_lod, max_lod, lod_bias, in brw_update_sampler_state()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c214 DRAW_LLVM_SAMPLER_MEMBER(lod_bias, DRAW_JIT_SAMPLER_LOD_BIAS, TRUE)
289 sampler->dynamic_state.base.lod_bias = draw_llvm_sampler_lod_bias; in draw_llvm_sampler_soa_create()
Ddraw_llvm.h77 float lod_bias; member
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp261 SWR_SAMPLER_MEMBER(lod_bias, TRUE) in SWR_SAMPLER_MEMBER()
344 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias; in swr_sampler_soa_create()
Dswr_context.h79 float lod_bias;
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c220 LP_LLVM_SAMPLER_MEMBER(lod_bias, LP_JIT_SAMPLER_LOD_BIAS, TRUE) in LP_LLVM_SAMPLER_MEMBER()
315 sampler->dynamic_state.base.lod_bias = lp_llvm_sampler_lod_bias; in lp_llvm_sampler_soa_create()
Dlp_jit.h69 float lod_bias; member
Dlp_jit.c138 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, lod_bias, in lp_jit_create_types()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c208 ss->lod_bias, /* float */ in define_sampler_state_object()
237 cso->lod_bias = sampler->lod_bias; in svga_create_sampler_state()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture.c58 COND(ss->lod_bias != 0.0, VIVS_TE_SAMPLER_LOD_CONFIG_BIAS_ENABLE) | in etna_create_sampler_state()
59 VIVS_TE_SAMPLER_LOD_CONFIG_BIAS(etna_float_to_fixp55(ss->lod_bias)); in etna_create_sampler_state()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h273 (*lod_bias)(const struct lp_sampler_dynamic_state *state, member
496 LLVMValueRef lod_bias, /* optional */
Dlp_bld_sample.c169 if (sampler->lod_bias != 0.0f) { in lp_sampler_static_sampler_state()
704 LLVMValueRef lod_bias, /* optional */ in lp_build_lod_selector() argument
768 if (!lod_bias && in lp_build_lod_selector()
824 if (lod_bias) { in lp_build_lod_selector()
826 lod_bias = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type, in lp_build_lod_selector()
827 lodf_bld->type, lod_bias, 0); in lp_build_lod_selector()
828 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias"); in lp_build_lod_selector()
835 dynamic_state->lod_bias(dynamic_state, bld->gallivm, in lp_build_lod_selector()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp505 if (n.bc.lod_bias) in dump()
506 s << " LB:" << n.bc.lod_bias; in dump()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h79 unsigned lod_bias; member
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h380 float lod_bias; /**< LOD/lambda bias */ member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dinstr-a2xx.h336 uint8_t lod_bias : 7; member
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c134 A3XX_TEX_SAMP_1_LOD_BIAS(cso->lod_bias) | in fd3_sampler_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c133 so->texsamp0 |= A4XX_TEX_SAMP_0_LOD_BIAS(cso->lod_bias); in fd4_sampler_state_create()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_texture.c177 so->filt |= (int)(cso->lod_bias * 256.0) & 0x1fff; in nv30_sampler_state_create()

123