summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_state.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-01 15:17:30 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-01 15:18:04 -0700
commit52659e3c238d961de1f25bed9254747f2f931547 (patch)
tree186be7f108b68a3d57dabf0895cf10c5d38baa7d /src/mesa/pipe/softpipe/sp_state.h
parent292bbd4a7250b96c4edadc2da5ebb7fc72b6159f (diff)
Clean-up, re-org some vertex/fragment shader state code.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_state.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state.h b/src/mesa/pipe/softpipe/sp_state.h
index ed16228ea2..c1f5555a86 100644
--- a/src/mesa/pipe/softpipe/sp_state.h
+++ b/src/mesa/pipe/softpipe/sp_state.h
@@ -60,9 +60,7 @@ struct gallivm_prog;
-/**
- * Softpipe fs state is derived from pipe_shader_state.
- */
+/** Subclass of pipe_shader_state */
struct sp_fragment_shader_state {
struct pipe_shader_state shader;
#if defined(__i386__) || defined(__386__)
@@ -74,6 +72,14 @@ struct sp_fragment_shader_state {
};
+/** Subclass of pipe_shader_state */
+struct sp_vertex_shader_state {
+ struct pipe_shader_state shader;
+ void *draw_data;
+};
+
+
+
void *
softpipe_create_blend_state(struct pipe_context *,
const struct pipe_blend_state *);