summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/common.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-01-30 19:24:40 -0800
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:26 +1100
commitdcfe7e1dca656dd897b7b0bdebbed3cee6f9cfd9 (patch)
treea17328c6160446c224dde6ddcb65468474494c00 /src/mesa/pipe/cell/common.h
parentbbbd5c166a780d70110d236d40d3babd9d0b6346 (diff)
Elts are always ints, pass vOut pointers in-line in command
Diffstat (limited to 'src/mesa/pipe/cell/common.h')
-rw-r--r--src/mesa/pipe/cell/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/common.h b/src/mesa/pipe/cell/common.h
index 80a1425ec7..fbbdf728a1 100644
--- a/src/mesa/pipe/cell/common.h
+++ b/src/mesa/pipe/cell/common.h
@@ -144,13 +144,13 @@ struct cell_shader_info
} ALIGN16_ATTRIB;
+#define SPU_VERTS_PER_BATCH 64
struct cell_command_vs
{
struct cell_shader_info shader;
- void *elts;
unsigned num_elts;
- unsigned bytes_per_elt;
- void *vOut;
+ unsigned elts[SPU_VERTS_PER_BATCH];
+ uint64_t vOut[SPU_VERTS_PER_BATCH];
} ALIGN16_ATTRIB;