Mesa (master): nv50: multiply polygon offset units by 2
Christoph Bumiller
chrisbmr at kemper.freedesktop.org
Thu Dec 31 13:38:08 UTC 2009
Module: Mesa
Branch: master
Commit: 0ba518e3274b020deac255061ab23c74aefeb3f1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ba518e3274b020deac255061ab23c74aefeb3f1
Author: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
Date: Tue Dec 29 12:04:34 2009 +0100
nv50: multiply polygon offset units by 2
---
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 18a2b81..30b2b0f 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;
More information about the mesa-commit
mailing list