Lines Matching defs:samp
656 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit);
667 if (texUnit->LodBias + samp->LodBias != 0.0F) {
669 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias,
678 if (samp->MinLod != -1000.0 ||
679 samp->MaxLod != 1000.0) {
681 const GLfloat min = samp->MinLod;
682 const GLfloat max = samp->MaxLod;
692 swrast->TextureSample[unit]( ctx, samp,
719 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit);
725 if (texUnit->LodBias + samp->LodBias != 0.0F) {
727 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias,
736 if (samp->MinLod != -1000.0 ||
737 samp->MaxLod != 1000.0) {
739 const GLfloat min = samp->MinLod;
740 const GLfloat max = samp->MaxLod;
748 else if (samp->MaxAnisotropy > 1.0 &&
749 samp->MinFilter == GL_LINEAR_MIPMAP_LINEAR) {
762 swrast->TextureSample[unit]( ctx, samp,