summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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: deprecate some use of struct cell_command - it should go away completelyBrian
Also, remove ALIGN16_ATTRIB from structs that no longer need it.
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-31Fix using "ccache ppu-gcc" for CC and fix parallel buildsIan Romanick
CC wasn't quoted in a couple places in src/mesa/Makefile. Also, the OSMesa link was missing a dependency.
2008-01-31fix typoBrian
2008-01-31gallium: fix problem in which texcoords and varying vars got mapped to the ↵Brian
same slot This fixes the glsl/bump.c and glsl/texdemo1.c programs
2008-01-31Fix problem in mapping vertex program outputs (found with "spring" game engine)Brian
If the vertex program writes to an output that's not consumed by the fragment program, map the vp output to an unused slot.
2008-01-31gallium: comments about fragment Z computationBrian
2008-01-31gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0Brian
2008-01-31gallium: fix get/put typo regressionBrian
This came from commit f3aa4de034b0d791ce2e38e8aeb3b3abdb4e3b50 on 1/22/08. Fixes strange Z buffer glitches seen in progs/glsl/texdemo1.c
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: Make the build output dir depend on the configuration.José Fonseca
The build output dirs mimics the old config names: build/linux build/linux-dri build/linux-dri-x86 build/linux-dri-x86-debug ...
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