mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
glsl: Add doxygen explaining what main.cpp is for.
I keep getting lost in the Makefile trying to figure out what to edit to work on builtin_compiler or glsl_compiler. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4650aea7a5
commit
6a6cb03507
1 changed files with 9 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue