| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir_lower_int_samplers.h | 43 float lod_bias; member in struct:__anon950d0b520208
|
| H A D | dxil_nir_lower_int_samplers.c | 378 * 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 D | nv04_state_tex.c | 72 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 D | nv20_state_tex.c | 257 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 D | nv10_state_tex.c | 211 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 D | nv04_state_tex.c | 72 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 D | nv10_state_tex.c | 211 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 D | nv20_state_tex.c | 257 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 D | midgard_errata_lod.c | 30 * 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 D | etnaviv_nir.c | 95 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 D | etnaviv_compiler_nir_emit.c | 197 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 D | lima_texture.h | 49 uint32_t lod_bias: 9; /* Fixed point, signed, 1.4.4 */ member in struct:__anon2784f75f0108
|
| H A D | lima_texture.c | 120 /* 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 D | st_atom_sampler.c | 124 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 D | swr_tex_sample.cpp | 267 SWR_SAMPLER_MEMBER(lod_bias, TRUE) 350 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias;
|
| H A D | swr_context.h | 81 float lod_bias; member in struct:swr_jit_sampler
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| H A D | draw_llvm_sample.c | 214 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 D | lp_tex_sample.c | 220 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 D | lp_jit.h | 69 float lod_bias; member in struct:lp_jit_sampler
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/ |
| H A D | swr_tex_sample.cpp | 283 SWR_SAMPLER_MEMBER(lod_bias, TRUE) 368 sampler->dynamic_state.base.lod_bias = swr_sampler_lod_bias;
|
| H A D | swr_context.h | 90 float lod_bias; member in struct:swr_jit_sampler
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_pipe_sampler.c | 219 ss->lod_bias, /* float */ 252 cso->lod_bias = sampler->lod_bias;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_pipe_sampler.c | 216 ss->lod_bias, /* float */ 245 cso->lod_bias = sampler->lod_bias;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_texture.c | 120 so->tex4 = A2XX_SQ_TEX_4_LOD_BIAS(cso->lod_bias);
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | cayman_shader.h | 271 #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)))
|