search for: minlod

Displaying 1 result from an estimated 1 matches for "minlod".

2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...EGIN_NV04(push, NV10_3D(TEX_NPOT_PITCH(i)), 1); @@ -200,11 +203,11 @@ nv10_emit_tex_obj(struct gl_context *ctx, int emit) tx_format |= get_tex_format_pot(ti); } - if (t->Sampler.MinFilter != GL_NEAREST && - t->Sampler.MinFilter != GL_LINEAR) { - int lod_min = t->Sampler.MinLod; - int lod_max = MIN2(t->Sampler.MaxLod, t->_MaxLambda); - int lod_bias = t->Sampler.LodBias + if (sa->MinFilter != GL_NEAREST && + sa->MinFilter != GL_LINEAR) { + int lod_min = sa->MinLod; + int lod_max = MIN2(sa->MaxLod, t->_MaxLambda); + int lod_bias = sa...