diff options
author | Ian Romanick <idr@us.ibm.com> | 2008-02-12 11:16:38 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2008-02-14 10:08:48 -0800 |
commit | ca1a2da645bceb4500f1782cdfcb686db24ecba7 (patch) | |
tree | 1301ed23990b3cddc989f1e8ddd089578ba9662a /src/mesa/pipe/cell/spu/spu_vertex_shader.h | |
parent | c2903679856856e3758ceb744cd7d91af9e2eb45 (diff) |
Initial pass at vertex cache, more vertex fetch changes
This is just another step towards dynamic generate of vertex fetch code.
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_vertex_shader.h')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_vertex_shader.h | 3 |
1 files changed, 2 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 c96b93ff0a..ea044e841d 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 qword (*spu_fetch_func)(const void *ptr); +typedef qword (*spu_fetch_func)(const qword *qw); typedef void (*spu_full_fetch_func)( struct spu_vs_context *draw, struct spu_exec_machine *machine, const unsigned *elts, @@ -18,6 +18,7 @@ struct spu_vs_context { struct { 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 nr_attrs; boolean dirty; |