diff options
author | Ian Romanick <idr@us.ibm.com> | 2008-02-18 18:55:39 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2008-02-19 08:41:04 -0800 |
commit | 66be2810c3be07dd1ee45a60cfc632725837f2cd (patch) | |
tree | 2c10f680fbd9ee8c9fc8088ec03201ae94e46e7c /src/gallium/drivers/cell/spu/spu_vertex_shader.h | |
parent | 4362c6e59d575a039e654e1520bbff89b73fc8f2 (diff) |
Cell: emit vertex shaders and uniforms more intelligently
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_vertex_shader.h')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_vertex_shader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_vertex_shader.h b/src/gallium/drivers/cell/spu/spu_vertex_shader.h index 0fb0bc28d0..54a4b8d9b9 100644 --- a/src/gallium/drivers/cell/spu/spu_vertex_shader.h +++ b/src/gallium/drivers/cell/spu/spu_vertex_shader.h @@ -1,6 +1,7 @@ #ifndef SPU_VERTEX_SHADER_H #define SPU_VERTEX_SHADER_H +#include "cell/common.h" #include "pipe/p_format.h" #include "spu_exec.h" @@ -55,6 +56,10 @@ static INLINE void spu_vertex_fetch(struct spu_vs_context *draw, struct cell_command_vs; extern void +spu_bind_vertex_shader(struct spu_vs_context *draw, + struct cell_shader_info *vs); + +extern void spu_execute_vertex_shader(struct spu_vs_context *draw, const struct cell_command_vs *vs); |