mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
nv50: put correct value into the TIC MAX_LEVEL field
This commit is contained in:
parent
4da5d369fb
commit
9e9839bd04
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue