Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Comment out unused tables in_eglFillInConfigs | Chia-I Wu | 2009-07-28 | 1 | -0/+2 |
| | | | | | | This silences a compiler warning. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accpersp | Cooper Yuan | 2009-07-28 | 1 | -0/+2 |
| | |||||
* | r600: fix _REV texture format component swizzles | Alex Deucher | 2009-07-27 | 1 | -30/+30 |
| | |||||
* | mesa: regenerated file | Brian Paul | 2009-07-27 | 1 | -15/+15 |
| | |||||
* | glx: remove XTHREADS support | RALOVICH, Kristóf | 2009-07-27 | 3 | -60/+5 |
| | |||||
* | glapi: regenerated GL API assembly files | RALOVICH, Kristóf | 2009-07-27 | 2 | -2/+2 |
| | |||||
* | glapi: remove XTHREADS support | RALOVICH, Kristóf | 2009-07-27 | 4 | -96/+3 |
| | |||||
* | r300/compiler: Make calculate_inputs_outputs available to external users | Nicolai Hähnle | 2009-07-27 | 2 | -2/+7 |
| | | | | | | | In the long run, it's probably better to just get rid of InputsRead and OutputsWritten. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Add vertex program code dumper from Gallium driver | Nicolai Hähnle | 2009-07-27 | 4 | -0/+185 |
| | |||||
* | r300/compiler: Prepare for hookup to Gallium | Nicolai Hähnle | 2009-07-27 | 2 | -25/+31 |
| | |||||
* | r300/fragprog: Move wpos_attr and fog_attr where they belong | Nicolai Hähnle | 2009-07-27 | 5 | -22/+21 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constants | Nicolai Hähnle | 2009-07-27 | 3 | -46/+61 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constants | Nicolai Hähnle | 2009-07-27 | 4 | -27/+27 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r300/fragprog: Move some of the attribute handling out of the compiler | Nicolai Hähnle | 2009-07-27 | 3 | -72/+77 |
| | | | | | | | Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Finally get rid of the duplicate program copy | Nicolai Hähnle | 2009-07-27 | 6 | -57/+12 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Move Mesa-dependent input/output handling out of compiler | Nicolai Hähnle | 2009-07-27 | 5 | -104/+100 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove ugly PSIZ hack | Nicolai Hähnle | 2009-07-27 | 1 | -6/+4 |
| | | | | | | Instead of setting Sourced, we simply force writemasks to begin with. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Refactor wpos rewrite using rc_program | Nicolai Hähnle | 2009-07-27 | 3 | -61/+51 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Refactor fog_as_texcoord to use rc_program | Nicolai Hähnle | 2009-07-27 | 4 | -36/+34 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Refactor addArtificialOutputs to use rc_program | Nicolai Hähnle | 2009-07-27 | 5 | -78/+69 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/fragprog: Refactor wpos rewrite to use rc_program | Nicolai Hähnle | 2009-07-27 | 3 | -84/+80 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Refactor fragment program fog rewrite to use rc_program | Nicolai Hähnle | 2009-07-27 | 3 | -25/+44 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Refactor rewrite_depth_out to use rc_program | Nicolai Hähnle | 2009-07-27 | 1 | -5/+7 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Refactor local transforms to use rc_program | Nicolai Hähnle | 2009-07-27 | 14 | -646/+664 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Allow compiler to add constants in a cleaner way | Nicolai Hähnle | 2009-07-27 | 16 | -145/+193 |
| | | | | | | | | 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 <[email protected]> | ||||
* | r300/compiler: Refactor nqssadce to use rc_program | Nicolai Hähnle | 2009-07-27 | 9 | -116/+114 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Refactor for rc_program usage | Nicolai Hähnle | 2009-07-27 | 1 | -29/+30 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Add rc_print_program | Nicolai Hähnle | 2009-07-27 | 4 | -1/+34 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Lay groundwork for better error handling | Nicolai Hähnle | 2009-07-27 | 12 | -72/+113 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove dependency on GLcontext from compiler | Nicolai Hähnle | 2009-07-27 | 3 | -37/+98 |
| | | | | | | | Unfortunately, this does cause some code duplication (which we can hopefully eliminate eventually). Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Cleanup source conflict handling | Nicolai Hähnle | 2009-07-27 | 4 | -188/+155 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Massively reduce code duplication | Nicolai Hähnle | 2009-07-27 | 1 | -341/+42 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/vertprog: Use generic transforms and throw away unneeded code | Nicolai Hähnle | 2009-07-27 | 3 | -435/+59 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Move vertex program compilation to compiler | Nicolai Hähnle | 2009-07-27 | 12 | -1596/+1625 |
| | | | | | | | This is just the first step of refactoring. The separation is not yet clean enough with this commit. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Cleanup vertex_program structure | Nicolai Hähnle | 2009-07-27 | 4 | -24/+32 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove faux lazy translation of vertex programs | Nicolai Hähnle | 2009-07-27 | 5 | -13/+7 |
| | | | | | | | 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 <[email protected]> | ||||
* | r300: Reduce include dependencies | Nicolai Hähnle | 2009-07-27 | 4 | -122/+154 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Introduce rc_program and use it in radeon_pair | Nicolai Hähnle | 2009-07-27 | 10 | -13/+111 |
| | | | | | | | 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 <[email protected]> | ||||
* | r300: Add radeon_compiler as a base for compilation-related tasks | Nicolai Hähnle | 2009-07-27 | 9 | -31/+82 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove some unnecessary includes | Nicolai Hähnle | 2009-07-27 | 1 | -6/+0 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Compile the compiler seperately into an archive | Nicolai Hähnle | 2009-07-27 | 2 | -14/+79 |
| | | | | | | | 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 <[email protected]> | ||||
* | r300: Further reduce dependency between compiler and classic driver | Nicolai Hähnle | 2009-07-27 | 9 | -23/+23 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove some dependencies on additional fragment program copies | Nicolai Hähnle | 2009-07-27 | 7 | -27/+24 |
| | | | | | | | The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove GLcontext from r300_fragment_program_compiler | Nicolai Hähnle | 2009-07-27 | 2 | -2/+0 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove GLcontext requirement from radeonLocalTransform | Nicolai Hähnle | 2009-07-27 | 3 | -6/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove unused enums | Nicolai Hähnle | 2009-07-27 | 1 | -6/+0 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove GLcontext requirement from radeon_nqssadce | Nicolai Hähnle | 2009-07-27 | 4 | -12/+11 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300: Remove GLcontext requirement from radeon_program_pair | Nicolai Hähnle | 2009-07-27 | 4 | -9/+7 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/program_pair: Introduce driver-specific texture instruction structure | Nicolai Hähnle | 2009-07-27 | 4 | -22/+61 |
| | | | | | | | This is to prepare more experimentation and possible internal changes in the compiler. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/program_pair: Dynamically allocate instructions temporarily | Nicolai Hähnle | 2009-07-27 | 4 | -105/+237 |
| | | | | | | | In preparation of using TGSI, where we cannot easily predict the number of instructions. Signed-off-by: Nicolai Hähnle <[email protected]> |