/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_tex.c | 72 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()
|
D | nv10_state_tex.c | 210 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()
|
D | nv20_state_tex.c | 222 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/ |
D | st_atom_sampler.c | 161 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/ |
D | ilo_state_sampler.c | 86 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()
|
D | ilo_state_sampler.h | 41 float lod_bias; member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_sampler_state.c | 94 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/ |
D | draw_llvm_sample.c | 214 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()
|
D | draw_llvm.h | 77 float lod_bias; member
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 261 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()
|
D | swr_context.h | 79 float lod_bias;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 220 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()
|
D | lp_jit.h | 69 float lod_bias; member
|
D | lp_jit.c | 138 LP_CHECK_MEMBER_OFFSET(struct lp_jit_sampler, lod_bias, in lp_jit_create_types()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_sampler.c | 208 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/ |
D | etnaviv_texture.c | 58 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/ |
D | lp_bld_sample.h | 273 (*lod_bias)(const struct lp_sampler_dynamic_state *state, member 496 LLVMValueRef lod_bias, /* optional */
|
D | lp_bld_sample.c | 169 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/ |
D | sb_bc_dump.cpp | 505 if (n.bc.lod_bias) in dump() 506 s << " LB:" << n.bc.lod_bias; in dump()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.h | 79 unsigned lod_bias; member
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 380 float lod_bias; /**< LOD/lambda bias */ member
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | instr-a2xx.h | 336 uint8_t lod_bias : 7; member
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 134 A3XX_TEX_SAMP_1_LOD_BIAS(cso->lod_bias) | in fd3_sampler_state_create()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 133 so->texsamp0 |= A4XX_TEX_SAMP_0_LOD_BIAS(cso->lod_bias); in fd4_sampler_state_create()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_texture.c | 177 so->filt |= (int)(cso->lod_bias * 256.0) & 0x1fff; in nv30_sampler_state_create()
|