summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-23 03:18:02 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-23 04:37:58 -0800
commit763714d9009147478ab8265390678f91af70f952 (patch)
tree9315dce0ba0cb81eea9df9892841378bfdbc64f0 /src/gallium/drivers/r300/r300_context.h
parentd7370102960689f5092df05d5097ecae8d0096d4 (diff)
r300-gallium: Finish VAP/VF setup.
Messy, messy.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index fc32f8f669..5bcf23e2c5 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -191,6 +191,15 @@ struct r300_texture {
struct pipe_buffer* buffer;
};
+struct r300_vertex_format {
+ /* Parent class */
+ struct vertex_info vinfo;
+ /* R300_VAP_PROG_STREAK_CNTL_[0-7] */
+ uint32_t vap_prog_stream_cntl[8];
+ /* R300_VAP_PROG_STREAK_CNTL_EXT_[0-7] */
+ uint32_t vap_prog_stream_cntl_ext[8];
+};
+
struct r300_context {
/* Parent class */
struct pipe_context context;
@@ -228,7 +237,7 @@ struct r300_context {
struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS];
int vertex_buffer_count;
/* Vertex information. */
- struct vertex_info vertex_info;
+ struct r300_vertex_format vertex_info;
/* Bitmask of dirty state objects. */
uint32_t dirty_state;
/* Flag indicating whether or not the HW is dirty. */