HomeSort by: relevance | last modified time | path
    Searched refs:max_lod (Results 1 - 25 of 150) sorted by relevancy

1 2 3 4 5 6

  /xsrc/external/mit/MesaLib/dist/src/panfrost/include/
panfrost-job.h 250 float max_lod = (32.0 - (1.0 / 512.0)); local
251 float min_lod = allow_negative ? -max_lod : 0.0;
253 x = ((x > max_lod) ? max_lod : ((x < min_lod) ? min_lod : x));
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
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
etnaviv_texture_state.c 66 cs->max_lod = etna_float_to_fixp55(ss->max_lod);
70 cs->min_lod = cs->max_lod = etna_float_to_fixp55(ss->min_lod);
167 sv->max_lod = MIN2(sv->base.u.tex.last_level, res->base.last_level) << 5;
283 VIVS_TE_SAMPLER_LOD_CONFIG_MAX(MIN2(ss->max_lod, sv->max_lod)) |
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
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);
72 assert(max_lod <= pt->last_level);
82 if (min_lod == 0 && max_lod >= pt->last_level)
97 tex->cached_view->max_lod == max_lod) {
101 pt, min_lod, max_lod, pt->last_level);
120 sv->max_lod = max_lod;
    [all...]
svga_sampler_view.h 67 int max_lod; member in struct:svga_sampler_view
80 unsigned min_lod, unsigned max_lod);
svga_state_tss.c 85 unsigned last_level, min_lod, max_lod; local
91 min_lod = max_lod = sv->u.tex.first_level;
97 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level);
103 max_lod = 0;
108 view->max_lod != max_lod) {
115 view->max_lod = max_lod;
121 max_lod);
svga_pipe_sampler.c 169 float min_lod, max_lod; local
185 assert(ps->min_lod <= ps->max_lod);
189 min_lod = max_lod = 0.0f;
193 max_lod = ps->max_lod;
221 max_lod)); /* float */
267 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
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);
72 assert(max_lod <= pt->last_level);
82 if (min_lod == 0 && max_lod >= pt->last_level)
97 tex->cached_view->max_lod == max_lod) {
101 pt, min_lod, max_lod, pt->last_level);
120 sv->max_lod = max_lod;
    [all...]
svga_sampler_view.h 67 int max_lod; member in struct:svga_sampler_view
80 unsigned min_lod, unsigned max_lod);
svga_state_tss.c 85 unsigned last_level, min_lod, max_lod; local
91 min_lod = max_lod = sv->u.tex.first_level;
97 max_lod = MIN2(s->view_max_lod + sv->u.tex.first_level, last_level);
103 max_lod = 0;
108 view->max_lod != max_lod) {
115 view->max_lod = max_lod;
121 max_lod);
svga_pipe_sampler.c 170 float min_lod, max_lod; local
186 assert(ps->min_lod <= ps->max_lod);
190 min_lod = max_lod = 0.0f;
194 max_lod = ps->max_lod;
224 max_lod); /* float */
274 cso->view_max_lod = MAX2((int) (sampler->max_lod + 0.5), 0);
  /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
dxil_nir_lower_int_samplers.h 44 float min_lod, max_lod; member in struct:__anon2755
  /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
midgard_errata_lod.c 30 * min_lod/max_lod/lod_bias are ignored in the sampler descriptor when
63 nir_ssa_def *max_lod = nir_channel(b, params, 1); local
75 nir_fmax(b, biased, min_lod), max_lod);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
lima_texture.c 126 float max_lod; local
152 max_lod = MIN2(sampler->base.max_lod, sampler->base.min_lod +
154 desc->max_lod = lima_float_to_fixed8(max_lod);
165 desc->max_lod = desc->min_lod;
229 (desc->min_lod != desc->max_lod))
lima_texture.h 48 uint32_t max_lod: 8; /* Fixed point, 4.4, unsigned */ member in struct:__anon1332
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
nv30_fragtex.c 52 unsigned min_lod, max_lod; local
63 max_lod = sv->base_lod;
66 max_lod = MIN2(ss->max_lod + sv->base_lod, sv->high_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);
nv30_texture.c 133 const float max_lod = 15.0 + (255.0 / 256.0); local
178 so->max_lod = (int)(CLAMP(cso->max_lod, 0.0, max_lod) * 256.0);
179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0);
nv30_state.h 48 unsigned max_lod; member in struct:nv30_sampler_state
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
nv30_fragtex.c 52 unsigned min_lod, max_lod; local
63 max_lod = sv->base_lod;
66 max_lod = MIN2(ss->max_lod + sv->base_lod, sv->high_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);
nv30_texture.c 133 const float max_lod = 15.0 + (255.0 / 256.0); local
178 so->max_lod = (int)(CLAMP(cso->max_lod, 0.0, max_lod) * 256.0);
179 so->min_lod = (int)(CLAMP(cso->min_lod, 0.0, max_lod) * 256.0);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
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
125 cs->max_lod = etna_float_to_fixp55(ss->max_lod);
129 cs->min_lod = cs->max_lod = etna_float_to_fixp55(0.0f);
132 /* if max_lod is 0, MIN filter will never be used (GC3000)
134 * the workaround is to set max_lod to at least 1
251 sv->max_lod = MIN2(sv->base.u.tex.last_level, res->base.last_level) << 5;
386 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min) local
518 unsigned max_lod = MAX2(MIN2(ss->max_lod + sv->min_lod, sv->max_lod), ss->max_lod_min); local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
i915_state_sampler.c 38 * A note about min_lod & max_lod.
44 * min_lod =< max_lod == true
45 * max_lod =< last_level == true
48 * This is all fine and dandy if it were for the fact that max_lod
50 * the max_lod we submit on map is:
51 * max_lod = MIN2(last_level, max_lod);
291 unsigned max_lod = num_levels * 4; local
303 max_lod = 1;
324 * set max_lod = 1 to make sure i915 chooses between min/mag filtering
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
i915_state_sampler.c 39 * A note about min_lod & max_lod.
45 * min_lod =< max_lod == true
46 * max_lod =< last_level == true
49 * This is all fine and dandy if it were for the fact that max_lod
51 * the max_lod we submit on map is:
52 * max_lod = MIN2(last_level, max_lod);
309 unsigned max_lod = num_levels * 4; local
321 max_lod = 1;
344 * set max_lod = 1 to make sure i915 chooses between min/mag filtering
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_atom_sampler.c 133 sampler->max_lod = msamp->MaxLod;
134 if (sampler->max_lod < sampler->min_lod) {
138 float tmp = sampler->max_lod;
139 sampler->max_lod = sampler->min_lod;
141 assert(sampler->min_lod <= sampler->max_lod);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_dirty_surfaces.h 90 MIN2((unsigned)ceilf(pss->max_lod) + psv->u.tex.first_level, psv->u.tex.last_level), flush);

Completed in 16 milliseconds

1 2 3 4 5 6