summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu
AgeCommit message (Collapse)Author
2008-09-19cell: issue warning to stderr when using fallback fragment opsBrian Paul
2008-09-19cell: the test for CELL_DEBUG_FRAGMENT_OP_FALLBACK in ↵Brian Paul
cmd_state_fragment_ops() was inverted
2008-09-18CELL: mark several transient files as .gitignoreRobert Ellison
progs/demos: added new demo "fbo_firecube" progs/glsl: added new demo "pointcoord" src/gallium/drivers/cell/spu: added the g3d_spu executable, a Cell SPU executable file, which seems to be occasionally built as part of the cell driver src/glu/sgi: added "exptmp", a byproduct of the "mklib" process that sometimes gets deleted and sometimes not.
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-12cell: evaluate multiple fragment inputsBrian Paul
2008-09-12cell: implement colormask on fallback pathBrian Paul
Also, some var renaming and additional comments
2008-09-12cell: setup fragment program inputs in SOA formatBrian Paul
Also remove old code, etc.
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: more comments, stub code for colormask/logicop/etcBrian Paul
2008-09-11cell: clean-up, commentsBrian Paul
2008-09-11cell: don't build unused sourcesBrian Paul
2008-09-11cell: asst. clean-upBrian Paul
2008-09-11cell: checkpoint: remove more of the old per-fragment codeBrian Paul
2008-09-11cell: begin new blending code (both codegen and fallback paths)Brian Paul
2008-09-11cell: fix shuffle in spu_unpack_B8G8R8A8()Brian Paul
2008-09-11cell: added cast in spu_splats() callBrian Paul
2008-09-11cell: remove old per-fragment code, replace with all new codeBrian Paul
2008-09-11cell: checkpoint commit of new per-fragment processingBrian Paul
Do code generation for alpha test, z test, stencil, blend, colormask and framebuffer/tile read/write as a single code block. Ian's previous blend/z/stencil test code is still there but mostly disabled and will be removed soon.
2008-09-11cell: minor change to Z float/int conversion code (avoid switch)Brian Paul
2008-09-11cell: commentsBrian Paul
2008-09-11cell: comments, etc.Brian Paul
2008-09-05cell: code clean-up, commentsBrian Paul
2008-09-04cell: implement CELL_DEBUG env/options varBrian Paul
Options so far: "checker" module tile clear color by SPU ID to see where the tiles are "sync" to do synchronous DMA (only partially implemented)
2008-09-03cell: replace assert() with special spu ASSERT() macroBrian Paul
2008-09-03cell: commentsBrian Paul
2008-09-03cell: add -DDEBUG flag, fixes to Cell MakefilesBrian Paul
2008-08-25cell: asst fixes to get driver building/running again.Brian
Note that SPU vertex transformation is disabled at this time.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-13cell: KILP is a predicated discard, KIL is a conditional discard.Michal Krol
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-06-02cell: SWZ no longer aliases MOV.Michal Krol
2008-05-31cell: Fix build after TGSI declaration interface changes.Michal Krol
2008-04-03cell: added some comments/ideas about better texture samplingBrian
2008-04-03cell: minor texture improvementsBrian
Precompute tiles_per_row. Use ushort multiplies in a few places. New comments.
2008-04-01cell: more multi-texture fixes (mostly working now)Brian
2008-04-01cell: turn off some debug outputBrian
2008-04-01cell: pass tex unit to get_texel()Brian
2008-04-01cell: checkpoint: more multi-texture workBrian
2008-04-01cell: enable #define CACHE_STATS to print a cache report upon exitBrian
2008-03-31cell: more work for multi-texture supportBrian
2008-03-31cell: initial work to support multi-textureBrian
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-27cell: fix unclosed commentBrian
2008-03-26cell: Implement code-gen for logic opIan Romanick
This also implements code-gen for the float-to-packed color conversion. It's currently hardcoded for A8R8G8B8, but that can easily be fixed as soon as other color depths are supported by the Cell driver.
2008-03-21cell: Change code-gen for CONST_COLOR blend factorIan Romanick
Previously the constant color blend factor was compiled into the generated code. This meant that the code had to be regenerated each time the constant color was changed. This doesn't fit with the model used in Gallium. As-is, the code could be better. The constant color is loaded for every quad processed, even if it is not used. Also, if a lot of (1-x) blend factors are used, 1.0 will be loaded and reloaded into registers many times.
2008-03-21cell: Remove unnecessary default_blend work-aroundIan Romanick
I suspect that there was some other bug in the blend code-gen that made this work-around necessary.
2008-03-20cell: Fix bus error when there is no depth bufferIan Romanick
2008-03-20cell: Use code-gen for alpha blendIan Romanick
So far this is only tested when GL_BLEND is disabled.
2008-03-18cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORMIan Romanick
2008-03-18cell: Fix depth read / write for s8z24.Ian Romanick
Stencil is still broken.