nv50: put correct value into the TIC MAX_LEVEL field
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user