summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu
AgeCommit message (Collapse)Author
2008-01-29Cell: use _pack_rgba8() from pack_rgba8.h to do float[4]->uint color conversionBrian
texcyl.c is twice as fast now in non-texture mode
2008-01-28Cell: move cmd_render() into new spu_render.c fileBrian
2008-01-28Cell: compute min index referenced in draw command, use it to reduce size of ↵Brian
vertex data payload
2008-01-28Cell: minor optimization for flat shadingBrian
2008-01-28Cell: basic texture mappingBrian
Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works.
2008-01-28Cell: initial texture cache/sampling codeBrian
2008-01-28Cell: re-enable bounding boxesBrian
The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug.
2008-01-28Cell: additional assertionsBrian
2008-01-28Cell: clean-up of render pathBrian
Finally removed a number of unneeded flush commands. Vertex buffers are allocated from the general buffer pool, freed by SPUs when done. Still an occasional failed assertion (invalid batch buffer command)...
2008-01-28Cell: checkpoint commit: always inline prim indexes into batch bufferBrian
Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place...
2008-01-28Cell: generalize the batch buffer code for vertex buffers...Brian
2008-01-26Cell: added support for inlined vertex buffers.Brian
Small prims are now self-contained in batch buffers when space allows.
2008-01-26Cell: added support for inlined indexesBrian
If there's room in the batch buffer after the rendering command to accomodate the indexes, put them there rather than in a separate buffer.
2008-01-26Cell: move ASSERT macro into common.hBrian
2008-01-25Cell: typedefs need semicolons, Ian :)Brian
2008-01-25Cell: emit framebuffer state like other stateBrian
Plus misc clean-up. Window resize sometimes works now.
2008-01-25Work around parameter differences for main in different SDK versionsIan Romanick
2008-01-25Cell: propogate vertex info to SPUs, use it for attrib interpolationBrian
2008-01-25Cell: new ROUNDUP16() macroBrian
2008-01-24Cell: send actual vertex size in the render commandBrian
2008-01-21Cell: initial support for sampler stateBrian
2008-01-21Cell: added asmfiles ruleBrian
2008-01-20Cell: use tile_t for color tileBrian
2008-01-20Cell: clean-up/re-org tile codeBrian
Also, support 16 or 32-bit Z buffer at runtime.
2008-01-20Cell: use depth/stencil state to enable ztestBrian
Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values.
2008-01-19Cell: improve "finished copying batch buffer" signalling.Brian
When the SPU is done copying a batch buffer to local store, use an mfc_put() to write a "done" message back to the buffer status array in main memory. We were previously using a mailbox message for synchronization.
2008-01-14Cell: after sending a batch, wait for a DMA completion signal.Brian
This fixes sporadic rendering glitches. Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar is found to work.
2008-01-14clamp colors during float->int conversionBrian
2008-01-12Cell: remove fb parameter to get/put_tile()Brian
2008-01-12Cell: collect vars in a spu_global structBrian
2008-01-12Cell: first state object (depth/stencil/alpha) emitted to SPUsBrian
2008-01-12Cell: prefix SPU files with spu_Brian
2008-01-12Cell: prefix SPU sources with spu_Brian
2008-01-11Cell: basic batch buffer workingBrian
2008-01-11Cell: initial work for a hw-like batch buffer systemBrian
2008-01-11Cell: Remove the pre-vbuf rendering codeBrian
2008-01-10Cell: wait_on_mask_all()Brian
2008-01-10Cell: remove unneeded #includesBrian
2008-01-10Cell: remove unused color fieldBrian
2008-01-10Cell: remove unused codeBrian
2008-01-10Cell: make vertex_header and prim_header types private to tri.cBrian
2008-01-10Cell: avoid copying vertex dataBrian
2008-01-10Cell: move tile-related code into new tile.[ch] files.Brian
2008-01-10Cell: use new ASSERT macro instead of standard assertBrian
The later doesn't seem to work properly in SPU code.
2008-01-10Cell: checkpoint: draw_vbuf code in place and works, but not enabled by ↵Brian
default yet.
2008-01-09Cell: initial implementation of tile status optimizationsBrian
Tiles are marked as CLEAR, DEFINED or DIRTY to avoid making unnecessary get_tile() and put_tile() calls.
2008-01-09Cell: start using DMA tags in a more sensible way, move waits() later when ↵Brian
possible.
2008-01-09move cliprect bounds, do trivial rejection triangle clippingBrian
2008-01-09Cell: remove some debug printfs, predicate others with Debug booleanBrian
2008-01-09Cell: implemement basic Z testingBrian
Also, improve some surface clearing code