/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv04_state_tex.c | 72 int lod_max = 1, lod_bias = 0; local 84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias + 99 (lod_bias & 0xff) << 16;
|
H A D | nv10_state_tex.c | 210 int lod_bias = sa->LodBias local 215 lod_bias = CLAMP(lod_bias, 0, 15); 218 tx_filter |= lod_bias << 8;
|
H A D | nv20_state_tex.c | 222 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 D | draw_llvm_sample.c | 154 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 D | draw_llvm.h | 55 float lod_bias; member in struct:draw_jit_texture
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_tex_sample.c | 159 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 D | lp_jit.h | 62 float lod_bias; member in struct:lp_jit_texture
|
H A D | lp_jit.c | 109 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, lod_bias,
|
H A D | lp_setup.c | 732 jit_tex->lod_bias = sampler->lod_bias;
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample.h | 178 (*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 D | lp_bld_sample.c | 144 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 D | lp_bld_tgsi.h | 179 LLVMValueRef lod_bias, /* optional */
|
H A D | lp_bld_sample_soa.c | 989 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 D | lp_bld_tgsi_soa.c | 1147 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 D | svga_pipe_sampler.c | 110 cso->lod_bias = sampler->lod_bias;
|
H A D | svga_context.h | 174 float lod_bias; member in struct:svga_sampler_state
|
H A D | svga_state_tss.c | 306 EMIT_TS_FLOAT(svga, i, curr->lod_bias, TEXTURE_LOD_BIAS, fail);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.h | 77 unsigned lod_bias; member in struct:r600_bytecode_tex
|
/external/mesa3d/src/gallium/include/pipe/ |
H A D | p_state.h | 317 float lod_bias; /**< LOD/lambda bias */ member in struct:pipe_sampler_state
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen7_sampler_state.c | 146 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
|
H A D | brw_wm_sampler_state.c | 279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
|
H A D | brw_structs.h | 637 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 D | st_atom_sampler.c | 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias;
|
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_texture.c | 177 so->filt |= (int)(cso->lod_bias * 256.0) & 0x1fff;
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state.c | 1332 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;
|