From b9c8b2a1f1b2fe2e02b314790ebdc465f0ffec6e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 13 Apr 2011 09:50:48 -0600 Subject: [PATCH] svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES --- src/gallium/drivers/svga/svga_draw_private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_draw_private.h b/src/gallium/drivers/svga/svga_draw_private.h index 11afb59875b..ca658ac6745 100644 --- 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; -- 2.30.2