summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* id, glhd: Fix segfault with misreferenced pipe member.Corbin Simpson2010-06-224-6/+4
| | | | And remove the offending member to keep that from happening again.
* targets, radeong: Add Galahad.Corbin Simpson2010-06-225-3/+8
| | | | Currently unconditional and causes segfaults.
* gallium/drivers: Create Galahad from identity.Corbin Simpson2010-06-2211-0/+1930
| | | | | | | Galahad is a sanity-checking layer meant to replace the crufty and scattered sanity checks inside drivers with a robust, non-silenceable, useful set of warnings and errors that can be used to keep misbehaving state trackers from going unnoticed.
* r300g: attempt to fix texture corruption on RV505Marek Olšák2010-06-231-0/+2
|
* r300g: index buffer range checkingMarek Olšák2010-06-231-0/+6
|
* i915g: Revert debug hunks from last commitJakob Bornecrantz2010-06-221-2/+2
|
* i915g: Reduce state emission by using a index biasJakob Bornecrantz2010-06-221-27/+122
|
* i915g: Drop fifo code in vbufJakob Bornecrantz2010-06-221-43/+2
|
* i915g: Change state code in vbuf codeJakob Bornecrantz2010-06-221-12/+23
|
* i915g: Rework debug print codeJakob Bornecrantz2010-06-2211-82/+190
|
* i915g: Switch to state atomsJakob Bornecrantz2010-06-225-57/+128
|
* i915g: i915_state_sampler.c code styleJakob Bornecrantz2010-06-221-50/+52
|
* i915g: i915_state_immediate.c code styleJakob Bornecrantz2010-06-221-27/+33
|
* i915g: i915_state_dynamic.c code styleJakob Bornecrantz2010-06-221-88/+84
|
* u_math: Add align function npot alignmentsJakob Bornecrantz2010-06-221-0/+14
|
* llvmpipe: IgnoresJakob Bornecrantz2010-06-221-0/+1
|
* llvmpipe: make geometry shaders and stream output workZack Rusin2010-06-228-3/+180
|
* gallium: add a timestamp disjoint queryZack Rusin2010-06-223-3/+21
| | | | | | allows application to not only request the frequency of the TIME_ELAPSED clock but also to detect if that frequency was consistent throughout the entire bracketed range of graphics commands.
* gallium: add a new queryZack Rusin2010-06-222-3/+12
| | | | to figure out if gpu is finished with all of the previously issues commands
* r300g: optimize the immediate mode emission path a bitMarek Olšák2010-06-226-22/+45
|
* r300g: do not emit ZTOP every draw callMarek Olšák2010-06-221-1/+3
|
* r300g: fix crash when destroying the context on r3xx-r4xxMarek Olšák2010-06-211-1/+1
| | | | FDO bug #28652,
* llvmpipe: s/lpfs/shader/José Fonseca2010-06-212-5/+5
|
* r300g: fix the KIL opcode for r3xx-r4xx (v4)Marek Olšák2010-06-213-0/+74
|
* r300g: fix assigning the texture cache region for 1 textureMarek Olšák2010-06-201-1/+4
|
* i965g: Fix setup of immediate types for gen4 disasm.Vinson Lee2010-06-201-1/+1
| | | | | | Caught by clang. Follow-up to commit 070bbd4fcd5d2b669b880b91730a7ad9d130e416.
* r300g: manually assign texture cache regionsMarek Olšák2010-06-204-1/+73
| | | | This should fix corrupted texturing on r3xx-r4xx.
* r600g: handle DRM_API_HANDLE_TYPE_KMS in buffer_get_handleMarek Olšák2010-06-201-10/+13
|
* r300g: cleanup buffer_{from, get}_handleMarek Olšák2010-06-204-29/+13
|
* r300g: cleanup includesMarek Olšák2010-06-202-8/+14
|
* r300g: texture alignment code cleanup + use special alignment for AA texturesMarek Olšák2010-06-201-36/+58
|
* r300g: fix random pixels appearing / incomplete renderingMarek Olšák2010-06-193-27/+20
| | | | | | | | | | | | This should fix the FDO bug #28612. Also, these piglit tests have been fixed: - fbo-copypix - scissor-copypixels - copytexsubimage - texredefine Finally, 2 flushes in the transfer path are no longer needed.
* r300g: output floats instead of halfs when passed through translateMarek Olšák2010-06-191-2/+25
|
* r300g: fix clamp and mirror_clamp wrap modes when used with nearest filteringMarek Olšák2010-06-191-3/+27
|
* r300g: more informative warning in END_CSMarek Olšák2010-06-191-4/+8
|
* r300g: improve the ZTOP conditionMarek Olšák2010-06-193-13/+29
| | | | | The real difference here is that ZTOP is now enabled if all stencil ops are set to KEEP. This improves performance.
* r300g: fix up the CS size of the rasterizer stateMarek Olšák2010-06-191-2/+2
|
* graw: add two examples using new register filesZack Rusin2010-06-182-0/+24
|
* gallium: add a temporary array register fileZack Rusin2010-06-1810-131/+325
| | | | | | | | | | | | | | like normal temporaries, but allows to define a number of distinct arrays, all of which make it explicit that they contain /indexable/ registers. as a side-effect we're adding support for multi-dimensional destination registers. The whole thing looks like this: DCL TEMPX[0][0..128] # 0 array with 128 registers ADD TEMPX[0][0], IN[0], IMM[0] ADD TEMPX[0][1], IN[0], IMM[0] ABS OUT[0], TEMPX[0][TEMP[0]]
* gallium: add a new register file - immediate arrayZack Rusin2010-06-189-71/+240
| | | | | | allows one to specify a safe (bound checked) array filled with immediates. it works just like a const array and declares much like our current immediates.
* llvmpipe: Fix pointer dereference after free.José Fonseca2010-06-181-1/+2
|
* llvmpipe: limit the number of fragment shader variants kept aroundRoland Scheidegger2010-06-185-35/+107
| | | | | | | | | | | | | | | | | | llvmpipe can create a large number of shader variants for a single shader (which are quite big), and they were only ever deleted if the shader itself was deleted. This is especially apparent in things like glean blendFunc where a new variant is created for every different subtest, chewing up all memory. This change limits the numbers of fragment shader variants (for all shaders) which are kept around to a fixed number. If that would be exceeded a fixed portion of the cached variants is deleted (since without tracking the used variants this involves flushing we don't want to delete only one). Always the least recently used variants (from all shaders together) are deleted. For now this is all per-context. Both the number of how many variants are cached (1024) as well as how many will be deleted at once (1/4 of the cache size) are just rough guesses and subject to further optimization.
* r300g: fix hardlocks in occlusion queriesMarek Olšák2010-06-181-1/+1
| | | | | | | | Early Z test (=ZTOP) must be disabled before a query is started, otherwise the GPU is dead. The order of emitted registers matters more than you might think. This fixes hardlocks in sauerbraten.
* r300g: debug option for fake occlusion queriesMarek Olšák2010-06-183-6/+58
|
* draw: implement triangle strips with adjacency in geometry shaderZack Rusin2010-06-171-1/+12
|
* draw: implement triangle lists with adjacency support in gsZack Rusin2010-06-172-1/+31
|
* draw: fix a silly errorZack Rusin2010-06-171-1/+1
|
* draw: implement line strip adjacencyZack Rusin2010-06-171-0/+5
|
* draw: implement lines with adjacency in geometry shadersZack Rusin2010-06-172-18/+48
|
* draw: validate stream output buffersZack Rusin2010-06-171-1/+16
| | | | fixes a crash.