summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-02-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-01-12gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
2010-01-11util: Set flatshade for blitter.Corbin Simpson
It was bugging me. +1 FPS on softpipe.
2010-01-11util/blitter: remove unused variableKeith Whitwell
2010-01-10util: Apply Brian's suggested blit improvements.Corbin Simpson
copypix works just fine.
2010-01-10gallium: u_blitter add overlapping blit support.Dave Airlie
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.
2010-01-08Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-08tgsi: Cleanup dot-product opcodes in interpreter.Michal Krol
2010-01-07tgsi: fix SSE code emit for XPDBrian Paul
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.
2010-01-07tgsi: add assertion to verify legal register fileBrian Paul
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.
2010-01-07tgsi: fix incorrectly placed braces, add more braces to be clearBrian Paul
2010-01-07tgsi: move register checking code before check_register_usage()Brian Paul
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.
2010-01-07gallium/util: remove useless assertionsBrian Paul
2010-01-07gallium/util: update comment: s/src_pitch/src_strideBrian Paul
2010-01-07gallium/util: make src_y unsigned like the other x/y paramsBrian Paul
2010-01-07gallium: Fix texture sampling with explicit LOD in softpipe.Michal Krol
2010-01-07gallium: Pass per-element (not per-quad) LOD bias values down to texture ↵Michal Krol
sampler.
2010-01-07tgsi: Cleanup exec_tex().Michal Krol
2010-01-06util/blitter: allow NULL CSOs to be savedMarek Olšák
2010-01-06util: Fix format descriptor table entries.Michal Krol
2010-01-06util: Handle the remaining format cases in pipe_tile_raw_to_rgba().Michal Krol
2010-01-06Merge remote branch 'origin/mesa_7_7_branch'José Fonseca
Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
2010-01-06pipebuffer: Multi-threading fixes for fencing.José Fonseca
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.
2010-01-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
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.
2010-01-05gallium/util: replace 8 with PIPE_MAX_COLOR_BUFSBrian Paul
2010-01-05gallium/util: comments and whitespace fixesBrian Paul
2010-01-05tgsi: Simplify implementation of few interpreter's instructions.Michal Krol
2010-01-05tgsi: Use FREE() to release MALLOC-ed() memories in sanity.Michal Krol
2010-01-05tgsi: Fix bogus loop condition in sanity.Michal Krol
2010-01-05tgsi: Treat MOV source operand as FLOAT so modifiers works as expected.Michal Krol
2010-01-05tgsi: Store ADDR file in interpreter as an int.Michal Krol
2010-01-05tgsi: Remove dead micro_umod().Michal Krol
2010-01-05tgsi: Make interpreter aware of float and integer data types.Michal Krol
Debug check for inf and nan only on float channels. Apply absolute and negate source operand modifiers based on opcode type.
2010-01-05gallium: Add UMOD TGSI opcode.Michal Krol
Either that or have UDIV have two destination operands.
2010-01-05gallium: Add SWITCH, CASE, DEFAULT and ENDSWITCH opcodes to TGSI.Michal Krol
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.
2010-01-05tgsi/ureg: Improve immediate match & expand logic.Michal Krol
Do not pollute immediates with unsuccessfull attempts to expand them.
2010-01-05tgsi: Support signed/unsigned integer immediate types.Michal Krol
2010-01-05tgsi: Cleanup interpreter code for other existing integer opcodes.Michal Krol
2010-01-05Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol
This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
2010-01-05tgsi: Implement new integer opcodes.Michal Krol
Update interpreter and ureg. Also, get rid of SHR -- it's actually an alias for ISHR.
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
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
2010-01-04tgsi: Fix assert.Vinson Lee
2010-01-04Fix testAlan Hourihane
2010-01-03rtasm: Play nicely with Windows's Data Execution Prevention.José Fonseca
2010-01-03util: Minor enhancements/corrections to the bitmask logic.José Fonseca
2010-01-02util: Silent potential loss of precision warnings.José Fonseca
Also ensure multiplication doesn't happen for negative numbers.
2010-01-01gallium/util: Silence format warnings.Vinson Lee
2010-01-01gallium/util: Replace h_addr with h_addr_list[0].Vinson Lee
Fixes compilation error on Mac OS.
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira