summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu
AgeCommit message (Collapse)Author
2008-10-16cell: implement KIL instructionBrian Paul
2008-10-16cell: trilinear mipmap interpolationBrian Paul
2008-10-16cell: update commentsBrian Paul
2008-10-16cell: call proper sampler function in sample_texture_cube()Brian Paul
2008-10-16cell: clean up various texture-related thingsBrian Paul
Distinguish among texture targets in codegen. progs/demos/cubemap.c runs correctly now too.
2008-10-15cell: start some performance measurementsBrian Paul
Use the spu_write_decrementer() and spu_read_decrementer() functions to measure time. Convert to milliseconds according to the system timebase value.
2008-10-15cell: updated debug codeBrian Paul
2008-10-15cell: get rid of last usage of float4 union/typedefBrian Paul
Results in slightly tighter code.
2008-10-15cell: simplify triangle front/back face determinationBrian Paul
2008-10-15cell: send rasterizer state to SPUs in proper way, remove front_winding hackBrian Paul
2008-10-15cell: remove some old, pre-batchbuffer stuffBrian Paul
2008-10-15cell: move some CELL_MAX constantsBrian Paul
2008-10-15cell: remove obsolete spu_debug.h fileBrian Paul
2008-10-15cell: simplify spu debug codeBrian Paul
2008-10-15cell: propogate blend color to SPUs for the fallback fragment ops codeBrian Paul
2008-10-15cell: updated vertex dump/debug codeBrian Paul
2008-10-15cell: additional debugBrian Paul
2008-10-15cell: fix/add some fallback blend casesBrian Paul
2008-10-14cell: initial bits for 3D texture supportBrian Paul
2008-10-14cell: fix incorrect parameter typeBrian Paul
2008-10-14cell: support for cubemapsBrian Paul
Though, progs/demos/cubemap.c doesn't quite work right...
2008-10-14cell: support NPOT textures, clamp/repeat mode, normalized/unorm texcoordsBrian Paul
glDrawPixels works now.
2008-10-14cell: fix broken negative texcoord conversionBrian Paul
2008-10-14cell: use minify vs magnify filtersBrian Paul
2008-10-14cell: basic mipmap filtering works nowBrian Paul
Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now.
2008-10-13cell: more clean-up in spu_tri.cBrian Paul
2008-10-13cell: remove dead code, clean-up, reformattingBrian Paul
2008-10-13cell: finish-up perspective-corrected interpolationBrian Paul
2008-10-13cell: initial work for mipmap texture filteringBrian Paul
2008-10-13cell: remove old texture-related fieldsBrian Paul
2008-10-13cell: use fewer memory references in sample_texture4_bilinear_2()Brian Paul
2008-10-13cell: remove more old texture codeBrian Paul
2008-10-13cell: bilinear texture filtering using integer arithmeticBrian Paul
Fewer float/int conversions involved.
2008-10-13cell: remove old texture codeBrian Paul
2008-10-13cell: do texture sampling/filtering for four pixels at a time.Brian Paul
2008-10-13cell: added spu_unpack_A8R8G8B8_transpose4()Brian Paul
Plus, clearer shuffle masks in other funcs.
2008-10-10cell: pass texture unit (sampler number) to txp() functionBrian Paul
The glsl/multitex demo runs now.
2008-10-10cell: updates in response to draw's struct vertex_info changesBrian Paul
2008-10-09cell: implement basic TXP instruction in fragment shadersBrian Paul
Lots of restrictions for now (one 2D texture, no mipmaps, etc.) for now but basic texture demos work. TEX, TXD, TXP do the same thing for the time being.
2008-10-08cell: implement more built-in shader functions, link spu code with -lmBrian Paul
2008-10-07cell: add support for fragment shader constant buffersBrian Paul
2008-10-03CELL: changes to generate SPU code for stencilingRobert Ellison
This set of code changes are for stencil code generation support. Both one-sided and two-sided stenciling are supported. In addition to the raw code generation changes, these changes had to be made elsewhere in the system: - Added new "register set" feature to the SPE assembly generation. A "register set" is a way to allocate multiple registers and free them all at the same time, delegating register allocation management to the spe_function unit. It's quite useful in complex register allocation schemes (like stenciling). - Added and improved SPE macro calculations. These are operations between registers and unsigned integer immediates. In many cases, the calculation can be performed with a single instruction; the macros will generate the single instruction if possible, or generate a register load and register-to-register operation if not. These macro functions are: spe_load_uint() (which has new ways to load a value in a single instruction), spe_and_uint(), spe_xor_uint(), spe_compare_equal_uint(), and spe_compare_greater_uint(). - Added facing to fragment generation. While rendering, the rasterizer needs to be able to determine front- and back-facing fragments, in order to correctly apply two-sided stencil. That requires these changes: - Added front_winding field to the cell_command_render block, so that the state tracker could communicate to the rasterizer what it considered to be the front-facing direction. - Added fragment facing as an input to the fragment function. - Calculated facing is passed during emit_quad().
2008-09-26cell: stub-out sin/cos function bodies to avoid trashing caller's stack for nowBrian Paul
2008-09-26cell: move command processing code into new spu_command.c fileBrian Paul
2008-09-26cell: move debug-related declarationsBrian Paul
2008-09-26cell: move debug macros into new spu_debug.hBrian Paul
2008-09-26cell: move really_clear_tiles()Brian Paul
2008-09-26cell: align instruction buffers to 8-byte, not 32-byte boundaryBrian Paul
2008-09-26cell: checkpoint: support for function calls in SPU shadersBrian Paul
Will be used for instructions like SIN/COS/POW/TEX/etc. The PPU needs to know the address of some functions in the SPU address space. Send that info to the PPU/main memory rather than patch up shaders on the SPU side. Not finished/tested yet...
2008-09-19cell: make sure the fragment ops and fragment shader code buffer is at a ↵Brian Paul
32-byte boundary To make sure even/odd instructions hit the right pipes.