Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-27 | intel: Clean up leak of driver context structure on context destroy. | Brian Paul | |
(cherry picked from commit ddef7dc87b2001fbe117ee5f24a0c645ee95a03c) | |||
2009-07-27 | ARB prog parser: Correct handling of some extensions that interact w/ARB_vp | Ian Romanick | |
2009-07-27 | st/mesa: silence warning | Brian Paul | |
2009-07-27 | mesa: separate some finite/pragma Watcom stuff | Brian Paul | |
2009-07-27 | softpipe: include sp_winsys.h to silence function prototype warning | Brian Paul | |
2009-07-27 | r300/compiler: Make calculate_inputs_outputs available to external users | Nicolai Hähnle | |
In the long run, it's probably better to just get rid of InputsRead and OutputsWritten. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Add vertex program code dumper from Gallium driver | Nicolai Hähnle | |
2009-07-27 | r300/compiler: Prepare for hookup to Gallium | Nicolai Hähnle | |
2009-07-27 | r300/fragprog: Move wpos_attr and fog_attr where they belong | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants | Nicolai Hähnle | |
Also, this makes radeon_program_pair depend on the r300 fragment program compiler. Since we now know that r600+ no longer use the same pairing style in their ALU, we can stop pretending that program_pair is useful for anything but r300-r500 fragment programs. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Move some of the attribute handling out of the compiler | Nicolai Hähnle | |
Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Finally get rid of the duplicate program copy | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Move Mesa-dependent input/output handling out of compiler | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove ugly PSIZ hack | Nicolai Hähnle | |
Instead of setting Sourced, we simply force writemasks to begin with. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor wpos rewrite using rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor fog_as_texcoord to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Refactor addArtificialOutputs to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/fragprog: Refactor wpos rewrite to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor fragment program fog rewrite to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor rewrite_depth_out to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor local transforms to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | intel: Use _mesa_warning() to report GEM warnings | Brian Paul | |
2009-07-27 | ARB prog: Update generated files missed on previous two commits | Ian Romanick | |
The changes are, as it turns out, purely cosmetic. | |||
2009-07-27 | ARB prog: Delete comment about possibly needing to free a buffer | Ian Romanick | |
Valgrind doesn't complain about a leak here, so delete the comment about possibly needing to free the state returned by yy_scan_bytes. | |||
2009-07-27 | windows: updated VC8 project files | Karl Schultz | |
See bug 22882. | |||
2009-07-27 | ARB prog: Clean up several memory leaks | Ian Romanick | |
As far as I am able to determine via code inspection and using Valgrind, that should be all of the leaks in the parser. | |||
2009-07-27 | Add destructor for symbol_table | Ian Romanick | |
2009-07-27 | Add destructor for hash_table | Ian Romanick | |
2009-07-27 | r300: Allow compiler to add constants in a cleaner way | Nicolai Hähnle | |
Adding constants is used in a number of non-native instruction rewrites, and it required us to keep copies of modified gl_programs around. This is a first step towards ending this. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor nqssadce to use rc_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Refactor for rc_program usage | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Add rc_print_program | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Lay groundwork for better error handling | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove dependency on GLcontext from compiler | Nicolai Hähnle | |
Unfortunately, this does cause some code duplication (which we can hopefully eliminate eventually). Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Cleanup source conflict handling | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Massively reduce code duplication | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/vertprog: Use generic transforms and throw away unneeded code | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Move vertex program compilation to compiler | Nicolai Hähnle | |
This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Cleanup vertex_program structure | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove faux lazy translation of vertex programs | Nicolai Hähnle | |
De facto, vertex programs were translated immediately in all situations, so let's just stop pretending that we do lazy translation. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Reduce include dependencies | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Introduce rc_program and use it in radeon_pair | Nicolai Hähnle | |
The goal is to convert both Mesa and TGSI programs into an intermediate format that happens to be convenient for us. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Add radeon_compiler as a base for compilation-related tasks | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove some unnecessary includes | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300/compiler: Compile the compiler seperately into an archive | Nicolai Hähnle | |
This is all part of untangling the compiler from the classic driver, so that it may be used in Gallium without depending on Mesa stuff if possible Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Further reduce dependency between compiler and classic driver | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove some dependencies on additional fragment program copies | Nicolai Hähnle | |
The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext from r300_fragment_program_compiler | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> | |||
2009-07-27 | r300: Remove GLcontext requirement from radeonLocalTransform | Nicolai Hähnle | |
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com> |