mesa: Changes to 'gallium-0.1'
Brian Paul
brianp at kemper.freedesktop.org
Tue Sep 25 20:50:43 UTC 2007
src/mesa/pipe/draw/draw_feedback.c | 7
src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c | 4
src/mesa/sources | 4
src/mesa/state_tracker/st_atom.c | 3
src/mesa/state_tracker/st_atom.h | 3
src/mesa/state_tracker/st_atom_fs.c | 224 ---------------
src/mesa/state_tracker/st_atom_shader.c | 422 ++++++++++++++++++++++++++++++
src/mesa/state_tracker/st_atom_shader.h | 9
src/mesa/state_tracker/st_atom_vs.c | 278 -------------------
src/mesa/state_tracker/st_cb_clear.c | 6
src/mesa/state_tracker/st_cb_drawpixels.c | 6
src/mesa/state_tracker/st_cb_feedback.c | 4
src/mesa/state_tracker/st_cb_program.c | 100 +++----
src/mesa/state_tracker/st_cb_rasterpos.c | 61 ++--
src/mesa/state_tracker/st_context.h | 6
src/mesa/state_tracker/st_program.c | 413 +++++++++++++++++++++++++++++
src/mesa/state_tracker/st_program.h | 27 +
17 files changed, 968 insertions(+), 609 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit 07f31a29b41be572c48fc1b440eaeb6a6b010cc8
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:46:49 2007 -0600
some clean-up of ST_NEW_ shader flags
commit 1201eb852966a64742645a4cd3a2879bed81e29d
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:46:18 2007 -0600
disable TGSI_DEBUG
commit 6b1d2fa8154e04eea7fa55e07b951aef3b23993f
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:30:26 2007 -0600
replaced by st_atom_shader.c
commit 40c543eb71368c646259afb87d5c76551f6b45b7
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:29:11 2007 -0600
Translate mesa vertex/fragment programs to TGSI programs at same time to do proper linking.
Previously, programs were translated independently during validation.
The problem is the translation to TGSI format, which packs shader
input/outputs into continuous slots, depends on which vertex program is
being paired with which fragment shader. Now, we look at the outputs
of the vertex program in conjunction with the inputs of the fragment shader
to be sure the attributes match up correctly.
The new 'linked_program_pair' class keeps track of the associations
between vertex and fragment shaders. It's also the place where the TGSI
tokens are kept since they're no longer per-program state but per-linkage.
Still a few loose ends, like implementing some kind of hash/lookup table
for linked_program_pairs.
commit f9ed2fdaace0d4d7f091a4423a8638945e920b0d
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:22:13 2007 -0600
translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)
commit 07ef3e42451daa26fa5426026bcc4c89729644e0
Author: Brian <brian.paul at tungstengraphics.com>
Date: Tue Sep 25 14:21:18 2007 -0600
vertex/fragment shader state and linking
More information about the mesa-commit
mailing list