summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/spu_vertex_shader.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-02-01 17:12:20 -0800
committerIan Romanick <idr@us.ibm.com>2008-02-05 09:44:33 -0800
commit490a7b1c73babd528b6d883471a8636157c5853a (patch)
treeb4c9db9f32dc49dd32c710561356afd5a32e1fc3 /src/mesa/pipe/cell/spu/spu_vertex_shader.h
parent8fc2355949b67cd99403c1184ce711a344877375 (diff)
Vectorize vertex puller
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_vertex_shader.h')
-rw-r--r--src/mesa/pipe/cell/spu/spu_vertex_shader.h4
1 files changed, 3 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 b261ab44a2..2435b7ddae 100644
--- a/src/mesa/pipe/cell/spu/spu_vertex_shader.h
+++ b/src/mesa/pipe/cell/spu/spu_vertex_shader.h
@@ -6,7 +6,7 @@
struct spu_vs_context;
-typedef void (*spu_fetch_func)(const void *ptr, float *attrib);
+typedef qword (*spu_fetch_func)(const void *ptr);
typedef void (*spu_full_fetch_func)( struct spu_vs_context *draw,
struct spu_exec_machine *machine,
const unsigned *elts,
@@ -39,6 +39,8 @@ struct spu_vs_context {
extern void spu_update_vertex_fetch(struct spu_vs_context *draw);
+extern void spu_transpose_4x4(qword *out, const qword *in);
+
static INLINE void spu_vertex_fetch(struct spu_vs_context *draw,
struct spu_exec_machine *machine,
const unsigned *elts,