#define VTX_STATE_CNTL 8
#define VTX_STATE_SIZE 9
+/* SPR - point sprite state
+ */
+#define SPR_CMD_0 0
+#define SPR_POINT_SPRITE_CNTL 1
+#define SPR_STATE_SIZE 2
#define VTX_COLOR(v,n) (((v)>>(R200_VTX_COLOR_0_SHIFT+(n)*2))&\
R200_VTX_COLOR_MASK)
struct r200_state_atom prf;
struct r200_state_atom afs[2];
struct r200_state_atom atf;
+ struct r200_state_atom spr;
int max_state_size; /* Number of bytes necessary for a full state emit. */
GLboolean is_dirty, all_dirty;
GLint last_offset;
GLuint hw_primitive;
- struct r200_dma_region *aos_components[8];
+/* FIXME: what's the maximum number of components? */
+ struct r200_dma_region *aos_components[11];
GLuint nr_aos_components;
GLuint *Elts;