diff options
author | Christoph Bumiller <[email protected]> | 2010-03-11 17:12:10 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-03-11 17:31:49 +0100 |
commit | 9e9839bd04b5d4e554a1a9ede22ccf44fc1306b6 (patch) | |
tree | 3600b9e874e281d3c789605c7bde1e04e16d0edd /src/gallium/drivers/nv50/nv50_tex.c | |
parent | 4da5d369fb6a724a03a3c2e79ed6623980fc72ac (diff) |
nv50: put correct value into the TIC MAX_LEVEL field
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_tex.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_tex.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |