summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-01-31Cell: SIMD-ize const_coeff()Brian
2008-01-31Cell: set GALLIUM_CELL_VS env var to enable SPU-based vertex transformationBrian
2008-01-31tgsi: Use ESI instead of EBX as temp reg on non-win32Keith Whitwell
2008-01-31gallium: Portability fixes.José Fonseca
2008-01-31gallium: Add SCons as alternative build system for Gallium.José Fonseca
2008-01-30I don't know why using uint64_t for "base" doesn't work. Ugh.Ian Romanick
2008-01-30Use SPUs for vertex shader processingIan Romanick
2008-01-30Add driver_private field for drivers that hook shader_queue_flush.Ian Romanick
2008-01-30Numerous small fixed to PPU-SPU vertex shader protocolIan Romanick
2008-01-30cell_array_info should not be 16-byte alignedIan Romanick
Forcing cell_array_info to be 16-byte aligned makes it more difficult to stuff that state in batch commands.
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-30Provide mechanism to hook in custom vertex shader cache flush functionIan Romanick
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
2008-01-30Cell: check tile status before wait_on_mask()Brian
2008-01-30Cell: make wait_on_mask() static/inlinedBrian
2008-01-30Cell: move CELL_MAX_SPUSBrian
2008-01-30gallium: Teach draw_vf about draw vertices.José Fonseca
This reduces the emit overhead, which is significant since we're emiting one vertex at a time.
2008-01-30gallium: Remove draw_vertex_fetch::lookup.José Fonseca
It is not being used, and would be dangerous to use given the possibility of constants.
2008-01-30gallium: Fix build on WinXP.Michal Krol
2008-01-29Cell: use _pack_rgba8() from pack_rgba8.h to do float[4]->uint color conversionBrian
texcyl.c is twice as fast now in non-texture mode
2008-01-29gallium: weaken assert slightlyKeith Whitwell
2008-01-29gallium: streamline various unfilled & stippled pathsKeith Whitwell
2008-01-29gallium: don't rely on assert(0) for error handling - may be disabledKeith Whitwell
2008-01-29gallium: Emit point size as a constant.José Fonseca
2008-01-29gallium: Emit constants.José Fonseca
2008-01-29gallium: Allow draw_vf usage to be controlled at runtime.José Fonseca
2008-01-29gallium: Add extern keyword to global.José Fonseca
2008-01-28Cell: move cmd_render() into new spu_render.c fileBrian
2008-01-28Cell: add a few null texture testsBrian
2008-01-28Cell: compute min index referenced in draw command, use it to reduce size of ↵Brian
vertex data payload
2008-01-28Cell: minor optimization for flat shadingBrian
2008-01-28Cell: basic texture mappingBrian
Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works.
2008-01-28Cell: initial texture cache/sampling codeBrian
2008-01-28Cell: emit state in cell_clear_surface() if dirty.Brian
Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state.
2008-01-28Cell: re-enable bounding boxesBrian
The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug.