summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | tgsi: Simplify implementation of few interpreter's instructions.Michal Krol2010-01-051-384/+311
| |
* | tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol2010-01-051-4/+4
| |
* | tgsi: Fix bogus loop condition in sanity.Michal Krol2010-01-051-2/+2
| |
* | tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.Michal Krol2010-01-051-1/+1
| |
* | tgsi: Store ADDR file in interpreter as an int.Michal Krol2010-01-051-18/+44
| |
* | tgsi: Remove dead micro_umod().Michal Krol2010-01-051-14/+0
| |
* | tgsi: Make interpreter aware of float and integer data types.Michal Krol2010-01-051-109/+133
| | | | | | | | | | | | | | Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type.
* | gallium: Add UMOD TGSI opcode.Michal Krol2010-01-053-0/+16
| | | | | | | | Either that or have UDIV have two destination operands.
* | gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.Michal Krol2010-01-053-11/+179
| | | | | | | | | | | | | | Provide reference implementation of them in tgsi_exec. Note that BREAK opcode is overloaded and can be used to break out of either a loop or a switch-case statement.
* | tgsi/ureg: Improve immediate match & expand logic.Michal Krol2010-01-051-6/+10
| | | | | | | | Do not pollute immediates with unsuccessfull attempts to expand them.
* | tgsi: Support signed/unsigned integer immediate types.Michal Krol2010-01-055-47/+215
| |
* | tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol2010-01-051-116/+66
| |
* | Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol2010-01-052-3/+3
| | | | | | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
* | tgsi: Implement new integer opcodes.Michal Krol2010-01-053-225/+413
| | | | | | | | | | Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-044-19/+55
|\| | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * rtasm: Play nicely with Windows's Data Execution Prevention.José Fonseca2010-01-031-2/+30
| |
| * util: Minor enhancements/corrections to the bitmask logic.José Fonseca2010-01-031-12/+20
| |
| * gallium/util: Silence format warnings.Vinson Lee2010-01-011-4/+4
| |
| * gallium/util: Replace h_addr with h_addr_list[0].Vinson Lee2010-01-011-1/+1
| | | | | | | | Fixes compilation error on Mac OS.
* | tgsi: Fix assert.Vinson Lee2010-01-041-1/+1
| |
* | Fix testAlan Hourihane2010-01-041-2/+2
| |
* | util: Silent potential loss of precision warnings.José Fonseca2010-01-021-3/+2
| | | | | | | | Also ensure multiplication doesn't happen for negative numbers.
* | tgsi: Add missing semantic name in text parser.Igor Oliveira2010-01-011-0/+1
| |
* | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-0112-315/+173
| |
* | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-0112-257/+185
| | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | gallium: Remove the sct module.José Fonseca2010-01-015-655/+0
| | | | | | | | | | Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-319-14/+27
|\| | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c