Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-28 | Cell: compute min index referenced in draw command, use it to reduce size of ↵ | Brian | |
vertex data payload | |||
2008-01-28 | Cell: minor optimization for flat shading | Brian | |
2008-01-28 | Cell: basic texture mapping | Brian | |
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-28 | Cell: initial texture cache/sampling code | Brian | |
2008-01-28 | Cell: re-enable bounding boxes | Brian | |
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-28 | Cell: additional assertions | Brian | |
2008-01-28 | Cell: clean-up of render path | Brian | |
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-28 | Cell: checkpoint commit: always inline prim indexes into batch buffer | Brian | |
Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place... | |||
2008-01-28 | Cell: generalize the batch buffer code for vertex buffers... | Brian | |
2008-01-26 | Cell: added support for inlined vertex buffers. | Brian | |
Small prims are now self-contained in batch buffers when space allows. | |||
2008-01-26 | Cell: added support for inlined indexes | Brian | |
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-26 | Cell: move ASSERT macro into common.h | Brian | |
2008-01-25 | Cell: typedefs need semicolons, Ian :) | Brian | |
2008-01-25 | Cell: emit framebuffer state like other state | Brian | |
Plus misc clean-up. Window resize sometimes works now. | |||
2008-01-25 | Work around parameter differences for main in different SDK versions | Ian Romanick | |
2008-01-25 | Cell: propogate vertex info to SPUs, use it for attrib interpolation | Brian | |
2008-01-25 | Cell: new ROUNDUP16() macro | Brian | |
2008-01-24 | Cell: send actual vertex size in the render command | Brian | |
2008-01-21 | Cell: initial support for sampler state | Brian | |
2008-01-21 | Cell: added asmfiles rule | Brian | |
2008-01-20 | Cell: use tile_t for color tile | Brian | |
2008-01-20 | Cell: clean-up/re-org tile code | Brian | |
Also, support 16 or 32-bit Z buffer at runtime. | |||
2008-01-20 | Cell: use depth/stencil state to enable ztest | Brian | |
Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values. | |||
2008-01-19 | Cell: 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-14 | Cell: 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-14 | clamp colors during float->int conversion | Brian | |
2008-01-12 | Cell: remove fb parameter to get/put_tile() | Brian | |
2008-01-12 | Cell: collect vars in a spu_global struct | Brian | |
2008-01-12 | Cell: first state object (depth/stencil/alpha) emitted to SPUs | Brian | |
2008-01-12 | Cell: prefix SPU files with spu_ | Brian | |
2008-01-12 | Cell: prefix SPU sources with spu_ | Brian | |
2008-01-11 | Cell: basic batch buffer working | Brian | |
2008-01-11 | Cell: initial work for a hw-like batch buffer system | Brian | |
2008-01-11 | Cell: Remove the pre-vbuf rendering code | Brian | |
2008-01-10 | Cell: wait_on_mask_all() | Brian | |
2008-01-10 | Cell: remove unneeded #includes | Brian | |
2008-01-10 | Cell: remove unused color field | Brian | |
2008-01-10 | Cell: remove unused code | Brian | |
2008-01-10 | Cell: make vertex_header and prim_header types private to tri.c | Brian | |
2008-01-10 | Cell: avoid copying vertex data | Brian | |
2008-01-10 | Cell: move tile-related code into new tile.[ch] files. | Brian | |
2008-01-10 | Cell: use new ASSERT macro instead of standard assert | Brian | |
The later doesn't seem to work properly in SPU code. | |||
2008-01-10 | Cell: checkpoint: draw_vbuf code in place and works, but not enabled by ↵ | Brian | |
default yet. | |||
2008-01-09 | Cell: initial implementation of tile status optimizations | Brian | |
Tiles are marked as CLEAR, DEFINED or DIRTY to avoid making unnecessary get_tile() and put_tile() calls. | |||
2008-01-09 | Cell: start using DMA tags in a more sensible way, move waits() later when ↵ | Brian | |
possible. | |||
2008-01-09 | move cliprect bounds, do trivial rejection triangle clipping | Brian | |
2008-01-09 | Cell: remove some debug printfs, predicate others with Debug boolean | Brian | |
2008-01-09 | Cell: implemement basic Z testing | Brian | |
Also, improve some surface clearing code | |||
2008-01-03 | Cell: initial work for getting/putting Z tiles | Brian | |
2008-01-03 | disable bbox code until glitches are fixed | Brian | |