search for: lod_max

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

2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...tex_obj(struct gl_context *ctx, int emit) if (ctx->Texture.Unit[i]._ReallyEnabled) { struct gl_texture_object *t = ctx->Texture.Unit[i]._Current; struct gl_texture_image *ti = t->Image[0][t->BaseLevel]; + const struct gl_sampler_object *sa = _mesa_get_samplerobj(ctx, i); int lod_max = 1, lod_bias = 0; if (!nouveau_texture_validate(ctx, t)) @@ -74,26 +76,26 @@ nv04_emit_tex_obj(struct gl_context *ctx, int emit) s = &to_nouveau_texture(t)->surfaces[t->BaseLevel]; - if (t->Sampler.MinFilter != GL_NEAREST && - t->Sampler.MinFilter != GL_LI...