Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-21 | glcpp: Rename "errors" to "info_log." | Kenneth Graunke | |
Eventually, we'll want to be be able to print out warnings as well. | |||
2010-06-21 | glcpp: Don't include newlines as part of #version-passthrough. | Kenneth Graunke | |
Fixes glcpp/tests/064-version.c. | |||
2010-06-21 | glcpp/tests: Add a test for #version followed by #define. | Kenneth Graunke | |
This isn't really a C file, but...that's probably okay. | |||
2010-06-21 | glcpp: Fix line and column numbering. | Kenneth Graunke | |
Lines were off by one, and column numbering was completely daft. | |||
2010-06-21 | glcpp: Remove calls to exit(). | Kenneth Graunke | |
Calling exit() would be really bad once integrated into mesa. Even in the standalone binary, we want to print the error log first. Since each case already flags an error, compilation will still fail, but it may go on (with something fudged) and generate more errors. | |||
2010-06-21 | glcpp: Add line locations to "Unterminated #if" error message. | Kenneth Graunke | |
2010-06-21 | glcpp: Add line locations to various mismatched #if error messages. | Kenneth Graunke | |
2010-06-21 | glcpp: Add line locations to "reserved name" error messages. | Kenneth Graunke | |
2010-06-21 | glcpp: Print locations in error messages where possible. | Kenneth Graunke | |
2010-06-21 | glcpp: Introduce new glcpp_error function. | Kenneth Graunke | |
2010-06-21 | glcpp: Set locations on tokens. | Kenneth Graunke | |
2010-06-21 | glcpp: Set line locations in the lexer. | Kenneth Graunke | |
2010-06-21 | glcpp: Add plumbing to support line locations. | Kenneth Graunke | |
2010-06-21 | glcpp: Add %error-verbose. | Kenneth Graunke | |
2010-06-21 | glcpp: Actually support #ifdef and #ifndef. | Kenneth Graunke | |
Strangely, the lexer never created these tokens, even though the parser already had code to handle them. | |||
2010-06-21 | glcpp: Build a reentrant parser. | Kenneth Graunke | |
2010-06-21 | glcpp: Print errors on stdout instead of stderr (non-standalone version). | Kenneth Graunke | |
Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing. | |||
2010-06-21 | glcpp/tests: Add extra newline at the end of expected output. | Kenneth Graunke | |
This newline at EOF is harmless and generated by the previous commit. | |||
2010-06-21 | glcpp: Handle missing newline at EOF. | Kenneth Graunke | |
Fixes CorrectFuncOverload.vert. | |||
2010-06-21 | glcpp: Complain about unrecognized directives. | Kenneth Graunke | |
2010-06-21 | glcpp: Pass #version, #extension, and #pragma directives through unchanged. | Kenneth Graunke | |
Let the main compiler's lexer/parser handle them. | |||
2010-06-21 | Make 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-21 | Complain and exit if the given shader file doesn't exist. | Kenneth Graunke | |
2010-06-21 | glcpp: Add support for lexing from a string. | Kenneth Graunke | |
The standalone binary still reads from stdin, however. | |||
2010-06-21 | glcpp: Output to a buffer and error log rather than directly printing. | Kenneth Graunke | |
In the standalone case, simply print the buffers when done. | |||
2010-06-21 | glcpp: Fix a case of == where = probably ought to be. | Kenneth Graunke | |
Caught by a GCC warning. | |||
2010-06-21 | Add glcpp to the build. | Kenneth Graunke | |
2010-06-21 | Specify %option prefix="glcpp_" in the source code, not the Makefile. | Kenneth Graunke | |
2010-06-21 | Merge Carl's preprocessor into the glcpp subdirectory. | Kenneth Graunke | |
2010-06-21 | llvmpipe: s/lpfs/shader/ | José Fonseca | |
2010-06-21 | r300g: fix the KIL opcode for r3xx-r4xx (v4) | Marek Olšák | |
2010-06-20 | r300g: fix assigning the texture cache region for 1 texture | Marek Olšák | |
2010-06-20 | mapi: Add missing stdlib.h header for malloc declaration. | Vinson Lee | |
2010-06-20 | i965g: Fix setup of immediate types for gen4 disasm. | Vinson Lee | |
Caught by clang. Follow-up to commit 070bbd4fcd5d2b669b880b91730a7ad9d130e416. | |||
2010-06-20 | r300g: manually assign texture cache regions | Marek Olšák | |
This should fix corrupted texturing on r3xx-r4xx. | |||
2010-06-20 | r600g: handle DRM_API_HANDLE_TYPE_KMS in buffer_get_handle | Marek Olšák | |
2010-06-20 | r300g: cleanup buffer_{from, get}_handle | Marek Olšák | |
2010-06-20 | r300g: cleanup includes | Marek Olšák | |
2010-06-20 | r300g: texture alignment code cleanup + use special alignment for AA textures | Marek Olšák | |
2010-06-19 | Revert "Fix image_matches_texture_obj() MaxLevel check" | Will Dyson | |
This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92. It was based on a failure to understand how ther driver allocates memory, and causes a regression with Celestia. Set MaxLevel to dstLevel before allocating new mipmap level. The radeon driver will fail to allocate space for a new level that is outside of BaseLevel..MaxLevel. Set MaxLevel before allocating. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> | |||
2010-06-19 | Print out the info log if compilation fails. | Kenneth Graunke | |
2010-06-19 | Change error/warning functions to print to the info log. | Kenneth Graunke | |
2010-06-19 | Initialize the shader info log | Ian Romanick | |
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> | |||
2010-06-19 | Make shader a talloc context. | Kenneth Graunke | |
2010-06-19 | Link against talloc. We're going to be using it. | Kenneth Graunke | |
2010-06-19 | r300g: fix random pixels appearing / incomplete rendering | Marek Olšák | |
This should fix the FDO bug #28612. Also, these piglit tests have been fixed: - fbo-copypix - scissor-copypixels - copytexsubimage - texredefine Finally, 2 flushes in the transfer path are no longer needed. | |||
2010-06-19 | r300g: output floats instead of halfs when passed through translate | Marek Olšák | |
2010-06-19 | Fix crash when running glsl on a signle fragment shader. | Kenneth Graunke | |
2010-06-19 | Rename prog to shader. Less confusing. | Kenneth Graunke | |
2010-06-19 | Fix compile on 64-bit. | Kenneth Graunke | |