summaryrefslogtreecommitdiff
path: root/main.cpp
AgeCommit message (Collapse)Author
2010-06-21Make the main compiler call the preprocessor.Kenneth Graunke
By using a single function, the main compiler doesn't need to include glcpp.h, which currently has a lot of details about the preprocessor internals. In particular, this prevents the two yacc grammars from seeing each other, which would be rather messy to sort out.
2010-06-21Complain and exit if the given shader file doesn't exist.Kenneth Graunke
2010-06-19Print out the info log if compilation fails.Kenneth Graunke
2010-06-19Initialize the shader info logIan Romanick
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-06-19Make shader a talloc context.Kenneth Graunke
2010-06-19Rename prog to shader. Less confusing.Kenneth Graunke
2010-06-17Don't link shaders by defaultIan Romanick
Add a command line option to trigger linking. This "fixes" all the failing test cases. Oops.
2010-06-17linker: Initial bits of the linkerIan Romanick
No linking is done yet, but some of the semantic checking is done.
2010-06-17Use glsl_program instead of an open-coded vector of shadersIan Romanick
2010-06-17Change glsl_program to glsl_shaderIan Romanick
2010-06-17Compile multiple shaders listed on the command lineIan Romanick
2010-06-17Extract compilation to a separate routineIan Romanick
Pull all of the code that actually compiles shaders into a separate function. Use a glsl_program to track data about the compiled shader.
2010-06-15Printing LIR is optionalIan Romanick
2010-06-15Printing the AST is optionalIan Romanick
2010-06-15Minor bits of code rearrangingIan Romanick
2010-06-15Infer shader type from suffix on filenameIan Romanick
2010-06-14Remove ability to read "IR shaders" from stand-alone compilerIan Romanick
2010-06-14Move stand-alone compiler main routine to main.cppIan Romanick