summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-11 15:05:27 -0600
committerBrian Paul <[email protected]>2008-08-11 15:21:40 -0600
commita0a614480931b281d13e7f2be2c50d20681d9de4 (patch)
tree2edebae2497a9bb7b4f2901d9ba000df470d799d /src/mesa
parente552140a9a55fcadfe7f28c74a7e0aa1c68cdc93 (diff)
gallium: added comment
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_program.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index c25c668329a..59314a32322 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -187,6 +187,12 @@ st_translate_vertex_program(struct st_context *st,
if (stvp->Base.Base.OutputsWritten & (1 << attr)) {
GLuint slot;
+ /* XXX
+ * Pass in the fragment program's input's semantic info.
+ * Use the generic semantic indexes from there, instead of
+ * guessing below.
+ */
+
if (outputMapping) {
slot = outputMapping[attr];
assert(slot != ~0);