summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Fix sanity checks for indirect registers.Michal Krol2010-01-151-3/+3
|
* draw: Add GALLIUM_DUMP_VS environment variable.Luca Barbieri2010-01-152-0/+8
| | | | | Add GALLIUM_DUMP_VS to dump the vertex shader to the console like GALLIUM_DUMP_FS in softpipe.
* Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-142-171/+119
|\ | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * Revert "util: Build u_bitmask.o when using make."Brian Paul2010-01-111-1/+0
| | | | | | | | | | | | This reverts commit 01eff0e6d23f90650de7c563f74a1aec3de112a6. u_bitmask.c was already in the C_SOURCES list.
| * Revert "pipebuffer: Multi-threading fixes for fencing."Jakob Bornecrantz2010-01-071-170/+111
| | | | | | | | This reverts commit 5b64d94390e4805e1634f0c8b5e3156e12b8b872.
| * util: Build u_bitmask.o when using make.Thomas Hellstrom2010-01-111-0/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * tgsi: Silence uninitialized variable warnings.Vinson Lee2010-01-081-0/+8
| |
| * util: Add u_bitmask to make buildJakob Bornecrantz2010-01-061-0/+1
| |
* | Merge branch 'instanced-arrays'Michal Krol2010-01-1419-74/+352
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c
| * | gallium: Handle InstanceID as a true 32-bit uint.Michal Krol2010-01-052-22/+14
| | |
| * | Merge branch 'master' into instanced-arraysMichal Krol2010-01-0577-2408/+3060
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h
| * | | Add lame support for instanceID to draw module.Michal Krol2009-12-3010-44/+117
| | | | | | | | | | | | | | | | It's all screaming for integer support -- fake it with float for now.
| * | | tgsi: Support system values in ureg.Michal Krol2009-12-302-0/+42
| | | |
| * | | draw: Implement draw_arrays() in terms of draw_arrays_instanced().Michal Krol2009-12-301-26/+18
| | | |
| * | | Implement instanced indexed draw.Michal Krol2009-12-306-12/+26
| | | |
| * | | translate: Fix a call to indexed SSE run.Michal Krol2009-12-301-0/+2
| | | |
| * | | translate: Implement instancing for linear SSE run.Michal Krol2009-12-301-34/+120
| | | |
| * | | rtasm: Add x86_div().Michal Krol2009-12-302-0/+8
| | | |
| * | | Implement draw_arrays_instanced() in softpipe.Michal Krol2009-12-2913-5/+69
| | | | | | | | | | | | | | | | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset.
| * | | translate: Fix translate_key_compare().Michal Krol2009-12-291-2/+7
| | | | | | | | | | | | | | | | Sizes of translate keys must also match.
* | | | gallium/util: silence warning about array initializersBrian Paul2010-01-141-3/+10
| | | |
* | | | gallium/draw: s/clipper/clip_stage/ to be consistant with other stagesBrian Paul2010-01-131-9/+9
| | | |
* | | | gallium/draw: whitespace and commentsBrian Paul2010-01-131-7/+9
| | | |
* | | | gallium/draw: remove always-true conditionalBrian Paul2010-01-131-3/+1
| | | |
* | | | gallium: Simplify PIPE_ALIGN_VAR.José Fonseca2010-01-122-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | gcc allows pre-fix variable attributes. Suggested by Ian Romanick.
* | | | gallium: Generalize the alignment macros to other compilers and any alignment.José Fonseca2010-01-122-4/+4
| | | |
* | | | util: Set flatshade for blitter.Corbin Simpson2010-01-111-0/+1
| | | | | | | | | | | | | | | | It was bugging me. +1 FPS on softpipe.
* | | | util/blitter: remove unused variableKeith Whitwell2010-01-111-1/+0
| | | |
* | | | util: Apply Brian's suggested blit improvements.Corbin Simpson2010-01-101-15/+12
| | | | | | | | | | | | | | | | copypix works just fine.
* | | | gallium: u_blitter add overlapping blit support.Dave Airlie2010-01-101-34/+124
| | | | | | | | | | | | | | | | | | | | | | | | the xorg state tracker really wants the driver to handle overlapping blits, and r300 uses u_blitter for blits. This patch adds overlapping blit support via a temporary surface when its required.
* | | | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-081-20/+30
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
| * | | tgsi: fix SSE code emit for XPDBrian Paul2010-01-071-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rearrange things so that the writes to the dest registers happen after we've fetched/used all src registers. The problematic instruction was: XPD TEMP[2].xyz, TEMP[0], TEMP[2]; Note that the dst reg is also a src reg. This fixes bad shading with progs/glsl/bump.c since Eric's changes to the Mesa program optimizer in commit d6690ce15fb8c7c6abf1bc0d847c1d2da2c33904. The optimizer rearranges some registers so we occasionally wind up with something like the above.
* | | | tgsi: Cleanup dot-product opcodes in interpreter.Michal Krol2010-01-081-97/+130
| | | |
* | | | tgsi: add assertion to verify legal register fileBrian Paul2010-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This assertion fails with piglit glsl-vs-mov-after-deref test because we're double freeing the memory. It seems there's some confusion between what's placed in the hash table and what isn't.
* | | | tgsi: fix incorrectly placed braces, add more braces to be clearBrian Paul2010-01-071-2/+4
| | | |
* | | | tgsi: move register checking code before check_register_usage()Brian Paul2010-01-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | check_register_usage() frees the scan_register *reg data so we were reading from freed memory. This fixes a valgrind error found with piglit's glsl-vs-mov-after-deref test.
* | | | gallium/util: remove useless assertionsBrian Paul2010-01-071-6/+0
| | | |
* | | | gallium/util: update comment: s/src_pitch/src_strideBrian Paul2010-01-071-1/+1
| | | |
* | | | gallium/util: make src_y unsigned like the other x/y paramsBrian Paul2010-01-072-2/+2
| | | |
* | | | gallium: Fix texture sampling with explicit LOD in softpipe.Michal Krol2010-01-073-14/+36
| | | |
* | | | gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵Michal Krol2010-01-073-35/+30
| | | | | | | | | | | | | | | | sampler.
* | | | tgsi: Cleanup exec_tex().Michal Krol2010-01-071-49/+40
| | | |
* | | | util/blitter: allow NULL CSOs to be savedMarek Olšák2010-01-061-10/+17
| | | |
* | | | util: Fix format descriptor table entries.Michal Krol2010-01-061-11/+11
| | | |
* | | | util: Handle the remaining format cases in pipe_tile_raw_to_rgba().Michal Krol2010-01-061-23/+4
| | | |
* | | | Merge remote branch 'origin/mesa_7_7_branch'José Fonseca2010-01-061-16/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
| * | | pipebuffer: Multi-threading fixes for fencing.José Fonseca2010-01-061-111/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had this patch on my hard drive for long time. It doesn't fully address SVGA multi-threading issues, but causes no regressions, so decided to commit while it still applies cleanly. Attention: merging this into master will cause issues due to recent changes in reference counting to fix strict aliasing rules violation.
* | | | gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri2010-01-061-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
* | | | gallium/util: replace 8 with PIPE_MAX_COLOR_BUFSBrian Paul2010-01-051-2/+2
| | | |
* | | | gallium/util: comments and whitespace fixesBrian Paul2010-01-051-3/+15
| |_|/ |/| |