summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-09-28 14:34:25 -0400
committerJerome Glisse <[email protected]>2010-09-28 14:34:25 -0400
commit723a655ed3f3092f6fa74a903fb774a3cec93b79 (patch)
treea74876c5288161b03a62c873c4f8984c24530d43 /src/gallium/drivers/r600/r600_pipe.h
parentfe790a3c346b5edb8b64cfc937b0d5cd9e337412 (diff)
r600g: avoid rebuilding the vertex shader if no change to input format
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 5abf910c81c..e161dc5066a 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -69,12 +69,6 @@ struct r600_pipe_blend {
unsigned cb_target_mask;
};
-struct r600_pipe_shader {
- struct r600_shader shader;
- struct r600_pipe_state rstate;
- struct radeon_ws_bo *bo;
-};
-
struct r600_vertex_element
{
unsigned count;
@@ -82,6 +76,14 @@ struct r600_vertex_element
struct pipe_vertex_element elements[32];
};
+struct r600_pipe_shader {
+ struct r600_shader shader;
+ struct r600_pipe_state rstate;
+ struct radeon_ws_bo *bo;
+ struct r600_vertex_element vertex_elements;
+};
+
+
struct r600_pipe_context {
struct pipe_context context;
struct blitter_context *blitter;