Searched refs:lod_bias (Results 1 - 25 of 41) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_tex.c72 int lod_max = 1, lod_bias = 0; local
84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias +
99 (lod_bias & 0xff) << 16;
H A Dnv10_state_tex.c210 int lod_bias = sa->LodBias local
215 lod_bias = CLAMP(lod_bias, 0, 15);
218 tx_filter |= lod_bias << 8;
H A Dnv20_state_tex.c222 int lod_bias = sa->LodBias local
227 lod_bias = CLAMP(lod_bias, 0, 15);
230 tx_filter |= lod_bias << 8;
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c154 DRAW_LLVM_TEXTURE_MEMBER(lod_bias, DRAW_JIT_TEXTURE_LOD_BIAS, TRUE)
177 LLVMValueRef lod_bias, /* optional */
192 lod_bias, explicit_lod,
244 sampler->dynamic_state.base.lod_bias = draw_llvm_texture_lod_bias;
170 draw_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
H A Ddraw_llvm.h55 float lod_bias; member in struct:draw_jit_texture
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c159 LP_LLVM_TEXTURE_MEMBER(lod_bias, LP_JIT_TEXTURE_LOD_BIAS, TRUE)
182 LLVMValueRef lod_bias, /* optional */
202 lod_bias, explicit_lod,
254 sampler->dynamic_state.base.lod_bias = lp_llvm_texture_lod_bias;
175 lp_llvm_sampler_soa_emit_fetch_texel(const struct lp_build_sampler_soa *base, struct gallivm_state *gallivm, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *texel) argument
H A Dlp_jit.h62 float lod_bias; member in struct:lp_jit_texture
H A Dlp_jit.c109 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, lod_bias,
H A Dlp_setup.c732 jit_tex->lod_bias = sampler->lod_bias;
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.h178 (*lod_bias)(const struct lp_sampler_dynamic_state *state, member in struct:lp_sampler_dynamic_state
326 LLVMValueRef lod_bias, /* optional */
418 LLVMValueRef lod_bias,
H A Dlp_bld_sample.c144 if (sampler->lod_bias != 0.0f) {
481 * \param lod_bias optional float vector with the shader lod bias
488 * passed in from lod_bias, explicit_lod is used.
494 LLVMValueRef lod_bias, /* optional */
531 if (!lod_bias &&
563 if (lod_bias) {
564 lod_bias = lp_build_pack_aos_scalars(bld->gallivm, bld->coord_bld.type,
565 perquadf_bld->type, lod_bias);
566 lod = LLVMBuildFAdd(builder, lod, lod_bias, "shader_lod_bias");
573 bld->dynamic_state->lod_bias(bl
491 lp_build_lod_selector(struct lp_build_sample_context *bld, unsigned unit, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, unsigned mip_filter, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) argument
[all...]
H A Dlp_bld_tgsi.h179 LLVMValueRef lod_bias, /* optional */
H A Dlp_bld_sample_soa.c989 LLVMValueRef lod_bias, /* optional */
1033 lod_bias, explicit_lod,
1241 LLVMValueRef lod_bias, /* optional */
1356 derivs, lod_bias, explicit_lod,
983 lp_build_sample_common(struct lp_build_sample_context *bld, unsigned unit, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_ipart, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) argument
1233 lp_build_sample_soa(struct gallivm_state *gallivm, const struct lp_sampler_static_state *static_state, struct lp_sampler_dynamic_state *dynamic_state, struct lp_type type, unsigned unit, unsigned num_coords, const LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef texel_out[4]) argument
H A Dlp_bld_tgsi_soa.c1147 LLVMValueRef lod_bias, explicit_lod; local
1206 lod_bias = lp_build_emit_fetch( &bld->bld_base, inst, 0, 3 );
1210 lod_bias = NULL;
1214 lod_bias = NULL;
1293 lod_bias, explicit_lod,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c110 cso->lod_bias = sampler->lod_bias;
H A Dsvga_context.h174 float lod_bias; member in struct:svga_sampler_state
H A Dsvga_state_tss.c306 EMIT_TS_FLOAT(svga, i, curr->lod_bias, TEXTURE_LOD_BIAS, fail);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_asm.h77 unsigned lod_bias; member in struct:r600_bytecode_tex
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h317 float lod_bias; /**< LOD/lambda bias */ member in struct:pipe_sampler_state
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen7_sampler_state.c146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
H A Dbrw_wm_sampler_state.c279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
H A Dbrw_structs.h637 GLuint lod_bias:11; member in struct:brw_sampler_state::__anon15134
686 GLuint lod_bias:13; member in struct:gen7_sampler_state::__anon15138
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_sampler.c154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias;
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_texture.c177 so->filt |= (int)(cso->lod_bias * 256.0) & 0x1fff;
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_state.c1332 int lod_bias; local
1377 lod_bias = CLAMP((int)(state->lod_bias * 32 + 1), -(1 << 9), (1 << 9) - 1);
1379 sampler->filter1 |= (lod_bias << R300_LOD_BIAS_SHIFT) & R300_LOD_BIAS_MASK;

Completed in 283 milliseconds

12