Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: bring sources into line with sources.mak, but omit gallium code | Keith Whitwell | 2008-09-18 | 1 | -14/+17 |
| | |||||
* | dri/swrast: fix swapBuffers after dri2 | George Sapountzis | 2008-09-18 | 1 | -0/+6 |
| | |||||
* | i965: Add support for G41 chipset which is another 4 series. | Xiang, Haihao | 2008-09-18 | 2 | -1/+6 |
| | |||||
* | cell: Fix bug with complement logic for SGE and SLE | Jonathan White | 2008-09-18 | 1 | -4/+38 |
| | |||||
* | cell: Added SGE and SLE instructions to dispatch function | Jonathan White | 2008-09-18 | 1 | -0/+4 |
| | |||||
* | cell: Added SGE and SLE instructions | Jonathan White | 2008-09-18 | 1 | -0/+62 |
| | |||||
* | CELL: finish fragment ops blending (except for unusual D3D modes) | Robert Ellison | 2008-09-18 | 3 | -218/+377 |
| | | | | | | | | | | | | | | | | | | | | - Added new "macro" functions spe_float_min() and spe_float_max() to rtasm_ppc_spe.{ch}. These emit instructions that cause the minimum or maximum of each element in a vector of floats to be saved in the destination register. - Major changes to cell_gen_fragment.c to implement all the blending modes (except for the mysterious D3D-based PIPE_BLENDFACTOR_SRC1_COLOR, PIPE_BLENDFACTOR_SRC1_ALPHA, PIPE_BLENDFACTOR_INV_SRC1_COLOR, and PIPE_BLENDFACTOR_INV_SRC1_ALPHA). - Some revamping of code in cell_gen_fragment.c: use the new spe_float_min() and spe_float_max() functions (instead of expanding these calculations inline via macros); create and use an inline utility function for handling "optional" register allocation (for the {1,1,1,1} vector, and the blend color vectors) instead of expanding with macros; use the Float Multiply and Subtract (fnms) instruction to simplify and optimize many blending calculations. | ||||
* | cell: example of doing fs/fm sequence with fnms in blending | Brian Paul | 2008-09-17 | 1 | -0/+18 |
| | |||||
* | cell: dump generated code if CELL_DEBUG=asm | Brian Paul | 2008-09-17 | 4 | -14/+44 |
| | |||||
* | CELL: fleshing out the blending fragment ops | Robert Ellison | 2008-09-17 | 5 | -68/+337 |
| | | | | | | | | | | | | | | | | | | | | | - Added two new debug flags (to be used with the CELL_DEBUG environment variable). The first, "CELL_DEBUG=fragops", activates SPE fragment ops debug messages. The second, "CELL_DEBUG=fragopfallback", will eventually be used to disable the use of generated SPE code for fragment ops in favor of the default fallback reference routine. (During development, though, the parity of this flag is reversed: all users will get the reference code *unless* CELL_DEBUG=fragopfallback is set. This will prevent hiccups in code generation from affecting the other developers.) - Formalized debug message usage and macros in spu/spu_main.c. - Added lots of new code to ppu/cell_gen_fragment.c to extend the number of supported source RGB factors from 4 to 15, and to complete the list of supported blend equations. More coming, to complete the source and destination RGB and alpha factors, and to complete the rest of the fragment operations... | ||||
* | cell: Added RCP and RSQ instruction support. | Jonathan White | 2008-09-16 | 1 | -0/+48 |
| | |||||
* | cell: Added DP3 and DP4 instructions | Jonathan White | 2008-09-16 | 1 | -0/+81 |
| | |||||
* | st: hash-warning not recognised on Windows. | Michal Krol | 2008-09-16 | 1 | -0/+2 |
| | |||||
* | cell: Optimized LERP with fma | Jonathan White | 2008-09-16 | 1 | -3/+2 |
| | | | | Please enter the commit message for your changes. | ||||
* | cell: Fixed MIN/MAX algorithm | Jonathan White | 2008-09-16 | 1 | -7/+3 |
| | |||||
* | cell: export CELL_DEBUG=asm to dump SPU assembly code | Brian Paul | 2008-09-15 | 3 | -29/+31 |
| | |||||
* | cell: Added LERP instruction | Jonathan White | 2008-09-15 | 1 | -1/+91 |
| | |||||
* | gallium: emit SPU instructions in assembler-compatible syntax | Brian Paul | 2008-09-15 | 1 | -8/+12 |
| | |||||
* | cell: Added support for SLT, SEQ and SNE instructions | Jonathan White | 2008-09-15 | 1 | -0/+100 |
| | |||||
* | cell: Added support for ABS instruction | Jonathan White | 2008-09-15 | 1 | -1/+30 |
| | |||||
* | Added support for SUB and MAD instructions | Jonathan White | 2008-09-15 | 1 | -3/+58 |
| | |||||
* | Fixed emit_RRR | Jonathan White | 2008-09-15 | 1 | -1/+1 |
| | |||||
* | i915simple: dri winsys does now compile and works | Jakob Bornecrantz | 2008-09-15 | 1 | -145/+242 |
| | | | | Glxgears hits an assert, but tri works | ||||
* | draw: Silence compiler warnings on Windows. | Michal Krol | 2008-09-14 | 1 | -1/+1 |
| | |||||
* | cell: implement negation, absolute value and set-sign for src regs in code gen | Brian Paul | 2008-09-13 | 1 | -2/+42 |
| | |||||
* | negate.txt - test negation of a src reg | Brian Paul | 2008-09-13 | 1 | -0/+6 |
| | |||||
* | gallium: add another value check to util_fast_pow() | Brian Paul | 2008-09-13 | 1 | -2/+4 |
| | | | | Fixes glitches seen in morph3d demo. | ||||
* | cell: remove old disassembly/dump code; use dumper code in SPE emitter. | Brian Paul | 2008-09-12 | 1 | -76/+28 |
| | |||||
* | gallium: added print/dump code to SPE code emitter | Brian Paul | 2008-09-12 | 2 | -25/+113 |
| | |||||
* | cell: implement DDX/DDY codegen (untested) | Brian Paul | 2008-09-12 | 1 | -0/+37 |
| | |||||
* | gallium: added spe_splat_word() | Brian Paul | 2008-09-12 | 2 | -0/+29 |
| | |||||
* | cell: implement TGSI immediates in SPE code generator | Brian Paul | 2008-09-12 | 1 | -12/+63 |
| | |||||
* | cell: initial support for IF/ELSE/ENDIF in fragment shader codegen | Brian Paul | 2008-09-12 | 1 | -18/+175 |
| | | | | Only one level of if/else/endif nesting is currently working. | ||||
* | cell: evaluate multiple fragment inputs | Brian Paul | 2008-09-12 | 1 | -1/+7 |
| | |||||
* | cell: disable invalid spe_release_func() calls, fixes crash on exit | Brian Paul | 2008-09-12 | 1 | -0/+4 |
| | |||||
* | Makefile was previously checked in with merge diffs still present. I just ↵ | Jonathan White | 2008-09-12 | 1 | -8/+2 |
| | | | | selected HEAD and removed the old. | ||||
* | mesa: bump gallium version string to 0.2 | Brian Paul | 2008-09-12 | 1 | -1/+1 |
| | |||||
* | cell: more documentation updates | Brian Paul | 2008-09-12 | 1 | -3/+25 |
| | |||||
* | cell: implement colormask on fallback path | Brian Paul | 2008-09-12 | 1 | -54/+110 |
| | | | | Also, some var renaming and additional comments | ||||
* | gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec path | Brian Paul | 2008-09-12 | 1 | -6/+11 |
| | | | | | | | tgsi_exec_machine_bind_shader() isn't cheap so avoiding unecessary calls is a big win. A similar change should be done for softpipe's fragment exec path but extra care needs to be taken with the texture sampler state/params. | ||||
* | gallium: use copy_token() function to avoid type punning/aliasing problems | Brian Paul | 2008-09-12 | 1 | -21/+33 |
| | | | | | | This fixes parsing errors seen with optimized builds on PPC (which led to crashes). The memcpy() is heavy-handed, but works. A lighter uint assignment could be used on x86... | ||||
* | cell: fix twiddled tile display for XSHM. Fixed blank window problem. | Brian Paul | 2008-09-12 | 1 | -5/+12 |
| | |||||
* | gallium: use new compare32() function to fix warnings about type punning and ↵ | Brian Paul | 2008-09-12 | 1 | -10/+14 |
| | | | | aliasing | ||||
* | gallium: silence warning | Brian Paul | 2008-09-12 | 1 | -0/+1 |
| | |||||
* | cell: fix non-debug build error | Brian Paul | 2008-09-12 | 1 | -2/+0 |
| | |||||
* | cell: implement swizzling for src regs | Brian Paul | 2008-09-12 | 1 | -3/+4 |
| | |||||
* | cell: setup fragment program inputs in SOA format | Brian Paul | 2008-09-12 | 1 | -56/+56 |
| | | | | Also remove old code, etc. | ||||
* | simple add with swizzle and mul with swizzle tests | Brian Paul | 2008-09-12 | 2 | -0/+8 |
| | |||||
* | cell: updated docs/status | Brian Paul | 2008-09-12 | 1 | -6/+14 |
| | |||||
* | gallium: minor optimization to spe_load_int() | Brian Paul | 2008-09-12 | 1 | -1/+2 |
| |