From: Brian Paul Date: Wed, 13 Apr 2011 15:50:48 +0000 (-0600) Subject: svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9c8b2a1f1b2fe2e02b314790ebdc465f0ffec6e;p=mesa.git svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES --- 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;