summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-09-18cell: Added SGE and SLE instructions to dispatch functionJonathan White
2008-09-18cell: Added SGE and SLE instructionsJonathan White
2008-09-18CELL: finish fragment ops blending (except for unusual D3D modes)Robert Ellison
- 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.
2008-09-17cell: example of doing fs/fm sequence with fnms in blendingBrian Paul
2008-09-17cell: dump generated code if CELL_DEBUG=asmBrian Paul
2008-09-17CELL: fleshing out the blending fragment opsRobert Ellison
- 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...
2008-09-16cell: Added RCP and RSQ instruction support.Jonathan White
2008-09-16cell: Added DP3 and DP4 instructionsJonathan White
2008-09-16st: hash-warning not recognised on Windows.Michal Krol
2008-09-16cell: Optimized LERP with fmaJonathan White
Please enter the commit message for your changes.
2008-09-16cell: Fixed MIN/MAX algorithmJonathan White
2008-09-15cell: export CELL_DEBUG=asm to dump SPU assembly codeBrian Paul
2008-09-15cell: Added LERP instructionJonathan White
2008-09-15gallium: emit SPU instructions in assembler-compatible syntaxBrian Paul
2008-09-15cell: Added support for SLT, SEQ and SNE instructionsJonathan White
2008-09-15cell: Added support for ABS instructionJonathan White
2008-09-15Added support for SUB and MAD instructionsJonathan White
2008-09-15Fixed emit_RRRJonathan White
2008-09-15i915simple: dri winsys does now compile and worksJakob Bornecrantz
Glxgears hits an assert, but tri works
2008-09-14draw: Silence compiler warnings on Windows.Michal Krol
2008-09-13cell: implement negation, absolute value and set-sign for src regs in code genBrian Paul
2008-09-13gallium: add another value check to util_fast_pow()Brian Paul
Fixes glitches seen in morph3d demo.
2008-09-12cell: remove old disassembly/dump code; use dumper code in SPE emitter.Brian Paul
2008-09-12gallium: added print/dump code to SPE code emitterBrian Paul
2008-09-12cell: implement DDX/DDY codegen (untested)Brian Paul
2008-09-12gallium: added spe_splat_word()Brian Paul
2008-09-12cell: implement TGSI immediates in SPE code generatorBrian Paul
2008-09-12cell: initial support for IF/ELSE/ENDIF in fragment shader codegenBrian Paul
Only one level of if/else/endif nesting is currently working.
2008-09-12cell: evaluate multiple fragment inputsBrian Paul
2008-09-12cell: disable invalid spe_release_func() calls, fixes crash on exitBrian Paul
2008-09-12mesa: bump gallium version string to 0.2Brian Paul
2008-09-12cell: implement colormask on fallback pathBrian Paul
Also, some var renaming and additional comments
2008-09-12gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec pathBrian Paul
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.
2008-09-12gallium: use copy_token() function to avoid type punning/aliasing problemsBrian Paul
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...
2008-09-12cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul
2008-09-12gallium: use new compare32() function to fix warnings about type punning and ↵Brian Paul
aliasing
2008-09-12gallium: silence warningBrian Paul
2008-09-12cell: fix non-debug build errorBrian Paul
2008-09-12cell: implement swizzling for src regsBrian Paul
2008-09-12cell: setup fragment program inputs in SOA formatBrian Paul
Also remove old code, etc.
2008-09-12gallium: minor optimization to spe_load_int()Brian Paul
2008-09-12gallium: initial PPC/Altivec codegenBrian Paul
2008-09-12cell: disable calls to old gen codeBrian Paul
2008-09-12gallium: don't build winsys/ hereBrian Paul
2008-09-12i915simple: A step closer to compilingJakob Bornecrantz
2008-09-12mesa: regenerate shader filesKeith Whitwell
2008-09-12Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: progs/fp/Makefile
2008-09-12mesa: get fixed-function program generation working againKeith Whitwell
2008-09-11cell: initial support for fragment shader code generation.Brian Paul
TGSI shaders are translated into SPE instructions which are then sent to the SPEs for execution. Only a few opcodes work, no swizzling yet, no support for constants/immediates, etc.
2008-09-11cell: fix tile twidding bug seen in the event of multiple expose eventsBrian Paul