| /xsrc/external/mit/MesaLib/dist/src/panfrost/include/ |
| H A D | panfrost-job.h | 251 float min_lod = allow_negative ? -max_lod : 0.0; local in function:FIXED_16 253 x = ((x > max_lod) ? max_lod : ((x < min_lod) ? min_lod : x));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_texture_state.h | 46 unsigned min_lod, max_lod; member in struct:etna_sampler_state 67 unsigned min_lod, max_lod; /* 5.5 fixp */ member in struct:etna_sampler_view
|
| H A D | etnaviv_texture_state.c | 65 cs->min_lod = etna_float_to_fixp55(ss->min_lod); 70 cs->min_lod = cs->max_lod = etna_float_to_fixp55(ss->min_lod); 166 sv->min_lod = sv->base.u.tex.first_level << 5; 284 VIVS_TE_SAMPLER_LOD_CONFIG_MIN(MAX2(ss->min_lod, sv->min_lod)));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_sampler_view.c | 52 res, sv->min_lod, sv->max_lod); 59 unsigned min_lod, unsigned max_lod) 71 assert(min_lod <= max_lod); 82 if (min_lod == 0 && max_lod >= pt->last_level) 96 tex->cached_view->min_lod == min_lod && 101 pt, min_lod, max_lod, pt->last_level); 119 sv->min_lod = min_lod; 126 pt, min_lod, max_lo 57 svga_get_tex_sampler_view(struct pipe_context * pipe,struct pipe_resource * pt,unsigned min_lod,unsigned max_lod) argument [all...] |
| H A D | svga_sampler_view.h | 66 int min_lod; member in struct:svga_sampler_view 80 unsigned min_lod, unsigned max_lod);
|
| H A D | svga_state_tss.c | 85 unsigned last_level, min_lod, max_lod; local in function:emit_tex_binding_unit 91 min_lod = max_lod = sv->u.tex.first_level; 95 min_lod = s->view_min_lod + sv->u.tex.first_level; 96 min_lod = MIN2(min_lod, last_level); 102 min_lod = 0; 107 view->min_lod != min_lod || 114 view->min_lod = min_lod; [all...] |
| H A D | svga_pipe_sampler.c | 170 float min_lod, max_lod; local in function:define_sampler_state_object 186 assert(ps->min_lod <= ps->max_lod); 190 min_lod = max_lod = 0.0f; 193 min_lod = ps->min_lod; 223 min_lod, /* float */ 272 cso->min_lod = 0; 273 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); 279 cso->min_lod = cso->view_min_lod; 292 cso->min_lod, cs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_sampler_view.c | 52 res, sv->min_lod, sv->max_lod); 59 unsigned min_lod, unsigned max_lod) 71 assert(min_lod <= max_lod); 82 if (min_lod == 0 && max_lod >= pt->last_level) 96 tex->cached_view->min_lod == min_lod && 101 pt, min_lod, max_lod, pt->last_level); 119 sv->min_lod = min_lod; 126 pt, min_lod, max_lo 57 svga_get_tex_sampler_view(struct pipe_context * pipe,struct pipe_resource * pt,unsigned min_lod,unsigned max_lod) argument [all...] |
| H A D | svga_sampler_view.h | 66 int min_lod; member in struct:svga_sampler_view 80 unsigned min_lod, unsigned max_lod);
|
| H A D | svga_state_tss.c | 85 unsigned last_level, min_lod, max_lod; local in function:emit_tex_binding_unit 91 min_lod = max_lod = sv->u.tex.first_level; 95 min_lod = s->view_min_lod + sv->u.tex.first_level; 96 min_lod = MIN2(min_lod, last_level); 102 min_lod = 0; 107 view->min_lod != min_lod || 114 view->min_lod = min_lod; [all...] |
| H A D | svga_pipe_sampler.c | 169 float min_lod, max_lod; local in function:define_sampler_state_object 185 assert(ps->min_lod <= ps->max_lod); 189 min_lod = max_lod = 0.0f; 192 min_lod = ps->min_lod; 220 min_lod, /* float */ 265 cso->min_lod = 0; 266 cso->view_min_lod = MAX2((int) (sampler->min_lod + 0.5), 0); 272 cso->min_lod = cso->view_min_lod; 285 cso->min_lod, cs [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir_lower_int_samplers.h | 44 float min_lod, max_lod; member in struct:__anon950d0b520208
|
| /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 62 nir_ssa_def *min_lod = nir_channel(b, params, 0); local in function:nir_lod_errata_instr 75 nir_fmax(b, biased, min_lod), max_lod);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_texture_state.c | 51 unsigned min_lod, max_lod, max_lod_min; member in struct:etna_sampler_state 73 unsigned min_lod, max_lod; /* 5.5 fixp */ member in struct:etna_sampler_view 124 cs->min_lod = etna_float_to_fixp55(ss->min_lod); 129 cs->min_lod = cs->max_lod = etna_float_to_fixp55(0.0f); 250 sv->min_lod = sv->base.u.tex.first_level << 5; 386 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); 387 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, s local in function:etna_emit_new_texture_state 519 unsigned min_lod = MIN2(MAX2(ss->min_lod + sv->min_lod, sv->min_lod), max_lod); local in function:etna_emit_texture_state [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; local in function:nv30_fragtex_validate 64 min_lod = sv->base_lod; 67 min_lod = MIN2(ss->min_lod + sv->base_lod, max_lod); 87 enable |= (min_lod << 19) | (max_lod << 7); 123 enable |= (min_lod << 18) | (max_lod << 6);
|
| H A D | nv30_state.h | 47 unsigned min_lod; member in struct:nv30_sampler_state
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| H A D | nv30_fragtex.c | 52 unsigned min_lod, max_lod; local in function:nv30_fragtex_validate 64 min_lod = sv->base_lod; 67 min_lod = MIN2(ss->min_lod + sv->base_lod, max_lod); 87 enable |= (min_lod << 19) | (max_lod << 7); 123 enable |= (min_lod << 18) | (max_lod << 6);
|
| H A D | nv30_state.h | 47 unsigned min_lod; member in struct:nv30_sampler_state
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| H A D | lima_texture.c | 151 desc->min_lod = lima_float_to_fixed8(sampler->base.min_lod); 152 max_lod = MIN2(sampler->base.max_lod, sampler->base.min_lod + 165 desc->max_lod = desc->min_lod; 229 (desc->min_lod != desc->max_lod))
|
| H A D | lima_texture.h | 47 uint32_t min_lod: 8; /* Fixed point, 4.4, unsigned */ member in struct:__anon2784f75f0108
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/ |
| H A D | shader_info.h | 55 bool min_lod; member in struct:spirv_supported_capabilities
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_atom_sampler.c | 132 sampler->min_lod = MAX2(msamp->MinLod, 0.0f); 134 if (sampler->max_lod < sampler->min_lod) { 139 sampler->max_lod = sampler->min_lod; 140 sampler->min_lod = tmp; 141 assert(sampler->min_lod <= sampler->max_lod);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_dirty_surfaces.h | 89 util_dirty_surfaces_use_levels_for_sampling(pipe, dss, (unsigned)pss->min_lod + psv->u.tex.first_level,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_dirty_surfaces.h | 89 util_dirty_surfaces_use_levels_for_sampling(pipe, dss, (unsigned)pss->min_lod + psv->u.tex.first_level,
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/ |
| H A D | swr_tex_sample.cpp | 265 SWR_SAMPLER_MEMBER(min_lod, TRUE) 348 sampler->dynamic_state.base.min_lod = swr_sampler_min_lod;
|