Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Set flatshade for blitter. | Corbin Simpson | 2010-01-11 | 1 | -0/+1 |
| | | | | It was bugging me. +1 FPS on softpipe. | ||||
* | util/blitter: remove unused variable | Keith Whitwell | 2010-01-11 | 1 | -1/+0 |
| | |||||
* | util: Apply Brian's suggested blit improvements. | Corbin Simpson | 2010-01-10 | 1 | -15/+12 |
| | | | | copypix works just fine. | ||||
* | gallium: u_blitter add overlapping blit support. | Dave Airlie | 2010-01-10 | 1 | -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 Paul | 2010-01-08 | 1 | -20/+30 |
|\ | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c | ||||
| * | tgsi: fix SSE code emit for XPD | Brian Paul | 2010-01-07 | 1 | -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 Krol | 2010-01-08 | 1 | -97/+130 |
| | | |||||
* | | tgsi: add assertion to verify legal register file | Brian Paul | 2010-01-07 | 1 | -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 clear | Brian Paul | 2010-01-07 | 1 | -2/+4 |
| | | |||||
* | | tgsi: move register checking code before check_register_usage() | Brian Paul | 2010-01-07 | 1 | -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 assertions | Brian Paul | 2010-01-07 | 1 | -6/+0 |
| | | |||||
* | | gallium/util: update comment: s/src_pitch/src_stride | Brian Paul | 2010-01-07 | 1 | -1/+1 |
| | | |||||
* | | gallium/util: make src_y unsigned like the other x/y params | Brian Paul | 2010-01-07 | 2 | -2/+2 |
| | | |||||
* | | gallium: Fix texture sampling with explicit LOD in softpipe. | Michal Krol | 2010-01-07 | 3 | -14/+36 |
| | | |||||
* | | gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵ | Michal Krol | 2010-01-07 | 3 | -35/+30 |
| | | | | | | | | sampler. | ||||
* | | tgsi: Cleanup exec_tex(). | Michal Krol | 2010-01-07 | 1 | -49/+40 |
| | | |||||
* | | util/blitter: allow NULL CSOs to be saved | Marek Olšák | 2010-01-06 | 1 | -10/+17 |
| | | |||||
* | | util: Fix format descriptor table entries. | Michal Krol | 2010-01-06 | 1 | -11/+11 |
| | | |||||
* | | util: Handle the remaining format cases in pipe_tile_raw_to_rgba(). | Michal Krol | 2010-01-06 | 1 | -23/+4 |
| | | |||||
* | | Merge remote branch 'origin/mesa_7_7_branch' | José Fonseca | 2010-01-06 | 1 | -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é Fonseca | 2010-01-06 | 1 | -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_ANISO | Luca Barbieri | 2010-01-06 | 1 | -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_BUFS | Brian Paul | 2010-01-05 | 1 | -2/+2 |
| | | |||||
* | | gallium/util: comments and whitespace fixes | Brian Paul | 2010-01-05 | 1 | -3/+15 |
| | | |||||
* | | tgsi: Simplify implementation of few interpreter's instructions. | Michal Krol | 2010-01-05 | 1 | -384/+311 |
| | | |||||
* | | tgsi: Use FREE() to release MALLOC-ed() memories in sanity. | Michal Krol | 2010-01-05 | 1 | -4/+4 |
| | | |||||
* | | tgsi: Fix bogus loop condition in sanity. | Michal Krol | 2010-01-05 | 1 | -2/+2 |
| | | |||||
* | | tgsi: Treat MOV source operand as FLOAT so modifiers works as expected. | Michal Krol | 2010-01-05 | 1 | -1/+1 |
| | | |||||
* | | tgsi: Store ADDR file in interpreter as an int. | Michal Krol | 2010-01-05 | 1 | -18/+44 |
| | | |||||
* | | tgsi: Remove dead micro_umod(). | Michal Krol | 2010-01-05 | 1 | -14/+0 |
| | | |||||
* | | tgsi: Make interpreter aware of float and integer data types. | Michal Krol | 2010-01-05 | 1 | -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 Krol | 2010-01-05 | 3 | -0/+16 |
| | | | | | | | | Either that or have UDIV have two destination operands. | ||||
* | | gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI. | Michal Krol | 2010-01-05 | 3 | -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 Krol | 2010-01-05 | 1 | -6/+10 |
| | | | | | | | | Do not pollute immediates with unsuccessfull attempts to expand them. | ||||
* | | tgsi: Support signed/unsigned integer immediate types. | Michal Krol | 2010-01-05 | 5 | -47/+215 |
| | | |||||
* | | tgsi: Cleanup interpreter code for other existing integer opcodes. | Michal Krol | 2010-01-05 | 1 | -116/+66 |
| | | |||||
* | | Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR. | Michal Krol | 2010-01-05 | 2 | -3/+3 |
| | | | | | | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR. | ||||
* | | tgsi: Implement new integer opcodes. | Michal Krol | 2010-01-05 | 3 | -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 Paul | 2010-01-04 | 4 | -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é Fonseca | 2010-01-03 | 1 | -2/+30 |
| | | |||||
| * | util: Minor enhancements/corrections to the bitmask logic. | José Fonseca | 2010-01-03 | 1 | -12/+20 |
| | | |||||
| * | gallium/util: Silence format warnings. | Vinson Lee | 2010-01-01 | 1 | -4/+4 |
| | | |||||
| * | gallium/util: Replace h_addr with h_addr_list[0]. | Vinson Lee | 2010-01-01 | 1 | -1/+1 |
| | | | | | | | | Fixes compilation error on Mac OS. | ||||
* | | tgsi: Fix assert. | Vinson Lee | 2010-01-04 | 1 | -1/+1 |
| | | |||||
* | | Fix test | Alan Hourihane | 2010-01-04 | 1 | -2/+2 |
| | | |||||
* | | util: Silent potential loss of precision warnings. | José Fonseca | 2010-01-02 | 1 | -3/+2 |
| | | | | | | | | Also ensure multiplication doesn't happen for negative numbers. | ||||
* | | tgsi: Add missing semantic name in text parser. | Igor Oliveira | 2010-01-01 | 1 | -0/+1 |
| | | |||||
* | | gallium: Generate a single library for auxiliaries with Make too. | José Fonseca | 2010-01-01 | 12 | -315/+173 |
| | | |||||
* | | scons: Aggregate all tiny libraries in a single library. | José Fonseca | 2010-01-01 | 12 | -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é Fonseca | 2010-01-01 | 5 | -655/+0 |
| | | | | | | | | | | Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks. |