summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu
AgeCommit message (Collapse)Author
2008-02-14Cell: pass pointers to stored memory valuesIan Romanick
Several routines use shuffle patterns that are stored in memory. For code gen, it is difficult to directly access the data segments. The routines have been modified to be passed a pointer to a global table of shuffle patterns. This *should* be the last change to this file before switching over to code gen.
2008-02-14Fetch routines convert and transpose all 4 vertices at once.Ian Romanick
2008-02-14Remove open-coded fetch functionsIan Romanick
2008-02-14Initial pass at vertex cache, more vertex fetch changesIan Romanick
This is just another step towards dynamic generate of vertex fetch code.
2008-02-14Vectorize a couple fetch functionsIan Romanick
These C-coded vectorized functions are expected to be short lived. They're basically a proof-of-concept for dynamically generated fetch routines.
2008-02-05Cell: remove accidentally added OPT_FLAGS linesBrian
2008-02-05Cell: SIMD-ize tri_linear_coeff(), use vector float for vertex attributes in ↵Brian
struct vertex_header
2008-02-05Cell: re-enable inlined vertex buffersBrian
Vertex data must be on a 16-byte address/offset so SIMD operations will work properly in the SPU code.
2008-02-05Use _transpose_matrix4x4 from Cell SDK instead of my own versionIan Romanick
2008-02-05Add some debug messagesIan Romanick
2008-02-05More semi-trivial vectorization in the shader VMIan Romanick
2008-02-05Vectorize vertex pullerIan Romanick
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.