summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu/spu_vertex_shader.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-02-15 11:03:54 -0800
committerIan Romanick <idr@us.ibm.com>2008-02-15 11:03:54 -0800
commit3320b1874e810583f95b93a89697b2955987b84f (patch)
treeeb5728ced047307ea59302ed77588c9457ccdd2a /src/gallium/drivers/cell/spu/spu_vertex_shader.h
parent71071b7a9e8e9cdd3ef9648e70bde04507516765 (diff)
Cell: Enable code gen for SPE attribute fetch
Doubles are still unsupported.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_vertex_shader.h')
-rw-r--r--src/gallium/drivers/cell/spu/spu_vertex_shader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_vertex_shader.h b/src/gallium/drivers/cell/spu/spu_vertex_shader.h
index b5bf31e67d..0fb0bc28d0 100644
--- a/src/gallium/drivers/cell/spu/spu_vertex_shader.h
+++ b/src/gallium/drivers/cell/spu/spu_vertex_shader.h
@@ -6,8 +6,6 @@
struct spu_vs_context;
-typedef void (*spu_fetch_func)(qword *out, const qword *in, qword defaults,
- const qword *shuffle_data);
typedef void (*spu_full_fetch_func)( struct spu_vs_context *draw,
struct spu_exec_machine *machine,
const unsigned *elts,
@@ -20,12 +18,12 @@ struct spu_vs_context {
uint64_t src_ptr[PIPE_ATTRIB_MAX];
unsigned pitch[PIPE_ATTRIB_MAX];
unsigned size[PIPE_ATTRIB_MAX];
- enum pipe_format format[PIPE_ATTRIB_MAX];
+ unsigned code_offset[PIPE_ATTRIB_MAX];
unsigned nr_attrs;
boolean dirty;
- spu_fetch_func fetch[PIPE_ATTRIB_MAX];
spu_full_fetch_func fetch_func;
+ void *code;
} vertex_fetch;
/* Clip derived state: