From: Christoph Bumiller Date: Thu, 11 Mar 2010 16:12:10 +0000 (+0100) Subject: nv50: put correct value into the TIC MAX_LEVEL field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e9839bd04b5d4e554a1a9ede22ccf44fc1306b6;p=mesa.git nv50: put correct value into the TIC MAX_LEVEL field --- diff --git a/src/gallium/drivers/nv50/nv50_tex.c b/src/gallium/drivers/nv50/nv50_tex.c index aa885e71688..79639e81eb3 100644 --- a/src/gallium/drivers/nv50/nv50_tex.c +++ b/src/gallium/drivers/nv50/nv50_tex.c @@ -152,8 +152,7 @@ nv50_tex_construct(struct nv50_sampler_view *view) tic[6] = 0x03000000; - tic[7] = (view->pipe.last_level - view->pipe.first_level) << 4; - tic[7] |= view->pipe.first_level; + tic[7] = (view->pipe.last_level << 4) | view->pipe.first_level; return TRUE; }