summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/spu_vertex_shader.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-04 18:05:37 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-04 18:05:37 -0700
commit5db1593c78192b764ad2ef7bdc5182d8ec4aed7c (patch)
tree3933e394cc5b3f938160493e1d7075e96aec3584 /src/mesa/pipe/cell/spu/spu_vertex_shader.h
parent684d320ea2e7ec03d01275a544068cc6b45e1e9a (diff)
Cell: fix some alignment issues by aligning commands to 8-byte boundaries
Contributed by Ian Romanick. Also, temporarily disable inlined vertex buffers. They need to be 16-byte aligned...
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_vertex_shader.h')
-rw-r--r--src/mesa/pipe/cell/spu/spu_vertex_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_vertex_shader.h b/src/mesa/pipe/cell/spu/spu_vertex_shader.h
index c52f38fd02..b261ab44a2 100644
--- a/src/mesa/pipe/cell/spu/spu_vertex_shader.h
+++ b/src/mesa/pipe/cell/spu/spu_vertex_shader.h
@@ -16,7 +16,7 @@ struct spu_vs_context {
struct pipe_viewport_state viewport;
struct {
- const ubyte *src_ptr[PIPE_ATTRIB_MAX];
+ uint64_t src_ptr[PIPE_ATTRIB_MAX];
unsigned pitch[PIPE_ATTRIB_MAX];
enum pipe_format format[PIPE_ATTRIB_MAX];
unsigned nr_attrs;