r300: document r300_vertex_program_cont structure

Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
This commit is contained in:
Maciej Cencora
2009-07-11 16:34:04 +02:00
parent a0204ce456
commit b3716eeb61
+7 -2
View File
@@ -432,7 +432,12 @@ struct r300_vertex_program {
};
struct r300_vertex_program_cont {
struct gl_vertex_program mesa_program; /* Must be first */
/* This is the unmodified vertex program mesa provided us with.
* We need to keep it unchanged because we may need to create another
* hw specific vertex program based on this.
*/
struct gl_vertex_program mesa_program;
/* This is the list of hw specific vertex programs derived from mesa_program */
struct r300_vertex_program *progs;
};
@@ -571,7 +576,7 @@ 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
* hw specific fragment program based on this.
*/
struct gl_fragment_program Base;
/* This is the list of hw specific fragment programs derived from Base */