diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-24 16:47:23 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-24 16:47:23 -0700 |
commit | fa82d863684a89ff8c56c3b0196488c15024f743 (patch) | |
tree | 4a229091bd1be174d6eda613ce0170e751d1b456 /src/mesa/pipe/cell/common.h | |
parent | 0673c571c79d00d05328bf41e9c6a52bfb0f7324 (diff) |
Cell: send actual vertex size in the render command
Diffstat (limited to 'src/mesa/pipe/cell/common.h')
-rw-r--r-- | src/mesa/pipe/cell/common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/cell/common.h b/src/mesa/pipe/cell/common.h index 4c998722a2..cd2b61e6e9 100644 --- a/src/mesa/pipe/cell/common.h +++ b/src/mesa/pipe/cell/common.h @@ -96,12 +96,14 @@ struct cell_command_clear_surface #define CELL_MAX_VBUF_SIZE (16 * 1024) #define CELL_MAX_VBUF_INDEXES 1024 -#define CELL_MAX_ATTRIBS 2 /* temporary! */ + + struct cell_command_render { uint opcode; uint prim_type; - uint num_verts, num_attribs; + uint num_verts; + uint vertex_size; /**< bytes per vertex */ uint num_indexes; const void *vertex_data; const ushort *index_data; |