summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-29 07:52:18 -0700
committerBrian Paul <[email protected]>2012-02-29 08:34:37 -0700
commit83fed5e13081f2f5c7156f4f706eabbd6a87c5ae (patch)
treeba0fb2887a86d48af63867897777d88441f7efcc /src/glsl/ir_clone.cpp
parentfce888a7066bfaaddd7272393e8bc54ce6a5cb67 (diff)
svga: fix max_lod clamping in update_tss_binding()
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. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
0 files changed, 0 insertions, 0 deletions