summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu
AgeCommit message (Collapse)Author
2008-09-03cell: add missing cell_tex_surface_release()Brian Paul
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
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-22gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul
2008-08-08gallium: Add destroy callback to all *_winsys interfaces.José Fonseca
For consistency and to simplify these objects' destruction.
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-19gallium: Finer grained is_format_supported.José Fonseca
2008-06-27cell: Update for cpp removal.José Fonseca
Not tested -- just mymic the softpipe changes.
2008-06-23gallium: change surface_copy()'s do_flip to booleanBrian Paul
2008-06-23gallium: fix bad srcy coord if do_flipBrian Paul
2008-05-17gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul
The caller can then free the token array immediately.
2008-04-19cell: don't need to trim primsKeith Whitwell
2008-04-08cell: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-04-01cell: fix bug in texture tiling function (non-square textures work now)Brian
2008-04-01cell: checkpoint: more multi-texture workBrian
2008-04-01cell: assert num samplers/textures <= CELL_MAX_SAMPLERSBrian
2008-04-01cell: return CELL_MAX_SAMPLERS to indicate number of texture unitsBrian
2008-03-31cell: update some of the CAP, texformat queriesBrian
2008-03-31cell: more work for multi-texture supportBrian
2008-03-31cell: set cell->num_textures in cell_set_sampler_textures()Brian
2008-03-31cell: initial work to support multi-textureBrian
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-29gallium: Set vertex state/buffers en-mass.Brian Paul
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: include cell_state_per_fragment.h to silence warningBrian
2008-03-27cell: added (uint64_t) cast to silence warningBrian
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-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-21cell: Generate blend / depth test code when state atom is createdIan Romanick
Code generation should be performed when the device-specific state atom is created, not when it is bound.
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-20cell: Call the correct function to generate blending codeIan Romanick
Cut-and-paste for the lose. :(
2008-03-20cell: Use code-gen for alpha blendIan Romanick
So far this is only tested when GL_BLEND is disabled.
2008-03-20cell: use pipe_framebuffer_state.width, heightBrian
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
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: Don't segfault when unbinding alpha / stencil / depth test stateIan 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.
2008-03-13cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5Ian Romanick
2008-03-11cell: check for NULL shader pointer in cell_bind_vs_state()Brian
2008-03-10Move SPE register allocator to rtasm codeIan Romanick
Move the register allocator to a common location. There is more code on the way that will make use of this interface.
2008-03-10cell: sync up with sampler/texture state-setting changesBrian
2008-02-28cell: convert all points/lines to tris for the time beingBrian
Allows more programs to look correct. We'll want native points/lines someday.
2008-02-28cell: remove obsolete texture fieldBrian
2008-02-27cell: fix minor get_tex_surface() breakageBrian