projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea9eb2
)
nv50: fix line stipple
author
Ben Skeggs
<skeggsb@gmail.com>
Tue, 24 Jun 2008 20:01:30 +0000
(06:01 +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 cffcbc3e7d30922905ca641e6a2d613859e528b4..d72886ac596240ed2e0cdd3bb5e9862b85e0c9bb 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_state.c
+++ b/
src/gallium/drivers/nv50/nv50_state.c
@@
-157,7
+157,7
@@
nv50_rasterizer_state_create(struct pipe_context *pipe,
so_method(so, tesla, NV50TCL_LINE_STIPPLE_ENABLE, 1);
so_data (so, 1);
so_method(so, tesla, NV50TCL_LINE_STIPPLE_PATTERN, 1);
- so_data (so, (cso->line_stipple_pattern <<
16
) |
+ so_data (so, (cso->line_stipple_pattern <<
8
) |
cso->line_stipple_factor);
} else {
so_method(so, tesla, NV50TCL_LINE_STIPPLE_ENABLE, 1);