| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | texfilt.c | 48 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 D | nv30_texture.c | 153 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 D | nv30_texture.c | 153 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 D | svga_pipe_sampler.c | 249 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); 250 if (sampler->max_anisotropy)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_texture_desc.c | 81 const bool ansio = ss->max_anisotropy > 1; 114 cs->SAMP_ANISOTROPY = COND(ansio, etna_log2_fixp88(ss->max_anisotropy));
|
| H A D | etnaviv_texture_state.c | 91 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 D | svga_pipe_sampler.c | 242 cso->aniso_level = MAX2( sampler->max_anisotropy, 1 ); 243 if (sampler->max_anisotropy)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | nine_pipe.c | 244 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 D | v3dx_emit.c | 235 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 D | v3dx_state.c | 568 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 D | p_state.h | 412 unsigned max_anisotropy:5; member in struct:pipe_sampler_state
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_texture.c | 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_texture.c | 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_texture.c | 82 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/ |
| H A D | v3dx_emit.c | 236 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 D | v3dx_state.c | 571 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 D | sampler.rst | 107 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 D | nv50_state.c | 539 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 D | graw_util.h | 299 sampler_desc.max_anisotropy = 0;
|
| H A D | quad-sample.c | 281 sampler_desc.max_anisotropy = 0;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_atom_sampler.c | 202 sampler->max_anisotropy = (msamp->MaxAnisotropy == 1.0 ?
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_texture.c | 88 unsigned aniso = util_last_bit(MIN2(cso->max_anisotropy >> 1, 8));
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_state.h | 250 unsigned max_anisotropy,
|