summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
Commit message (Collapse)AuthorAgeFilesLines
* r300c/compiler: remove the compiler tooMarek Olšák2011-10-281-489/+0
| | | | Gallium has a fork of this.
* r300/compiler: fix up error messageMarek Olšák2011-04-221-2/+2
|
* r300/compiler: Don't count BEGIN_TEX instructions in the compiler statsTom Stellard2011-02-051-1/+3
|
* r300/compiler: print stats based on the initial number of instructionsMarek Olšák2011-01-281-3/+8
| | | | | The same number of shaders is now printed regardless of optimizations being enabled or not, so that we can compare shader stats side by side easily.
* r300/compiler: do not print pair/tex/presub program stats for vertex shadersMarek Olšák2010-12-081-16/+30
|
* r300/compiler: cleanup rc_run_compilerMarek Olšák2010-12-081-11/+23
|
* r300/compiler: add a function to query program stats (alu, tex, temps..)Marek Olšák2010-12-081-15/+27
|
* r300/compiler: move util functions to radeon_compiler_utilMarek Olšák2010-11-261-0/+1
| | | | | | | The compiler seriously needs a cleanup as far as the arrangement of functions is concerned. It's hard to know whether some function was implemented or not because there are so many places to search in and it can be anywhere and named anyhow.
* r300/compiler: Remove unused variable.Vinson Lee2010-10-191-1/+1
|
* r300g: Add new debug option for logging vertex/fragment program statsTom Stellard2010-10-181-4/+62
|
* r300/compiler: add new compiler parameter max_constantsMarek Olšák2010-09-041-0/+9
|
* r300/compiler: refactor vertex shader compilationMarek Olšák2010-09-041-0/+24
| | | | | | First list compiler passes in an array, then run the new function rc_run_compiler. Every backend may need a different set of passes. This cleans up the mess in r3xx_compile_vertex_program.
* r300g: implement gl_FrontFacingMarek Olšák2010-08-111-0/+43
|
* r300/compiler: add handy definitions for XYZ0 and smeared half swizzlingMarek Olšák2010-04-171-3/+3
|
* r300/compiler: add full viewport transformation support in WPOS codegenMarek Olšák2010-01-061-3/+10
|
* r300: Silence 'mixed declarations and code' warnings.Vinson Lee2010-01-031-4/+7
|
* r300/compiler: Refactor to allow different instruction typesNicolai Hähnle2009-10-041-68/+68
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300/compiler: New dataflow structures and passesNicolai Hähnle2009-09-061-0/+35
| | | | | | | | | | This replaces the old NQSSADCE code with the same functionality, but quite different design. Instead of doing a single integerated pass, we now build explicit data structures representing the dataflow. This will enable analysis of flow control instruction, and could potentially open an avenue for several dataflow based optimizations, such as peephole optimization, fusing MUL+ADD to MAD, and so on.
* r300: Remove all Mesa dependencies from the shader compilerNicolai Hähnle2009-08-301-45/+47
| | | | | | | | In particular, this removes the dependency on prog_instruction, which unfortunately creates some code duplication, but also opens a path towards adding some hardware-specific things in there. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300/vertprog: Refactor wpos rewrite using rc_programNicolai Hähnle2009-07-271-0/+41
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300/vertprog: Refactor fog_as_texcoord to use rc_programNicolai Hähnle2009-07-271-0/+26
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300/fragprog: Refactor wpos rewrite to use rc_programNicolai Hähnle2009-07-271-0/+73
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300/compiler: Refactor fragment program fog rewrite to use rc_programNicolai Hähnle2009-07-271-0/+32
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300: Allow compiler to add constants in a cleaner wayNicolai Hähnle2009-07-271-0/+1
| | | | | | | | 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>
* r300/compiler: Lay groundwork for better error handlingNicolai Hähnle2009-07-271-0/+50
| | | | Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
* r300: Introduce rc_program and use it in radeon_pairNicolai Hähnle2009-07-271-0/+3
| | | | | | | 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>
* r300: Add radeon_compiler as a base for compilation-related tasksNicolai Hähnle2009-07-271-0/+36
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>