Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cell: Update for cpp removal. | José Fonseca | 2008-06-27 | 2 | -63/+18 |
| | | | | Not tested -- just mymic the softpipe changes. | ||||
* | gallium: change surface_copy()'s do_flip to boolean | Brian Paul | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | gallium: fix bad srcy coord if do_flip | Brian Paul | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | cell: SWZ no longer aliases MOV. | Michal Krol | 2008-06-02 | 1 | -1/+1 |
| | |||||
* | cell: Fix build after TGSI declaration interface changes. | Michal Krol | 2008-05-31 | 1 | -5/+3 |
| | |||||
* | gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state() | Brian Paul | 2008-05-17 | 1 | -31/+53 |
| | | | | The caller can then free the token array immediately. | ||||
* | cell: don't need to trim prims | Keith Whitwell | 2008-04-19 | 1 | -11/+0 |
| | |||||
* | cell: keep track of num_vertex_attribs/buffers for shorter loops | Brian | 2008-04-08 | 3 | -13/+13 |
| | |||||
* | cell: added some comments/ideas about better texture sampling | Brian | 2008-04-03 | 1 | -1/+17 |
| | |||||
* | cell: minor texture improvements | Brian | 2008-04-03 | 3 | -11/+26 |
| | | | | Precompute tiles_per_row. Use ushort multiplies in a few places. New comments. | ||||
* | cell: more multi-texture fixes (mostly working now) | Brian | 2008-04-01 | 4 | -16/+17 |
| | |||||
* | cell: turn off some debug output | Brian | 2008-04-01 | 1 | -1/+1 |
| | |||||
* | cell: pass tex unit to get_texel() | Brian | 2008-04-01 | 1 | -3/+2 |
| | |||||
* | cell: fix bug in texture tiling function (non-square textures work now) | Brian | 2008-04-01 | 1 | -2/+4 |
| | |||||
* | cell: checkpoint: more multi-texture work | Brian | 2008-04-01 | 6 | -14/+42 |
| | |||||
* | cell: assert num samplers/textures <= CELL_MAX_SAMPLERS | Brian | 2008-04-01 | 1 | -4/+6 |
| | |||||
* | cell: return CELL_MAX_SAMPLERS to indicate number of texture units | Brian | 2008-04-01 | 1 | -1/+2 |
| | |||||
* | cell: enable #define CACHE_STATS to print a cache report upon exit | Brian | 2008-04-01 | 3 | -0/+23 |
| | |||||
* | cell: update some of the CAP, texformat queries | Brian | 2008-03-31 | 1 | -8/+12 |
| | |||||
* | cell: more work for multi-texture support | Brian | 2008-03-31 | 6 | -57/+90 |
| | |||||
* | cell: set cell->num_textures in cell_set_sampler_textures() | Brian | 2008-03-31 | 1 | -0/+1 |
| | |||||
* | cell: initial work to support multi-texture | Brian | 2008-03-31 | 6 | -37/+55 |
| | |||||
* | cell: added const qualifier | Brian | 2008-03-31 | 2 | -3/+5 |
| | |||||
* | cell: updated comments: s/test/SPE/ | Brian | 2008-03-31 | 1 | -3/+3 |
| | |||||
* | cell: implement logicop/output for PIPE_FORMAT_B8G8R8A8_UNORM | Brian | 2008-03-31 | 1 | -10/+26 |
| | | | | | Remote display to my usual terminal shows the right colors again. Not 100% sure about the shuffle control words, but they seem to work. | ||||
* | gallium: Set vertex state/buffers en-mass. | Brian Paul | 2008-03-29 | 3 | -20/+26 |
| | |||||
* | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | 2008-03-27 | 7 | -16/+16 |
| | | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | ||||
* | cell: include cell_state_per_fragment.h to silence warning | Brian | 2008-03-27 | 1 | -0/+1 |
| | |||||
* | cell: added (uint64_t) cast to silence warning | Brian | 2008-03-27 | 1 | -1/+1 |
| | |||||
* | cell: fix unclosed comment | Brian | 2008-03-27 | 1 | -1/+1 |
| | |||||
* | cell: Implement code-gen for logic op | Ian Romanick | 2008-03-26 | 8 | -33/+349 |
| | | | | | | | 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. | ||||
* | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | 2008-03-26 | 4 | -7/+17 |
| | | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | ||||
* | cell: Generate blend / depth test code when state atom is created | Ian Romanick | 2008-03-21 | 1 | -21/+9 |
| | | | | | Code generation should be performed when the device-specific state atom is created, not when it is bound. | ||||
* | cell: Change code-gen for CONST_COLOR blend factor | Ian Romanick | 2008-03-21 | 5 | -49/+53 |
| | | | | | | | | | | | | 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. | ||||
* | Tabs to spaces | Ian Romanick | 2008-03-21 | 1 | -27/+27 |
| | |||||
* | cell: Remove unnecessary default_blend work-around | Ian Romanick | 2008-03-21 | 1 | -21/+0 |
| | | | | | I suspect that there was some other bug in the blend code-gen that made this work-around necessary. | ||||
* | cell: Fix several bugs in blend code-gen | Ian Romanick | 2008-03-20 | 1 | -20/+92 |
| | | | | | | | | | | - 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. | ||||
* | cell: Call the correct function to generate blending code | Ian Romanick | 2008-03-20 | 1 | -1/+1 |
| | | | | Cut-and-paste for the lose. :( | ||||
* | cell: Fix bus error when there is no depth buffer | Ian Romanick | 2008-03-20 | 1 | -0/+3 |
| | |||||
* | cell: Use code-gen for alpha blend | Ian Romanick | 2008-03-20 | 9 | -132/+129 |
| | | | | So far this is only tested when GL_BLEND is disabled. | ||||
* | cell: use pipe_framebuffer_state.width, height | Brian | 2008-03-20 | 2 | -13/+4 |
| | |||||
* | gallium: add face, dirtyLevels params to pipe->texture_update() | Brian Paul | 2008-03-19 | 1 | -1/+2 |
| | | | | | This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed. | ||||
* | cell: Fix various stencil test code-gen bugs | Ian Romanick | 2008-03-18 | 1 | -27/+43 |
| | |||||
* | cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORM | Ian Romanick | 2008-03-18 | 1 | -3/+2 |
| | |||||
* | cell: Fix depth read / write for s8z24. | Ian Romanick | 2008-03-18 | 2 | -2/+24 |
| | | | | Stencil is still broken. | ||||
* | cell: Fix added whitespace errors. | Ian Romanick | 2008-03-18 | 1 | -2/+2 |
| | |||||
* | cell: Minor changes to make stencil not crash | Ian Romanick | 2008-03-18 | 2 | -5/+11 |
| | | | | | | I'm not sure these are quite correct. The reflect demo doesn't assert anymore, but it doesn't produce correct results either. SPE-based vertex shader code needs to be disabled for relfect to run. | ||||
* | cell: Move and (conditionally) silence debug code | Ian Romanick | 2008-03-18 | 2 | -10/+39 |
| | |||||
* | cell: Don't segfault when unbinding alpha / stencil / depth test state | Ian Romanick | 2008-03-17 | 3 | -13/+29 |
| | |||||
* | cell: Initial code-gen for alpha / stencil / depth testing | Ian Romanick | 2008-03-17 | 15 | -170/+1409 |
| | | | | | | | | 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. |