Searched refs:max_anisotropy (Results 1 - 25 of 83) sorted by relevance

1234

/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dtexfilt.c48 static GLfloat max_anisotropy = 0.0; variable in typeref:typename:GLfloat
64 if ( max_anisotropy > 0.0 ) {
137 new_anisotropy = min( new_anisotropy, max_anisotropy );
197 glGetFloatv( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, & max_anisotropy );
200 printf("Maximum texture anisotropy: %f\n", max_anisotropy );
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_texture.c153 unsigned aniso = cso->max_anisotropy;
172 if (cso->max_anisotropy >= 8) so->en |= NV30_3D_TEX_ENABLE_ANISO_8X;
173 else if (cso->max_anisotropy >= 4) so->en |= NV30_3D_TEX_ENABLE_ANISO_4X;
174 else if (cso->max_anisotropy >= 2) so->en |= NV30_3D_TEX_ENABLE_ANISO_2X;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_texture.c153 unsigned aniso = cso->max_anisotropy;
172 if (cso->max_anisotropy >= 8) so->en |= NV30_3D_TEX_ENABLE_ANISO_8X;
173 else if (cso->max_anisotropy >= 4) so->en |= NV30_3D_TEX_ENABLE_ANISO_4X;
174 else if (cso->max_anisotropy >= 2) so->en |= NV30_3D_TEX_ENABLE_ANISO_2X;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c249 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
250 if (sampler->max_anisotropy)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_texture_desc.c81 const bool ansio = ss->max_anisotropy > 1;
114 cs->SAMP_ANISOTROPY = COND(ansio, etna_log2_fixp88(ss->max_anisotropy));
H A Detnaviv_texture_state.c91 const bool ansio = ss->max_anisotropy > 1;
105 VIVS_TE_SAMPLER_CONFIG0_ANISOTROPY(COND(ansio, etna_log2_fixp55(ss->max_anisotropy)));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_sampler.c242 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 );
243 if (sampler->max_anisotropy)
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_pipe.c244 samp.max_anisotropy = MIN2(16, ss[D3DSAMP_MAXANISOTROPY]);
246 samp.max_anisotropy = 0;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3dx_emit.c235 if (psampler->max_anisotropy > 8)
237 else if (psampler->max_anisotropy > 4)
239 else if (psampler->max_anisotropy > 2)
241 else if (psampler->max_anisotropy)
H A Dv3dx_state.c568 if (cso->max_anisotropy) {
571 if (cso->max_anisotropy > 8)
573 else if (cso->max_anisotropy > 4)
575 else if (cso->max_anisotropy > 2)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/include/pipe/
H A Dp_state.h412 unsigned max_anisotropy:5; member in struct:pipe_sampler_state
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_texture.c82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3dx_emit.c236 if (psampler->max_anisotropy > 8)
238 else if (psampler->max_anisotropy > 4)
240 else if (psampler->max_anisotropy > 2)
242 else if (psampler->max_anisotropy)
H A Dv3dx_state.c571 if (cso->max_anisotropy) {
574 if (cso->max_anisotropy > 8)
576 else if (cso->max_anisotropy > 4)
578 else if (cso->max_anisotropy > 2)
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Dsampler.rst107 max_anisotropy
109 if max_anisotropy=4, a region of up to 1 by 4 texels will be sampled.
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state.c539 if (cso->max_anisotropy >= 16)
542 if (cso->max_anisotropy >= 12)
545 so->tsc[0] |= (cso->max_anisotropy >> 1) << 20;
547 if (cso->max_anisotropy >= 4)
550 if (cso->max_anisotropy >= 2)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dgraw_util.h299 sampler_desc.max_anisotropy = 0;
H A Dquad-sample.c281 sampler_desc.max_anisotropy = 0;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_sampler.c202 sampler->max_anisotropy = (msamp->MaxAnisotropy == 1.0 ?
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_texture.c88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_state.h250 unsigned max_anisotropy,

Completed in 25 milliseconds

1234