summaryrefslogtreecommitdiffstats
path: root/src/glsl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* glsl2: Don't add mesa/program/ as an include dir. Let includes say program/.Eric Anholt2010-08-021-1/+0
|
* glsl2: Add new tree grafting optimization pass.Eric Anholt2010-07-311-0/+1
|
* glsl2: Factor out the variable refcounting part of ir_dead_code.cpp.Eric Anholt2010-07-311-0/+1
|
* glsl2/Makefile: Append to DEFINES rather than replacing them.Kenneth Graunke2010-07-281-1/+1
| | | | | Otherwise, we lose DEBUG, which causes mtypes.h to set NDEBUG, which causes assertions to not happen, which is no fun for anyone.
* glsl2: Add optimization pass for algebraic simplifications.Eric Anholt2010-07-271-0/+1
| | | | | | This cleans up the assembly output of almost all the non-logic tests glsl-algebraic-*. glsl-algebraic-pow-two needs love (basically, flattening to a temporary and squaring it).
* Merge remote branch 'origin/master' into glsl2Eric Anholt2010-07-261-4/+4
|\ | | | | | | | | | | | | | | | | | | | | This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
* | glsl2: Add the API defines to the glsl2 build so we get the right GLcontextEric Anholt2010-07-221-2/+6
| | | | | | | | | | | | | | Fixes: draw_buffers-08.frag draw_buffers-09.frag glsl-vs-texturematrix-2
* | glsl2: Add function to import function prototypes from one IR tree to anotherIan Romanick2010-07-211-0/+1
| |
* | glsl2: Add a constructor for _mesa_glsl_parse_stateIan Romanick2010-07-201-0/+1
| | | | | | | | Coming changes to the handling of built-in functions necessitate this.
* | Build a standalone glcpp binary.Carl Worth2010-07-201-3/+17
| | | | | | | | | | This is convenient for testing the preprocessor independent of the rest of mesa, (just run glcpp-test in the src/glsl/glcpp/tests).
* | linker: First bits of intrastage, intershader function linkingIan Romanick2010-07-191-0/+1
| | | | | | | | | | | | This handles the easy case of linking a function in a different compilation unit that doesn't call any functions or reference any global variables.
* | glsl2: Add a pass for converting if statements to conditional assignment.Eric Anholt2010-07-191-0/+1
| | | | | | | | This will be used on 915 and similar hardware of that generation.
* | glsl2: Add a new pass at the IR level to break down matrix ops to vector ops.Eric Anholt2010-07-121-0/+1
| | | | | | | | | | | | | | This will be used by the Mesa IR and likely most HW backends, as it allows other optimizations to occur that might not otherwise. Fixes glsl-vs-mat-sub-1, glsl-vs-mat-div-1.
* | glsl2: Add a pass to simplify if statements returning from both sides.Eric Anholt2010-07-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows function inlining making the following tests work even without function calls implemented: glsl-fs-functions-2 glsl-fs-functions-3 glsl-vs-functions glsl-vs-functions-2 glsl-vs-functions-3 glsl-vs-vec4-indexing-5 (Note that those tests were designed to trigger actual function calls, and this defeats them. However, those testcases ended up catching the bug in the previous commit.)
* | glsl2: Add pass for supporting variable vector indexing in rvalues.Eric Anholt2010-07-061-0/+1
| | | | | | | | | | | | | | The Mesa IR needs this to support vector indexing correctly, and hardware backends such as 915 would want this behavior as well. Fixes glsl-vs-vec4-indexing-2.
* | glsl2: Add a pass to break ir_binop_div to _mul and _rcp.Eric Anholt2010-07-021-0/+1
| | | | | | | | This results in constant folding of a constant divisor.
* | glsl2: Add a pass to convert mod(a, b) to b * fract(a/b).Eric Anholt2010-07-011-0/+1
| | | | | | | | This is used by the Mesa IR backend to implement mod, fixing glsl-fs-mod.
* | glsl2: Fix dependencies. (at least partially)Eric Anholt2010-06-251-2/+7
| |
* | glsl2: Replace the GLSL compiler with the glsl2 project.Eric Anholt2010-06-241-8/+122
|/
* Build mesa glsl with make.michal2009-12-101-0/+15
Still don't know how to add glsl to mesa dependencies.