[Mesa-dev] [PATCH 1/4] glsl: Add doxygen explaining what main.cpp is for.
Eric Anholt
eric at anholt.net
Wed Apr 18 18:40:29 PDT 2012
I keep getting lost in the Makefile trying to figure out what to edit
to work on builtin_compiler or glsl_compiler.
---
src/glsl/main.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index 3231b1b..64c2496 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -22,6 +22,15 @@
*/
#include <getopt.h>
+/** @file main.cpp
+ *
+ * This file is the main() routine and scaffolding for producing
+ * builtin_compiler (which doesn't include builtins itself and is used
+ * to generate the profile information for builtin_function.cpp), and
+ * for glsl_compiler (which does include builtins and can be used to
+ * offline compile GLSL code and examine the resulting GLSL IR.
+ */
+
#include "ast.h"
#include "glsl_parser_extras.h"
#include "ir_optimization.h"
--
1.7.10
More information about the mesa-dev
mailing list