mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 14:38:18 +02:00
nv50: multiply polygon offset units by 2
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
be68782d9a
commit
40d7a87a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ nv50_rasterizer_state_create(struct pipe_context *pipe,
|
|||
SB_BEGIN_3D(so, POLYGON_OFFSET_FACTOR, 1);
|
||||
SB_DATA (so, fui(cso->offset_scale));
|
||||
SB_BEGIN_3D(so, POLYGON_OFFSET_UNITS, 1);
|
||||
SB_DATA (so, fui(cso->offset_units)); /* XXX: multiply by 2 ? */
|
||||
SB_DATA (so, fui(cso->offset_units * 2.0f));
|
||||
}
|
||||
|
||||
assert(so->size < (sizeof(so->state) / sizeof(so->state[0])));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue