summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/common.h
AgeCommit message (Collapse)Author
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: remove old state CMDs, added commentsBrian Paul
2008-09-11cell: remove old blend/depth/stencil/logicop structsBrian Paul
2008-09-11cell: checkpoint: remove more of the old per-fragment 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-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-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-03-31cell: more work for multi-texture supportBrian
2008-03-31cell: initial work to support multi-textureBrian
2008-03-31cell: updated comments: s/test/SPE/Brian
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-20cell: Use code-gen for alpha blendIan Romanick
So far this is only tested when GL_BLEND is disabled.
2008-03-17cell: Initial code-gen for alpha / stencil / depth testingIan Romanick
Alpha test is currently broken because all per-fragment testing occurs before alpha is calculated. Stencil test is currently broken because the Z-clear code asserts if there is a stencil buffer.
2008-02-21Cell: Remove erroneous ALIGN16_ATTRIB attributesIan Romanick
If a structure is marked as being aligned the SPE compiler performs extra optimizations (sadly, only -O2 is used) when reading the structure. Since most of the structures sent in batch buffers are only 8-byte aligned, this resulted in mysterous bugs with -O2.
2008-02-21Cell: Initial pass at unified data cacheIan Romanick
2008-02-19Cell: emit vertex shaders and uniforms more intelligentlyIan Romanick
2008-02-15Cell: Enable code gen for SPE attribute fetchIan Romanick
Doubles are still unsupported.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.