mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 23:40:29 +01:00
nv50: don't multiply polygon offset units by 2.0 like on nv40
This commit is contained in:
parent
e05f67cbe6
commit
fea9eb2842
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ nv50_rasterizer_state_create(struct pipe_context *pipe,
|
|||
so_method(so, tesla, NV50TCL_POLYGON_OFFSET_FACTOR, 1);
|
||||
so_data (so, fui(cso->offset_scale));
|
||||
so_method(so, tesla, NV50TCL_POLYGON_OFFSET_UNITS, 1);
|
||||
so_data (so, fui(cso->offset_units * 2));
|
||||
so_data (so, fui(cso->offset_units));
|
||||
}
|
||||
|
||||
rso->pipe = *cso;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue