projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca67f6
)
nvc0: a geometry shader can have up to 1024 vertices output
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 23 May 2015 21:35:42 +0000
(17:35 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 23 May 2015 21:55:21 +0000
(17:55 -0400)
The 1024 is already reported everywhere, not sure where this 0x1ff came
from.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c
index 55896955ca2dc57b8694bf26f85c42cc41f8ad24..4a47cb2d1649142d54eafbaf11a661ed3a5c7f2a 100644
(file)
--- a/
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
+++ b/
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
@@
-392,7
+392,7
@@
nvc0_gp_gen_header(struct nvc0_program *gp, struct nv50_ir_prog_info *info)
break;
}
- gp->hdr[4] =
info->prop.gp.maxVertices & 0x1ff
;
+ gp->hdr[4] =
MIN2(info->prop.gp.maxVertices, 1024)
;
return nvc0_vtgp_gen_header(gp, info);
}