summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/common.h
AgeCommit message (Collapse)Author
2008-01-24Cell: insert dummy field into cell_command_render struct to work around ↵Brian
apparent compiler bug Without this dummy field, it seems the SPU code in cmd_render() gets a bogus value when dereferencing render->num_indices, sometimes. This showed up as missing tries in gears.c in the first frame rendered. Using spu-gcc version 4.1.1, Cell SDK 2.1
2008-01-24Cell: send actual vertex size in the render commandBrian
2008-01-21Cell: initial support for sampler stateBrian
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-12Cell: first state object (depth/stencil/alpha) emitted to SPUsBrian
2008-01-11Cell: basic batch buffer workingBrian
2008-01-11Cell: initial work for a hw-like batch buffer systemBrian
2008-01-11Cell: remove obsolete cell_prim_buffer struct and codeBrian
2008-01-11Cell: Remove the pre-vbuf rendering codeBrian
2008-01-10Cell: checkpoint: draw_vbuf code in place and works, but not enabled by ↵Brian
default yet.
2008-01-10bump CELL_MAX_VERTS to 240Brian
2008-01-09Cell: implemement basic Z testingBrian
Also, improve some surface clearing code
2008-01-03Cell: improve surface state code to replace some temporary code.Brian
2008-01-03pass surface format in cell_command_framebuffer structBrian
2008-01-02only fetch as much vertex data as neededBrian
2008-01-02remove previous triangle test codeBrian
2008-01-02Cell: basic triangle rendering works.Brian
The cell "render_stage" (last in the "draw" pipeline) emits vertices into a buffer which is pulled by the SPUs in response to a "RENDER" command. This is pretty much temporary/scaffold code for now.
2007-12-11Cell: draw smooth-shaded triangleBrian
2007-12-11Collect some global vars in a single struct.Brian
2007-12-11use ALIGN16_ATTRIB from p_compiler.hBrian
2007-12-10Cell: first triangle.Brian
This is a feeble first step, but it works. The cell_clear_surface() function has been hijacked to set up a "draw triangle" command and send it to all the SPUs. The Gallium softpipe triangle code was copied to the SPU module and modified. Only the progs/trivial/clear.c program runs.
2007-12-10Cell driver state-setter functions, basic tile get/put, glClear.Brian
The state setting code was mostly just copied from the softpipe driver. The SPUs can now get/put framebuffer tiles from/to main memory and clear them to a given color. Lots of debug code in effect. Tiled framebuffer is displayed in X window via the xmwinsys layer. To enable Cell driver, export GALLIUM_CELL=1
2007-12-02Initial Cell driver infrastructure.Brian
No real code yet. Just stand-ins and make/build infrastructure.