Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-16 | cell: implement KIL instruction | Brian Paul | |
2008-10-16 | cell: trilinear mipmap interpolation | Brian Paul | |
2008-10-16 | cell: update comments | Brian Paul | |
2008-10-16 | cell: call proper sampler function in sample_texture_cube() | Brian Paul | |
2008-10-16 | cell: clean up various texture-related things | Brian Paul | |
Distinguish among texture targets in codegen. progs/demos/cubemap.c runs correctly now too. | |||
2008-10-15 | cell: start some performance measurements | Brian 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-15 | cell: updated debug code | Brian Paul | |
2008-10-15 | cell: get rid of last usage of float4 union/typedef | Brian Paul | |
Results in slightly tighter code. | |||
2008-10-15 | cell: simplify triangle front/back face determination | Brian Paul | |
2008-10-15 | cell: send rasterizer state to SPUs in proper way, remove front_winding hack | Brian Paul | |
2008-10-15 | cell: remove some old, pre-batchbuffer stuff | Brian Paul | |
2008-10-15 | cell: move some CELL_MAX constants | Brian Paul | |
2008-10-15 | cell: remove obsolete spu_debug.h file | Brian Paul | |
2008-10-15 | cell: simplify spu debug code | Brian Paul | |
2008-10-15 | cell: propogate blend color to SPUs for the fallback fragment ops code | Brian Paul | |
2008-10-15 | cell: updated vertex dump/debug code | Brian Paul | |
2008-10-15 | cell: additional debug | Brian Paul | |
2008-10-15 | cell: fix/add some fallback blend cases | Brian Paul | |
2008-10-14 | cell: initial bits for 3D texture support | Brian Paul | |
2008-10-14 | cell: fix incorrect parameter type | Brian Paul | |
2008-10-14 | cell: support for cubemaps | Brian Paul | |
Though, progs/demos/cubemap.c doesn't quite work right... | |||
2008-10-14 | cell: support NPOT textures, clamp/repeat mode, normalized/unorm texcoords | Brian Paul | |
glDrawPixels works now. | |||
2008-10-14 | cell: fix broken negative texcoord conversion | Brian Paul | |
2008-10-14 | cell: use minify vs magnify filters | Brian Paul | |
2008-10-14 | cell: basic mipmap filtering works now | Brian Paul | |
Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now. | |||
2008-10-13 | cell: more clean-up in spu_tri.c | Brian Paul | |
2008-10-13 | cell: remove dead code, clean-up, reformatting | Brian Paul | |
2008-10-13 | cell: finish-up perspective-corrected interpolation | Brian Paul | |
2008-10-13 | cell: initial work for mipmap texture filtering | Brian Paul | |
2008-10-13 | cell: remove old texture-related fields | Brian Paul | |
2008-10-13 | cell: use fewer memory references in sample_texture4_bilinear_2() | Brian Paul | |
2008-10-13 | cell: remove more old texture code | Brian Paul | |
2008-10-13 | cell: bilinear texture filtering using integer arithmetic | Brian Paul | |
Fewer float/int conversions involved. | |||
2008-10-13 | cell: remove old texture code | Brian Paul | |
2008-10-13 | cell: do texture sampling/filtering for four pixels at a time. | Brian Paul | |
2008-10-13 | cell: added spu_unpack_A8R8G8B8_transpose4() | Brian Paul | |
Plus, clearer shuffle masks in other funcs. | |||
2008-10-10 | cell: pass texture unit (sampler number) to txp() function | Brian Paul | |
The glsl/multitex demo runs now. | |||
2008-10-10 | cell: updates in response to draw's struct vertex_info changes | Brian Paul | |
2008-10-09 | cell: implement basic TXP instruction in fragment shaders | Brian 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-08 | cell: implement more built-in shader functions, link spu code with -lm | Brian Paul | |
2008-10-07 | cell: add support for fragment shader constant buffers | Brian Paul | |
2008-10-03 | CELL: changes to generate SPU code for stenciling | Robert 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-26 | cell: stub-out sin/cos function bodies to avoid trashing caller's stack for now | Brian Paul | |
2008-09-26 | cell: move command processing code into new spu_command.c file | Brian Paul | |
2008-09-26 | cell: move debug-related declarations | Brian Paul | |
2008-09-26 | cell: move debug macros into new spu_debug.h | Brian Paul | |
2008-09-26 | cell: move really_clear_tiles() | Brian Paul | |
2008-09-26 | cell: align instruction buffers to 8-byte, not 32-byte boundary | Brian Paul | |
2008-09-26 | cell: checkpoint: support for function calls in SPU shaders | Brian 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-19 | cell: 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. |