diff options
author | Brian Paul <[email protected]> | 2011-04-13 09:50:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-13 09:52:21 -0600 |
commit | b9c8b2a1f1b2fe2e02b314790ebdc465f0ffec6e (patch) | |
tree | af42bc9530793cb68fc24a03a830f1481cfb5a96 /src/gallium/drivers/svga | |
parent | 32aab51df5522b99ec735baa673aef553c8d8a0f (diff) |
svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw_private.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |