From: Christoph Bumiller Date: Tue, 29 Dec 2009 11:04:34 +0000 (+0100) Subject: nv50: multiply polygon offset units by 2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ba518e3274b020deac255061ab23c74aefeb3f1;p=mesa.git nv50: multiply polygon offset units by 2 --- diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index 18a2b819d8b..30b2b0f91bf 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -392,7 +392,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)); + so_data (so, fui(cso->offset_units * 2.0f)); } rso->pipe = *cso;