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

12345678

/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_nir_lower_int_samplers.h43 float lod_bias; member in struct:__anon950d0b520208
H A Ddxil_nir_lower_int_samplers.c378 * Gallium provides the value lod_bias as the sum of bias_texobj and bias_texunit
382 nir_ssa_def *lod_bias = nir_imm_float(b, params->aws->lod_bias); local in function:evalute_active_lod
386 lod_bias = nir_fadd(b, lod_bias, tex->src[bias_index].src.ssa);
389 lod = nir_fadd(b, lod, nir_fclamp(b, lod_bias,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_tex.c72 int lod_max = 1, lod_bias = 0; local in function:nv04_emit_tex_obj
84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias +
99 (lod_bias & 0xff) << 16;
H A Dnv20_state_tex.c257 int lod_bias = sa->LodBias local in function:nv20_emit_tex_obj
262 lod_bias = CLAMP(lod_bias, 0, 15);
265 tx_filter |= lod_bias << 8;
H A Dnv10_state_tex.c211 int lod_bias = sa->LodBias local in function:nv10_emit_tex_obj
216 lod_bias = CLAMP(lod_bias, 0, 15);
219 tx_filter |= lod_bias << 8;
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_tex.c72 int lod_max = 1, lod_bias = 0; local in function:nv04_emit_tex_obj
84 lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias +
99 (lod_bias & 0xff) << 16;
H A Dnv10_state_tex.c211 int lod_bias = sa->Attrib.LodBias local in function:nv10_emit_tex_obj
216 lod_bias = CLAMP(lod_bias, 0, 15);
219 tx_filter |= lod_bias << 8;
H A Dnv20_state_tex.c257 int lod_bias = sa->Attrib.LodBias local in function:nv20_emit_tex_obj
262 lod_bias = CLAMP(lod_bias, 0, 15);
265 tx_filter |= lod_bias << 8;
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_errata_lod.c30 * min_lod/max_lod/lod_bias are ignored in the sampler descriptor when
64 nir_ssa_def *lod_bias = nir_channel(b, params, 2); local in function:nir_lod_errata_instr
73 nir_ssa_def *biased = nir_fadd(b, lod, lod_bias);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_nir.c95 nir_src *lod_bias = NULL; local in function:etna_lower_io
107 assert(!lod_bias);
108 lod_bias = &tex->src[i].src;
121 if (!lod_bias || v->shader->specs->halti >= 5)
124 assert(coord && lod_bias && tex->coord_components < 4);
132 vec->src[i].src = nir_src_for_ssa(lod_bias->ssa);
H A Detnaviv_compiler_nir_emit.c197 struct etna_inst_src lod_bias, struct etna_inst_src compare)
206 if (lod_bias.use)
207 inst.src[1] = lod_bias;
195 etna_emit_tex(struct etna_compile * c,nir_texop op,unsigned texid,unsigned dst_swiz,struct etna_inst_dst dst,struct etna_inst_src coord,struct etna_inst_src lod_bias,struct etna_inst_src compare) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_texture.h49 uint32_t lod_bias: 9; /* Fixed point, signed, 1.4.4 */ member in struct:__anon2784f75f0108
H A Dlima_texture.c120 /* unit is 1/16 since lod_bias is in fixed format */
155 desc->lod_bias = lima_float_to_fixed8(sampler->base.lod_bias);
232 desc->lod_bias += lod_bias_delta;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_sampler.c124 sampler->lod_bias = msamp->LodBias + tex_unit_lod_bias;
126 * can represent. Apps use lod_bias for smooth transitions to bigger mipmap
129 sampler->lod_bias = CLAMP(sampler->lod_bias, -16, 16);
130 sampler->lod_bias = floorf(sampler->lod_bias * 256) / 256;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp267 SWR_SAMPLER_MEMBER(lod_bias, TRUE)
350 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias;
H A Dswr_context.h81 float lod_bias; member in struct:swr_jit_sampler
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A 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;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c220 LP_LLVM_SAMPLER_MEMBER(lod_bias, LP_JIT_SAMPLER_LOD_BIAS, TRUE)
315 sampler->dynamic_state.base.lod_bias = lp_llvm_sampler_lod_bias;
H A Dlp_jit.h69 float lod_bias; member in struct:lp_jit_sampler
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.cpp283 SWR_SAMPLER_MEMBER(lod_bias, TRUE)
368 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias;
H A Dswr_context.h90 float lod_bias; member in struct:swr_jit_sampler
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c219 ss->lod_bias, /* float */
252 cso->lod_bias = sampler->lod_bias;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c216 ss->lod_bias, /* float */
245 cso->lod_bias = sampler->lod_bias;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.c120 so->tex4 = A2XX_SQ_TEX_4_LOD_BIAS(cso->lod_bias);
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Dcayman_shader.h271 #define TEX_DWORD1(dst_gpr, dr, dsx, dsy, dsz, dsw, lod_bias, ctx, cty, ctz, ctw) \
273 ((lod_bias) << 21) | ((ctx) << 28) | ((cty) << 29) | ((ctz) << 30) | ((ctw) << 31)))

Completed in 37 milliseconds

12345678