From a0204ce456435f6ee38d8c14d25ae251940bf55f Mon Sep 17 00:00:00 2001 From: Maciej Cencora Date: Sat, 11 Jul 2009 16:26:23 +0200 Subject: [PATCH] r300: document r300_fragment_program_cont struct --- src/mesa/drivers/dri/r300/r300_context.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 32104b8158b..f40e8ac3949 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; }; -- 2.30.2