summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-06-22Add a readme.readmeEric Anholt1-0/+117
2010-06-22Fix multiple usage of an rvalue in constructor component splitting.Eric Anholt1-3/+52
2010-06-22ir_validate: New pass for checking our invariants.Eric Anholt4-0/+199
2010-06-22ir: Give ir_instruction a print visitor helper.Eric Anholt6-9/+13
2010-06-22Hook up texturing in the hierarchical visitor.Eric Anholt1-0/+49
2010-06-22Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL.Eric Anholt22-24/+11
2010-06-21glcpp: Initialize error state.Kenneth Graunke1-0/+1
2010-06-21glcpp: Accept #elif without an expression if the expression doesn't matter.Kenneth Graunke1-0/+11
2010-06-21glcpp: Print to the main compiler's infolog, not stdout.Kenneth Graunke3-4/+4
2010-06-21Use yy_scan_string and stop caring about shader->SourceLen.Kenneth Graunke4-9/+7
2010-06-21glcpp: Rework handling of "defined" operator.Kenneth Graunke1-45/+33
2010-06-21glcpp/tests: Add a test for #if defined (identifier)Kenneth Graunke2-0/+35
2010-06-21glcpp: Ignore junk tokens at end of #ifdef/#ifndef (with warning)Kenneth Graunke1-2/+8
2010-06-21glcpp: Add glcpp_warning for printing warnings to the info log.Kenneth Graunke2-0/+21
2010-06-21glcpp: Add boolean 'error' flag.Kenneth Graunke2-1/+3
2010-06-21glcpp: Rename "errors" to "info_log."Kenneth Graunke4-19/+21
2010-06-21glcpp: Don't include newlines as part of #version-passthrough.Kenneth Graunke1-1/+1
2010-06-21glcpp/tests: Add a test for #version followed by #define.Kenneth Graunke2-0/+5
2010-06-21glcpp: Fix line and column numbering.Kenneth Graunke1-1/+6
2010-06-21glcpp: Remove calls to exit().Kenneth Graunke1-6/+6
2010-06-21glcpp: Add line locations to "Unterminated #if" error message.Kenneth Graunke2-6/+10
2010-06-21glcpp: Add line locations to various mismatched #if error messages.Kenneth Graunke1-11/+11
2010-06-21glcpp: Add line locations to "reserved name" error messages.Kenneth Graunke1-8/+13
2010-06-21glcpp: Print locations in error messages where possible.Kenneth Graunke1-7/+7
2010-06-21glcpp: Introduce new glcpp_error function.Kenneth Graunke3-2/+18
2010-06-21glcpp: Set locations on tokens.Kenneth Graunke2-9/+25
2010-06-21glcpp: Set line locations in the lexer.Kenneth Graunke1-4/+21
2010-06-21glcpp: Add plumbing to support line locations.Kenneth Graunke3-9/+21
2010-06-21glcpp: Add %error-verbose.Kenneth Graunke1-0/+1
2010-06-21glcpp: Actually support #ifdef and #ifndef.Kenneth Graunke1-0/+10
2010-06-21glcpp: Build a reentrant parser.Kenneth Graunke3-13/+15
2010-06-21glcpp: Print errors on stdout instead of stderr (non-standalone version).Kenneth Graunke1-1/+1
2010-06-21glcpp/tests: Add extra newline at the end of expected output.Kenneth Graunke67-0/+67
2010-06-21glcpp: Handle missing newline at EOF.Kenneth Graunke1-0/+9
2010-06-21glcpp: Complain about unrecognized directives.Kenneth Graunke1-1/+3
2010-06-21glcpp: Pass #version, #extension, and #pragma directives through unchanged.Kenneth Graunke1-0/+7
2010-06-21Make the main compiler call the preprocessor.Kenneth Graunke4-3/+60
2010-06-21Complain and exit if the given shader file doesn't exist.Kenneth Graunke1-0/+4
2010-06-21glcpp: Add support for lexing from a string.Kenneth Graunke2-0/+9
2010-06-21glcpp: Output to a buffer and error log rather than directly printing.Kenneth Graunke3-48/+60
2010-06-21glcpp: Fix a case of == where = probably ought to be.Kenneth Graunke1-1/+1
2010-06-21Add glcpp to the build.Kenneth Graunke4-25/+51
2010-06-21Specify %option prefix="glcpp_" in the source code, not the Makefile.Kenneth Graunke2-1/+2
2010-06-21Merge Carl's preprocessor into the glcpp subdirectory.Kenneth Graunke147-0/+3508
2010-06-19Print out the info log if compilation fails.Kenneth Graunke1-0/+1
2010-06-19Change error/warning functions to print to the info log.Kenneth Graunke2-29/+31
2010-06-19Initialize the shader info logIan Romanick1-0/+7
2010-06-19Make shader a talloc context.Kenneth Graunke1-2/+6
2010-06-19Link against talloc. We're going to be using it.Kenneth Graunke2-0/+2
2010-06-19Fix crash when running glsl on a signle fragment shader.Kenneth Graunke1-1/+1