summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2009-07-11 16:26:23 +0200
committerMaciej Cencora <m.cencora@gmail.com>2009-07-13 19:28:14 +0200
commita0204ce456435f6ee38d8c14d25ae251940bf55f (patch)
tree8d273f54f4c2d915e0142bae7ec3a7403d7d281d
parentec854729d12a533ed00b9a9e6a5942aede2f5d1e (diff)
r300: document r300_fragment_program_cont struct
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 32104b8158..f40e8ac394 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -569,7 +569,12 @@ struct r300_fragment_program {
};
struct r300_fragment_program_cont {
+ /* This is the unmodified fragment program mesa provided us with.
+ * We need to keep it unchanged because we may need to create another
+ * hw specific fragment program based on this
+ */
struct gl_fragment_program Base;
+ /* This is the list of hw specific fragment programs derived from Base */
struct r300_fragment_program *progs;
};