summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-19draw: Implement index bias.José Fonseca
2010-04-19docs: Document indexBias.José Fonseca
2010-04-19gallium: Add index bias parameter to draw_elements and friends.José Fonseca
indexBias corresponds to: - BaseVertexIndex parameter of D3D9's IDirect3DDevice9::DrawIndexedPrimitive method - BaseVertexLocation parameter of ID3D10Device::DrawIndexed Although a positive indexBias can be easily be implemented in Gallium by adding indexBias*stride to each vertex buffer base offset, a negative indexBias cannot, as the final vertex buffer offset could be negative. I'm not aware of this functionality being exposed to GL drivers, so for now all hardware drivers will just assert(indexBias == 0). See also: - http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9) - http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI)
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
2010-04-18r300g: remove unused declarationsMarek Olšák
2010-04-18r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák
notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
2010-04-18r300g: remove r300_transfer::ctxMarek Olšák
2010-04-18r300g: remove use of c++ keywordsMarek Olšák
2010-04-18r300g: always create microtiled zbuffer regardless of texture dimensionsMarek Olšák
2010-04-17i915g: Remove unnecessary headers.Vinson Lee
2010-04-17nvfx: Remove unnecessary headers.Vinson Lee
2010-04-17nv50: Remove redundant assignment.Vinson Lee
2010-04-17i965g: Remove redundant assert.Vinson Lee
2010-04-17os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t.Vinson Lee
This patch was tested on Mac OS X.
2010-04-17i915g: Add a software only debuging winsysJakob Bornecrantz
2010-04-17gallium/tests: Fix trivial examplesJakob Bornecrantz
2010-04-17gallium/util: IgnoresJakob Bornecrantz
2010-04-17r300/compiler: Remove unnecessary header.Vinson Lee
2010-04-16draw llvm: Remove unnecessary header.Vinson Lee
2010-04-16llvmpipe: Remove unnecessary header.Vinson Lee
2010-04-16r300/compiler: Add radeon_program_tex.c to SCons build.Vinson Lee
This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5.
2010-04-17r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák
2010-04-17r300/compiler: replace mirrored-repeat emulation with a faster versionMarek Olšák
Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering.
2010-04-17r300/compiler: add handy definitions for XYZ0 and smeared half swizzlingMarek Olšák
2010-04-16r300/compiler: make ARB_shadow_ambient optionalMarek Olšák
This saves constant register space for r300g, which doesn't need this feature.
2010-04-16llvmpipe: fix color maskingBrian Paul
2010-04-16r300/compiler: restore r500-specific bits of TEX transformationsMarek Olšák
2010-04-16llvmpipe: fix linking for lp_test_blendBrian Paul