OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32aab51
)
svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES
author
Brian Paul
<brianp@vmware.com>
Wed, 13 Apr 2011 15:50:48 +0000
(09:50 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 13 Apr 2011 15:52:21 +0000
(09:52 -0600)
src/gallium/drivers/svga/svga_draw_private.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_draw_private.h
b/src/gallium/drivers/svga/svga_draw_private.h
index
11afb59
..
ca658ac
100644
(file)
--- a/
src/gallium/drivers/svga/svga_draw_private.h
+++ b/
src/gallium/drivers/svga/svga_draw_private.h
@@
-93,7
+93,9
@@
struct index_cache {
struct pipe_resource *buffer;
};
-#define QSZ 32
+
+/** Max number of primitives per draw call */
+#define QSZ SVGA3D_MAX_DRAW_PRIMITIVE_RANGES
struct draw_cmd {
struct svga_winsys_context *swc;