summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-25 05:58:35 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:53 +1000
commitfea9eb284248adda65afdc3833385d4b03bb25aa (patch)
treed59fec4fd541420833fccab6ae258a94ee417c51 /src/gallium/drivers
parente05f67cbe6d852d01da3c4e0c4d52b28723f3684 (diff)
nv50: don't multiply polygon offset units by 2.0 like on nv40
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv50/nv50_state.c2
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;