summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_state_per_fragment.c
AgeCommit message (Collapse)Author
2010-03-01cell: Rename pipe formats.José Fonseca
2010-02-11cell: adapt to stencil ref changesRoland Scheidegger
not betting this compiles, some of the code handling stencil test seems incomplete and/or never called?
2010-01-25cell: adapt to blend changesRoland Scheidegger
2009-01-27gallium: standardize naming of masksZack Rusin
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: comments, etc.Brian Paul
2008-03-31cell: added const qualifierBrian
2008-03-31cell: implement logicop/output for PIPE_FORMAT_B8G8R8A8_UNORMBrian
Remote display to my usual terminal shows the right colors again. Not 100% sure about the shuffle control words, but they seem to work.
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-21Tabs to spacesIan Romanick
2008-03-20cell: Fix several bugs in blend code-genIan Romanick
- Alpha factor set to a _COLOR mode was mishandled - Cases when either dst factor or src factor was ZERO were mishandled - MIN and MAX cases were backwards - Case when blend was disabled was mishandled - Incorrect comments about number of instructions generated The tests blendminmax and blendsquare run correctly.
2008-03-18cell: Fix various stencil test code-gen bugsIan Romanick
2008-03-18cell: Fix added whitespace errors.Ian Romanick
2008-03-18cell: Move and (conditionally) silence debug codeIan Romanick
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.