search for: wrapt

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

Did you mean: wrap
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...sa->MinFilter != GL_LINEAR) { + lod_max = CLAMP(MIN2(sa->MaxLod, t->_MaxLambda), 0, 15) + 1; lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias + - t->Sampler.LodBias, -16, 15) * 8; + sa->LodBias, -16, 15) * 8; } - format |= nvgl_wrap_mode(t->Sampler.WrapT) << 28 | - nvgl_wrap_mode(t->Sampler.WrapS) << 24 | + format |= nvgl_wrap_mode(sa->WrapT) << 28 | + nvgl_wrap_mode(sa->WrapS) << 24 | ti->HeightLog2 << 20 | ti->WidthLog2 << 16 | lod_max << 12 | get_tex_format(ti); - f...