Re: [Mesa-dev] [PATCH] svga: fix max_lod clamping in update_tss_binding()

2012-02-29 Thread Jose Fonseca
Looks good. Thanks Brian. Jose - Original Message - > After biasing we need to clamp to be sure we don't exceed the number > of > levels in the mipmap. This fixes an assertion at > svga_sampler_view.c:70 > > v2: simplify the biasing, clamping code per Jose's suggestion. > --- > src/gal

[Mesa-dev] [PATCH] svga: fix max_lod clamping in update_tss_binding()

2012-02-29 Thread Brian Paul
After biasing we need to clamp to be sure we don't exceed the number of levels in the mipmap. This fixes an assertion at svga_sampler_view.c:70 v2: simplify the biasing, clamping code per Jose's suggestion. --- src/gallium/drivers/svga/svga_state_tss.c |4 ++-- 1 files changed, 2 insertions(