summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-17 12:30:30 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-17 12:30:30 -0600
commita2805a81658fd4a4b9732167f24f334630549fa6 (patch)
tree8d210b7994b8d2690be0d011eddd50ae91262c6f /src/mesa/state_tracker
parent4973136e2062fe6930cee1a44f97aefa6b423295 (diff)
added outputs_written field to pipe_shader_state
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_fs.c1
-rw-r--r--src/mesa/state_tracker/st_atom_vs.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c
index 7e12441784..41ad49b317 100644
--- a/src/mesa/state_tracker/st_atom_fs.c
+++ b/src/mesa/state_tracker/st_atom_fs.c
@@ -85,6 +85,7 @@ static void update_fs( struct st_context *st )
memset( &fs, 0, sizeof(fs) );
fs.inputs_read = fp->Base.Base.InputsRead;
+ fs.outputs_written = fp->Base.Base.OutputsWritten;
fs.tokens = &fp->tokens[0];
fs.constants = &fp->constants;
diff --git a/src/mesa/state_tracker/st_atom_vs.c b/src/mesa/state_tracker/st_atom_vs.c
index d94c560bef..cef6e38d56 100644
--- a/src/mesa/state_tracker/st_atom_vs.c
+++ b/src/mesa/state_tracker/st_atom_vs.c
@@ -95,6 +95,7 @@ static void update_vs( struct st_context *st )
compile_vs( st, vp );
memset( &vs, 0, sizeof(vs) );
+ vs.outputs_written = vp->Base.Base.OutputsWritten;
vs.inputs_read = vp->Base.Base.InputsRead;
vs.tokens = &vp->tokens[0];
vs.constants = &vp->constants;