summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_state.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-07-19 20:24:55 +0100
committerKeith Whitwell <[email protected]>2007-07-19 20:24:55 +0100
commit4824c342c864e870251a7d343c95e51274e50d23 (patch)
tree483fa4e4aaf87d37fd5005032f27584110de595d /src/mesa/pipe/p_state.h
parent6101fe641cd506422d0b2735dfcaa61174684ec4 (diff)
Trigger tgsi compilation for fragment programs.
Not sure the generated program looks correct though...
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r--src/mesa/pipe/p_state.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h
index fd5e7ad3af9..e3f62a80ad7 100644
--- a/src/mesa/pipe/p_state.h
+++ b/src/mesa/pipe/p_state.h
@@ -121,8 +121,11 @@ struct pipe_clip_state {
GLuint nr;
};
+
struct pipe_fs_state {
- struct gl_fragment_program *fp;
+ GLuint inputs_read; /* FRAG_ATTRIB_* */
+ const struct tgsi_token *tokens;
+
};
struct pipe_constant_buffer {