diff options
author | Ben Skeggs <[email protected]> | 2008-06-25 05:58:35 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-06-29 15:46:53 +1000 |
commit | fea9eb284248adda65afdc3833385d4b03bb25aa (patch) | |
tree | d59fec4fd541420833fccab6ae258a94ee417c51 | |
parent | e05f67cbe6d852d01da3c4e0c4d52b28723f3684 (diff) |
nv50: don't multiply polygon offset units by 2.0 like on nv40
-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 1b765cb5c7d..cffcbc3e7d3 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -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; |