projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0192a4a
)
nvfx: fix quads drawing
author
Luca Barbieri
<luca@luca-barbieri.com>
Mon, 22 Feb 2010 13:13:17 +0000
(14:13 +0100)
committer
Younes Manton
<younes.m@gmail.com>
Mon, 15 Mar 2010 04:03:04 +0000
(
00:03
-0400)
The primitive splitting code is totally broken and will be rewritten.
Fix the most important bug now though.
src/gallium/drivers/nouveau/nouveau_util.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nouveau_util.h
b/src/gallium/drivers/nouveau/nouveau_util.h
index 7f16e31c3f0838b706edb0e4f8216a2ae2ba2309..ab7761a31da85b9e53e14bac86a65a5c93ecbb05 100644
(file)
--- a/
src/gallium/drivers/nouveau/nouveau_util.h
+++ b/
src/gallium/drivers/nouveau/nouveau_util.h
@@
-33,7
+33,7
@@
nouveau_vbuf_split(unsigned remaining, unsigned overhead, unsigned vpp,
max = max - (max % 3);
break;
case PIPE_PRIM_QUADS:
- max = max & 3;
+ max = max &
~
3;
break;
case PIPE_PRIM_LINE_LOOP:
case PIPE_PRIM_LINE_STRIP: