mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 12:30:11 +01:00
svga: define SVGA3D_MAX_DRAW_PRIMITIVE_RANGES and update comments
This commit is contained in:
parent
4cbb261eba
commit
32aab51df5
1 changed files with 12 additions and 4 deletions
|
|
@ -968,11 +968,17 @@ typedef enum {
|
|||
} SVGA3dTransferType;
|
||||
|
||||
/*
|
||||
* The maximum number vertex arrays we're guaranteed to support in
|
||||
* The maximum number of vertex arrays we're guaranteed to support in
|
||||
* SVGA_3D_CMD_DRAWPRIMITIVES.
|
||||
*/
|
||||
#define SVGA3D_MAX_VERTEX_ARRAYS 32
|
||||
|
||||
/*
|
||||
* The maximum number of primitive ranges we're guaranteed to support
|
||||
* in SVGA_3D_CMD_DRAWPRIMITIVES.
|
||||
*/
|
||||
#define SVGA3D_MAX_DRAW_PRIMITIVE_RANGES 32
|
||||
|
||||
/*
|
||||
* Identifiers for commands in the command FIFO.
|
||||
*
|
||||
|
|
@ -1474,10 +1480,12 @@ struct {
|
|||
* SVGA3dCmdDrawPrimitives structure. In order,
|
||||
* they are:
|
||||
*
|
||||
* 1. SVGA3dVertexDecl, quantity 'numVertexDecls'
|
||||
* 2. SVGA3dPrimitiveRange, quantity 'numRanges'
|
||||
* 1. SVGA3dVertexDecl, quantity 'numVertexDecls', but no more than
|
||||
* SVGA3D_MAX_VERTEX_ARRAYS;
|
||||
* 2. SVGA3dPrimitiveRange, quantity 'numRanges', but no more than
|
||||
* SVGA3D_MAX_DRAW_PRIMITIVE_RANGES;
|
||||
* 3. Optionally, SVGA3dVertexDivisor, quantity 'numVertexDecls' (contains
|
||||
* the frequency divisor for this the corresponding vertex decl)
|
||||
* the frequency divisor for the corresponding vertex decl).
|
||||
*/
|
||||
} SVGA3dCmdDrawPrimitives; /* SVGA_3D_CMD_DRAWPRIMITIVES */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue