summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-19r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emitNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-19r300/compiler: enable branch emulation for R500 fragment programsMarek Olšák
2010-04-19r300/compiler: Implement branch emulation for R300 fragment programsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-04-18u_inlines: split pipe_surface_init in pipe_surface_reset and *_initLuca Barbieri
2010-04-18tgsi: add comment about potential code removalBrian Paul
2010-04-18softpipe: new comment and assertion for face valueBrian Paul
2010-04-18tgsi: replace 0xf with TGSI_WRITEMASK_XYZWBrian Paul
2010-04-18softpipe: fix computation of fragment[FACE] attributeBrian Paul
In TGSI, front facing is +1 and back-facing is -1. We were computing this attribute as +1 and 0 before. However, the value isn't actually used anywhere because we machine->Face attribute overrides it in tgsi_exec.c. That could be changed, removing some special-case code...
2010-04-18softpipe: clean-up and commentsBrian Paul
2010-04-18softpipe: document MAX_QUADSBrian Paul
2010-04-18r300g: more solid is_buffer_referenced implementationMarek Olšák
This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
2010-04-18u_surfaces: silence warningLuca Barbieri
2010-04-18Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák
Not sure why it crashes.
2010-04-18nvfx: move declarations before codeBrian Paul
2010-04-18nvfx: fix void * arithmetic warningBrian Paul
2010-04-18nvfx: move declarations before codeBrian Paul
2010-04-18llvmpipe: update commentBrian Paul
2010-04-18nvfx: move declarations before code to silence warningsBrian Paul
2010-04-18auxiliary: add util_dirty_surfaces to track dirty render temporariesLuca Barbieri
2010-04-18auxiliary: add util_surfaces to track a resource's pipe_surface structsLuca Barbieri
2010-04-18u_inlines: add function to initialize pipe_surfaceLuca Barbieri
2010-04-18nvfx: fix fragment program constant updatesLuca Barbieri
2010-04-18r300g: do not tell st that a buffer is referenced by hwMarek Olšák
It saves a few libdrm calls and unnecessary flushes.
2010-04-18r300g: save vertex buffers around u_blitter callsLuca Barbieri
Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
2010-04-18u_blitter: add support for saving vertex buffersLuca Barbieri
Currently r300g does not save vertex buffer on blitter calls. It gets away with it because the current Mesa state tracker usually resets vertex buffers on every draw calls. However, this is wrong. nvfx won't be lucky because it needs to use the blitter inside draw calls.
2010-04-18p_compiler: add likely/unlikely macrosLuca Barbieri
Defined like the Linux kernel. A explanatory comment is included.
2010-04-18r300g: fixup 0 stride buffer properly.Dave Airlie
Just set the max index to 1, this lets doom3 run and seems correct, though it would be better to just emit a constant like SVGA does. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-18llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure ↵José Fonseca
the first one is always position. With this we correctly handle vertex shaders whose output position is not in index zero.
2010-04-18softpipe: Preserve/check the signal of the number of scanlines in an edge.José Fonseca
It can become negative in some weird triangles.
2010-04-18draw: Cosmetic cleanups and comments.José Fonseca
2010-04-18retrace: Fix vertex/index/constant buffer dumping.José Fonseca
2010-04-18trace: Handle transfers with zero strides correctly.José Fonseca
2010-04-18st/python: Set the bind flag for the default texture.José Fonseca
2010-04-18retrace: Remove deprecated code.José Fonseca
2010-04-18mesa: Restore comment too.José Fonseca
2010-04-18glsl: Fix handling of OPCODE_PRINT for no registers case.Vinson Lee
A register file value is unsigned so could never be -1. A value of 0 also aliased to PROGRAM_TEMPORARY. If an OPCODE_PRINT has no registers to print, set the register file value to PROGRAM_UNDEFINED and check for that value when executing this instruction.
2010-04-17i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE.Vinson Lee
2010-04-17st/dri: Check for NULL before dereference and assignment.Vinson Lee
2010-04-17nvfx: Initialize variables.Vinson Lee
2010-04-17r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.Vinson Lee
Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic"
2010-04-17nvfx: Remove unused variables.Vinson Lee
2010-04-17nv50: Initialize variables.Vinson Lee
Silences GCC uninitialized variable warnings.
2010-04-17nv50: Remove unused variable.Vinson Lee
2010-04-18i915g: Remove broken power of two functionJakob Bornecrantz
2010-04-18i915g: Add some helper functionsJakob Bornecrantz
Mostly to make the lines not so long.
2010-04-18i915g: Fix cubemap layoutsJakob Bornecrantz
2010-04-18i915g: Clean and add some debug printingJakob Bornecrantz
Disabled by default
2010-04-18gallium/tests: Make trivial apps depend on libsJakob Bornecrantz
2010-04-18r300g: various other cleanupsMarek Olšák
It seems to me that the resource management code is the most blurry. Also some of my notes about fastfill are wrong, removing them too.
2010-04-18r300g: inline screen_buffer functionsMarek Olšák