Home
last modified time | relevance | path

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

12

/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/gallium/drivers/llvmpipe/
Dlp_tex_sample.c159 LP_LLVM_TEXTURE_MEMBER(lod_bias, LP_JIT_TEXTURE_LOD_BIAS, TRUE) in LP_LLVM_TEXTURE_MEMBER()
182 LLVMValueRef lod_bias, /* optional */ in lp_llvm_sampler_soa_emit_fetch_texel() argument
202 lod_bias, explicit_lod, in lp_llvm_sampler_soa_emit_fetch_texel()
254 sampler->dynamic_state.base.lod_bias = lp_llvm_texture_lod_bias; in lp_llvm_sampler_soa_create()
Dlp_jit.h62 float lod_bias; member
Dlp_jit.c109 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, lod_bias, in lp_jit_create_types()
Dlp_setup.c732 jit_tex->lod_bias = sampler->lod_bias; in lp_setup_set_fragment_sampler_state()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c154 DRAW_LLVM_TEXTURE_MEMBER(lod_bias, DRAW_JIT_TEXTURE_LOD_BIAS, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
177 LLVMValueRef lod_bias, /* optional */ in draw_llvm_sampler_soa_emit_fetch_texel() argument
192 lod_bias, explicit_lod, in draw_llvm_sampler_soa_emit_fetch_texel()
244 sampler->dynamic_state.base.lod_bias = draw_llvm_texture_lod_bias; in draw_llvm_sampler_soa_create()
Ddraw_llvm.h55 float lod_bias; member
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h178 (*lod_bias)(const struct lp_sampler_dynamic_state *state, member
326 LLVMValueRef lod_bias, /* optional */
418 LLVMValueRef lod_bias,
Dlp_bld_sample.c144 if (sampler->lod_bias != 0.0f) { in lp_sampler_static_state()
494 LLVMValueRef lod_bias, /* optional */ in lp_build_lod_selector() argument
531 if (!lod_bias && in lp_build_lod_selector()
563 if (lod_bias) { in lp_build_lod_selector()
564 lod_bias = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type, in lp_build_lod_selector()
565 perquadf_bld->type, lod_bias); in lp_build_lod_selector()
566 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias"); in lp_build_lod_selector()
573 bld->dynamic_state->lod_bias(bld->dynamic_state, bld->gallivm, unit); in lp_build_lod_selector()
Dlp_bld_tgsi.h179 LLVMValueRef lod_bias, /* optional */
Dlp_bld_sample_soa.c989 LLVMValueRef lod_bias, /* optional */ in lp_build_sample_common() argument
1033 lod_bias, explicit_lod, in lp_build_sample_common()
1241 LLVMValueRef lod_bias, /* optional */ in lp_build_sample_soa() argument
1356 derivs, lod_bias, explicit_lod, in lp_build_sample_soa()
Dlp_bld_tgsi_soa.c1147 LLVMValueRef lod_bias, explicit_lod; in emit_tex() local
1206 lod_bias = lp_build_emit_fetch( &bld->bld_base, inst, 0, 3 ); in emit_tex()
1210 lod_bias = NULL; in emit_tex()
1214 lod_bias = NULL; in emit_tex()
1293 lod_bias, explicit_lod, in emit_tex()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_sampler.c110 cso->lod_bias = sampler->lod_bias; in svga_create_sampler_state()
Dsvga_context.h174 float lod_bias; member
Dsvga_state_tss.c306 EMIT_TS_FLOAT(svga, i, curr->lod_bias, TEXTURE_LOD_BIAS, fail); in update_tss()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h77 unsigned lod_bias; member
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h317 float lod_bias; /**< LOD/lambda bias */ member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in gen7_update_sampler_state()
Dbrw_wm_sampler_state.c279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias + in brw_update_sampler_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; in convert_sampler()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_texture.c177 so->filt |= (int)(cso->lod_bias * 256.0) & 0x1fff; in nv30_sampler_state_create()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state.c1332 int lod_bias; in r300_create_sampler_state() local
1377 lod_bias = CLAMP((int)(state->lod_bias * 32 + 1), -(1 << 9), (1 << 9) - 1); in r300_create_sampler_state()
1379 sampler->filter1 |= (lod_bias << R300_LOD_BIAS_SHIFT) & R300_LOD_BIAS_MASK; in r300_create_sampler_state()
/external/mesa3d/src/gallium/docs/source/cso/
Dsampler.rst91 lod_bias

12