diff options
author | Ben Skeggs <[email protected]> | 2011-03-01 13:11:26 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2011-03-01 14:44:43 +1000 |
commit | 40d7a87a8ee774655e77d45cb1a8070dbae62537 (patch) | |
tree | f9f42e5a74b41d2000ec74b80129cd4c01477ef6 /src | |
parent | be68782d9aebf6f6575bb8cc9cfc66b7bad79644 (diff) |
nv50: multiply polygon offset units by 2
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index ed2fd3b0f88..6b1106341ce 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -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]))); |