projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e05f67c
)
nv50: don't multiply polygon offset units by 2.0 like on nv40
author
Ben Skeggs
<skeggsb@gmail.com>
Tue, 24 Jun 2008 19:58:35 +0000
(
05:58
+1000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:53 +0000
(15:46 +1000)
src/gallium/drivers/nv50/nv50_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_state.c
b/src/gallium/drivers/nv50/nv50_state.c
index 1b765cb5c7df1b050eea0ce5844f6ac1ac468c1b..cffcbc3e7d30922905ca641e6a2d613859e528b4 100644
(file)
--- 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;