summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-03-08 23:36:04 -0800
committerCorbin Simpson <[email protected]>2010-03-09 07:31:27 -0800
commit141c7cb0d6078b3a2832c4be03ddcf25e35e596b (patch)
treeb8eaef6d685b6de766621eb9483841f2cd672e57 /src/gallium/drivers/r300/r300_context.h
parent9c8cb12388be6818ac11a28d40034d01047584b2 (diff)
r300g: Precalculate and CSO-bind PSC state.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 80e69924f08..985e3391126 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -288,9 +288,11 @@ struct r300_vertex_info {
uint32_t vap_prog_stream_cntl_ext[8];
};
-struct r300_velems_state {
+struct r300_vertex_element_state {
unsigned count;
struct pipe_vertex_element velem[PIPE_MAX_ATTRIBS];
+
+ struct r300_vertex_stream_state vertex_stream;
};
extern struct pipe_viewport_state r300_viewport_identity;
@@ -365,7 +367,7 @@ struct r300_context {
int vertex_buffer_count;
int vertex_buffer_max_index;
/* Vertex elements for Gallium. */
- struct r300_velems_state *velems;
+ struct r300_vertex_element_state *velems;
/* Vertex info for Draw. */
struct vertex_info vertex_info;