From: Brian Paul Date: Mon, 11 Aug 2008 21:05:27 +0000 (-0600) Subject: gallium: added comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0a614480931b281d13e7f2be2c50d20681d9de4;p=mesa.git gallium: added comment --- 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);