summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/ppu
Commit message (Collapse)AuthorAgeFilesLines
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-2411-11/+11
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul2008-08-221-0/+1
|
* gallium: Add destroy callback to all *_winsys interfaces.José Fonseca2008-08-081-0/+5
| | | | For consistency and to simplify these objects' destruction.
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-282-2/+2
|
* gallium: Finer grained is_format_supported.José Fonseca2008-07-191-15/+9
|
* cell: Update for cpp removal.José Fonseca2008-06-272-63/+18
| | | | Not tested -- just mymic the softpipe changes.
* gallium: change surface_copy()'s do_flip to booleanBrian Paul2008-06-231-1/+1
|
* gallium: fix bad srcy coord if do_flipBrian Paul2008-06-231-1/+1
|
* gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul2008-05-171-31/+53
| | | | The caller can then free the token array immediately.
* cell: don't need to trim primsKeith Whitwell2008-04-191-11/+0
|
* cell: keep track of num_vertex_attribs/buffers for shorter loopsBrian2008-04-083-13/+13
|
* cell: fix bug in texture tiling function (non-square textures work now)Brian2008-04-011-2/+4
|
* cell: checkpoint: more multi-texture workBrian2008-04-011-2/+6
|
* cell: assert num samplers/textures <= CELL_MAX_SAMPLERSBrian2008-04-011-4/+6
|
* cell: return CELL_MAX_SAMPLERS to indicate number of texture unitsBrian2008-04-011-1/+2
|
* cell: update some of the CAP, texformat queriesBrian2008-03-311-8/+12
|
* cell: more work for multi-texture supportBrian2008-03-311-10/+21
|
* cell: set cell->num_textures in cell_set_sampler_textures()Brian2008-03-311-0/+1
|
* cell: initial work to support multi-textureBrian2008-03-311-10/+8
|
* cell: added const qualifierBrian2008-03-312-3/+5
|
* cell: implement logicop/output for PIPE_FORMAT_B8G8R8A8_UNORMBrian2008-03-311-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 Paul2008-03-293-20/+26
|
* gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian2008-03-274-8/+8
| | | | | 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 warningBrian2008-03-271-0/+1
|
* cell: added (uint64_t) cast to silence warningBrian2008-03-271-1/+1
|
* cell: Implement code-gen for logic opIan Romanick2008-03-264-4/+280
| | | | | | | 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änzer2008-03-264-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 createdIan Romanick2008-03-211-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 factorIan Romanick2008-03-213-49/+49
| | | | | | | | | | | | 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 spacesIan Romanick2008-03-211-27/+27
|
* cell: Fix several bugs in blend code-genIan Romanick2008-03-201-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 codeIan Romanick2008-03-201-1/+1
| | | | Cut-and-paste for the lose. :(
* cell: Use code-gen for alpha blendIan Romanick2008-03-202-6/+22
| | | | So far this is only tested when GL_BLEND is disabled.
* cell: use pipe_framebuffer_state.width, heightBrian2008-03-202-13/+4
|
* gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul2008-03-191-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 bugsIan Romanick2008-03-181-27/+43
|
* cell: Fix added whitespace errors.Ian Romanick2008-03-181-2/+2
|
* cell: Move and (conditionally) silence debug codeIan Romanick2008-03-182-10/+39
|
* cell: Don't segfault when unbinding alpha / stencil / depth test stateIan Romanick2008-03-172-6/+13
|
* cell: Initial code-gen for alpha / stencil / depth testingIan Romanick2008-03-176-12/+1130
| | | | | | | | 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.
* cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5Ian Romanick2008-03-133-32/+15
|
* cell: check for NULL shader pointer in cell_bind_vs_state()Brian2008-03-111-1/+2
|
* Move SPE register allocator to rtasm codeIan Romanick2008-03-101-72/+29
| | | | | Move the register allocator to a common location. There is more code on the way that will make use of this interface.
* cell: sync up with sampler/texture state-setting changesBrian2008-03-103-12/+28
|
* cell: convert all points/lines to tris for the time beingBrian2008-02-281-0/+4
| | | | Allows more programs to look correct. We'll want native points/lines someday.
* cell: remove obsolete texture fieldBrian2008-02-281-1/+0
|
* cell: fix minor get_tex_surface() breakageBrian2008-02-271-1/+2
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-271-30/+0
| | | | These functions are now per-screen, not per-context.
* gallium: move is_format_supported() to pipe_screen structBrian2008-02-272-23/+19
|
* gallium: start removing pipe_context->get_name/vendor/param/paramfBrian2008-02-271-29/+0
| | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.