nv50: put correct value into the TIC MAX_LEVEL field

This commit is contained in:
Christoph Bumiller 2010-03-11 17:12:10 +01:00
parent 4da5d369fb
commit 9e9839bd04

View file

@ -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;
}