summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu
AgeCommit message (Collapse)Author
2008-02-05Vectorize all micro opsIan Romanick
Fold single instruction micro ops inline. Remove unused micro ops.
2008-02-04Cell: fix some alignment issues by aligning commands to 8-byte boundariesBrian
Contributed by Ian Romanick. Also, temporarily disable inlined vertex buffers. They need to be 16-byte aligned...
2008-02-04Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0Brian
2008-02-04Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0Brian
2008-02-04Cell: move float4 typedef (temporary datatype)Brian
2008-02-04Cell: fix small sampling error in sample_texture_bilinear()Brian
2008-02-04Cell: texture sampler functions always return vector float nowBrian
Texture colors look the same now, regardless of X display/pixel format
2008-02-04Cell: added spu_unpack_A8R8G8B8()Brian
2008-02-04Cell: fix typoBrian
2008-02-04Cell: some basic blending codeBrian
2008-02-04Cell: replace float 4 with vector float in eval_coeff()Brian
2008-02-04Cell: emit blend state to SPUsBrian
2008-02-04Cell: choose bilinear vs. nearest filtering according to sampler stateBrian
2008-02-04Cell: improved bilinear filteringBrian
avoid calling get_tex_tile() if all texels are in same tile
2008-02-04Cell: implement basic bilinear texture samplerBrian
2008-02-04Cell: added spu_unpack_color(), spu_pack_R8G8B8A8()Brian
2008-02-04Cell: SIMD-ize more of texture samplingBrian
2008-02-04Cell: checkpoint: start to SIMD-ize texture samplingBrian
2008-02-04Cell: move tile clear code to flush_spans()Brian
2008-02-04Cell: clamp txmax, tymax in tile_bounding_box()Brian
Also, added some debug printfs
2008-02-01Cell: comment about emit_quad() maskBrian
2008-02-01Cell: move some tile get/clear codeBrian
Also, we weren't marking the ztile as dirty after ztesting, fixes gears glitches.
2008-02-01Cell: use global color_shuffle to remove a switch stmntBrian
2008-02-01Cell: New color packing functions (A8R8G8B8 and B8G8R8A8)Brian
2008-02-01Cell: rename/move global varsBrian
Put tile-related globals into spu_global struct. Rename c/ztile fields to be more consistant.
2008-02-01Cell: remove commands from top-level while loop which should only appear in ↵Brian
batch buffers
2008-02-01Cell: move ztest before color interp/packingBrian
2008-02-01Cell: rename fields of the tile_t unionBrian
2008-02-01Cell: implement Z16 and Z32 testing with SIMD instructions.Brian
2008-02-01Cell: store current tile status in cur_tile_status_c/z, add TILE_STATUS_GETTINGBrian
2008-01-31Cell: SIMD-ize const_coeff()Brian
2008-01-30I don't know why using uint64_t for "base" doesn't work. Ugh.Ian Romanick
2008-01-30Numerous small fixed to PPU-SPU vertex shader protocolIan Romanick
2008-01-30Correctly read / write vertex header from / to main memoryIan Romanick
2008-01-30Handle CELL_CMD_VS_EXECUTE *only* outside batch commands.Ian Romanick
2008-01-30Set machine->ProcessorIan Romanick
The default value is 0, which is TGSI_PROCESSOR_FRAGMENT...not correct for a vertex shader!
2008-01-30Elts are always ints, pass vOut pointers in-line in commandIan Romanick
2008-01-30Implement micro_pow and micro_sqrtIan Romanick
Unimplemented micro ops get assertions for now.
2008-01-30Fix size calculation in attribute fetch.Ian Romanick
2008-01-30Fetch uniforms from main memory.Ian Romanick
2008-01-30Missing amperstand in previous commit. Oops.Ian Romanick
2008-01-30Pass ptr to local memory copy instead of main memory to exec_instructionIan Romanick
This was essentially a cut-and-paste bug when the instruction fetcher was added. Also, the test for TGSI_PROCESSOR_FRAGMENT was moved outside the loop for exec_declaration.
2008-01-30Implement vertex fetch / vertex shader output write-backIan Romanick
2008-01-30Initial pass at instruction / declaration fetchIan Romanick
2008-01-30Initial pass at vertex shader on SPU using TGSI VMIan Romanick
All of the code is wired in on the SPU side, but it is not called from the PPU yet. Instruction / declaration fetch still needs to be implemented in spu_exec.c.
2008-01-30Cell: prototype SIMD code for z testingBrian
2008-01-30Cell: start to SIMD-ize triangle attribute interpolationBrian
Using the spu_add(), etc intrinsics. About a 15% speed-up with some tests.
2008-01-30Cell: fold setup_tri() into tri_draw()Brian
2008-01-30Cell: make 'setup' a regular var instead of passing around a pointer everywhereBrian
We'll never have more than one of these objects. Avoiding pointer deref improves performance a bit.
2008-01-30Cell: minor code refactoring, movementBrian