summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/ppu/cell_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/cell/ppu/cell_context.h')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_context.h b/src/mesa/pipe/cell/ppu/cell_context.h
index be985820d1..4ff39a53c6 100644
--- a/src/mesa/pipe/cell/ppu/cell_context.h
+++ b/src/mesa/pipe/cell/ppu/cell_context.h
@@ -33,10 +33,13 @@
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/draw/draw_vertex.h"
+#include "pipe/draw/draw_vbuf.h"
#include "cell_winsys.h"
#include "pipe/cell/common.h"
+struct cell_vbuf_render;
+
struct cell_vertex_shader_state
{
struct pipe_shader_state shader;
@@ -81,6 +84,9 @@ struct cell_context
/** The primitive drawing context */
struct draw_context *draw;
struct draw_stage *render_stage;
+
+ /** For post-transformed vertex buffering: */
+ struct cell_vbuf_render *vbuf_render;
struct draw_stage *vbuf;
struct vertex_info vertex_info;