Home
last modified time | relevance | path

Searched refs:lod_bias (Results 1 – 25 of 54) 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.c256 int lod_bias = sa->LodBias in nv20_emit_tex_obj() local
261 lod_bias = CLAMP(lod_bias, 0, 15); in nv20_emit_tex_obj()
264 tx_filter |= lod_bias << 8; in nv20_emit_tex_obj()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c124 sampler->lod_bias = msamp->LodBias + tex_unit_lod_bias; in st_convert_sampler()
129 sampler->lod_bias = CLAMP(sampler->lod_bias, -16, 16); in st_convert_sampler()
130 sampler->lod_bias = floorf(sampler->lod_bias * 256) / 256; in st_convert_sampler()
/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.cpp267 SWR_SAMPLER_MEMBER(lod_bias, TRUE) in SWR_SAMPLER_MEMBER()
350 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias; in swr_sampler_soa_create()
Dswr_context.h81 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.c219 ss->lod_bias, /* float */ in define_sampler_state_object()
252 cso->lod_bias = sampler->lod_bias; in svga_create_sampler_state()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h275 (*lod_bias)(const struct lp_sampler_dynamic_state *state, member
503 LLVMValueRef lod_bias, /* optional */
Dlp_bld_sample.c166 if (sampler->lod_bias != 0.0f) { in lp_sampler_static_sampler_state()
705 LLVMValueRef lod_bias, /* optional */ in lp_build_lod_selector() argument
770 if (!lod_bias && !is_lodq && in lp_build_lod_selector()
825 if (lod_bias) { in lp_build_lod_selector()
827 lod_bias = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type, in lp_build_lod_selector()
828 lodf_bld->type, lod_bias, 0); in lp_build_lod_selector()
829 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias"); in lp_build_lod_selector()
836 dynamic_state->lod_bias(dynamic_state, bld->gallivm, in lp_build_lod_selector()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture_state.c61 COND(ss->lod_bias != 0.0, VIVS_TE_SAMPLER_LOD_CONFIG_BIAS_ENABLE) | in etna_create_sampler_state_state()
62 VIVS_TE_SAMPLER_LOD_CONFIG_BIAS(etna_float_to_fixp55(ss->lod_bias)); in etna_create_sampler_state_state()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h323 float lod_bias; /**< LOD/lambda bias */ member
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp514 if (n.bc.lod_bias) in dump()
515 s << " LB:" << n.bc.lod_bias; in dump()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.h80 unsigned lod_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/mesa/drivers/dri/i965/
Dbrw_state.h231 int lod_bias,
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h401 float lod_bias; /**< LOD/lambda bias */ member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c130 so->texsamp0 |= A5XX_TEX_SAMP_0_LOD_BIAS(cso->lod_bias); in fd5_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()
/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()

123