Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g/r600g: bump cache manager timeouts to 1s | Dave Airlie | 2010-11-25 | 2 | -2/+2 |
| | | | | On lightsmark on my r500 this drop the bufmgr allocations of the sysprof. | ||||
* | mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties. | Kenneth Graunke | 2010-11-24 | 1 | -6/+11 |
| | | | | | | | | | | | | Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495. | ||||
* | meta: Mask Stencil.Clear against stencilMax in _mesa_meta_Clear | Peter Clifton | 2010-11-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | This fixes incorrect behaviour when the stencil clear value exceeds the size of the stencil buffer, for example, when set with: glClearStencil (~1); /* Set a bit pattern of 111...11111110 */ glClear (GL_STENCIL_BUFFER_BIT); The clear value needs to be masked by the value 2^m - 1, where m is the number of bits in the stencil buffer. Previously, we passed the value masked with 0x7fffffff to _mesa_StencilFuncSeparate which then clamps, NOT masks the value to the range 0 to 2^m - 1. The result would be clearing the stencil buffer to 0xff, rather than 0xfe. Signed-off-by: Peter Clifton <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | x11: remove test_proxy_teximage() function | Brian Paul | 2010-11-24 | 1 | -38/+1 |
| | | | | This was really just for testing purposes. | ||||
* | mesa: added _mesa_format_image_size64() | Brian Paul | 2010-11-24 | 2 | -0/+34 |
| | |||||
* | mesa: add assertion and update comment in _mesa_format_image_size() | Brian Paul | 2010-11-24 | 1 | -1/+2 |
| | |||||
* | i965: Don't write mrf assignment for pointsize output | Kristian Høgsberg | 2010-11-24 | 1 | -1/+2 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=31894 | ||||
* | gallium/targets/xorg-vmwgfx: Xv fixes | Thomas Hellstrom | 2010-11-24 | 1 | -2/+10 |
| | | | | | | | Make sure regions are properly updated and that the colorkey painting is flushed before we update the HW overlay. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/xorg: Add a function to flush pending rendering and damage | Thomas Hellstrom | 2010-11-24 | 2 | -30/+37 |
| | | | | | | | This is needed to properly sync with host side rendering. For example, make sure we flush colorkey painting before updating the overlay. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | egl_dri2: Fix one context, multiple surfaces. | Chia-I Wu | 2010-11-24 | 1 | -1/+5 |
| | | | | | | | | | | | | | | When a context was made current to another surface, the old code did this dri2_dpy->core->bindContext(cctx, ddraw, rdraw); dri2_dpy->core->unbindContext(old_cctx); and there will be no current context due to the second line. unbindContext should be called only when bindContext is not. This fixes a regression since d19afc57. Thanks to Neil Roberts for noticing the issue and creating a test case. | ||||
* | i915: Disallow alpha, red, RG, and sRGB as render targets | Ian Romanick | 2010-11-23 | 1 | -1/+7 |
| | | | | | | Fixes bugzilla #31832 NOTE: This is a candidate for the 7.9 branch. | ||||
* | glsl: start restoring some geometry shader code | Brian Paul | 2010-11-23 | 1 | -0/+11 |
| | |||||
* | glsl: better handling of linker failures | Brian Paul | 2010-11-23 | 1 | -19/+33 |
| | | | | | Upon link error, exit translation loop, free program instructions. Check for null pointers in calling code. | ||||
* | mesa: use gl_shader_type enum | Brian Paul | 2010-11-23 | 1 | -3/+3 |
| | |||||
* | mesa: replace #defines with new gl_shader_type enum | Brian Paul | 2010-11-23 | 8 | -40/+53 |
| | |||||
* | mesa: _mesa_valid_register_index() to validate register indexes | Brian Paul | 2010-11-23 | 2 | -0/+103 |
| | |||||
* | mesa: rename, make _mesa_register_file_name() non-static | Brian Paul | 2010-11-23 | 2 | -11/+12 |
| | | | | Plus remove unused parameter. | ||||
* | glsl: use gl_register_file in a few places | Brian Paul | 2010-11-23 | 1 | -4/+4 |
| | |||||
* | glsl: fix off by one in register index assertion | Brian Paul | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | gallium/egl: fix r300 vs r600 loading | Alex Deucher | 2010-11-23 | 1 | -1/+208 |
| | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=31841 | ||||
* | i965: Use the new embedded compare in SEL on gen6 for VS MIN and MAX opcodes. | Eric Anholt | 2010-11-23 | 1 | -6/+24 |
| | | | | Cuts the extra CMP instruction that used to precede SEL. | ||||
* | i965: Don't upload line smooth params unless we're line smoothing. | Eric Anholt | 2010-11-23 | 1 | -2/+3 |
| | |||||
* | i965: Don't upload line stipple pattern unless we're stippling. | Eric Anholt | 2010-11-23 | 1 | -0/+3 |
| | |||||
* | i965: Don't upload polygon stipple unless required. | Eric Anholt | 2010-11-23 | 1 | -1/+7 |
| | |||||
* | i965: Move gen4 blend constant color to the gen4 blending file. | Eric Anholt | 2010-11-23 | 2 | -34/+25 |
| | |||||
* | r600g: Removed duplicated call to tgsi_split_literal_constant(). | Tilman Sauerbeck | 2010-11-23 | 1 | -4/+0 |
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | r300/compiler: Don't allow presubtract sources to be remapped twice | Tom Stellard | 2010-11-23 | 1 | -1/+8 |
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=31193 NOTE: This is a candidate for the 7.9 branch. | ||||
* | r600g: Only compare active vertex elements | Mathias Fröhlich | 2010-11-23 | 1 | -1/+2 |
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | mesa: Clean up header file inclusion in syncobj.h. | Vinson Lee | 2010-11-22 | 1 | -1/+5 |
| | |||||
* | llvmpipe: Remove unnecessary headers. | Vinson Lee | 2010-11-22 | 1 | -2/+0 |
| | |||||
* | mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7 | Xiang, Haihao | 2010-11-23 | 1 | -0/+7 |
| | | | | | | | Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <[email protected]> Signed-off-by: Xiang, Haihao <[email protected]> | ||||
* | r600c: fix VC flush on cedar and palm | Alex Deucher | 2010-11-22 | 1 | -1/+5 |
| | |||||
* | r600g: add support for ontario APUs | Alex Deucher | 2010-11-22 | 7 | -0/+36 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600c: add Ontario Fusion APU support | Alex Deucher | 2010-11-22 | 5 | -1/+24 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r300g: Avoid returning values in a static array, fixing a potential race | Mathias Fröhlich | 2010-11-22 | 1 | -11/+21 |
| | | | | | | | | (Marek: added the initializion of "vec" in the default statement) NOTE: This is a candidate for the 7.9 branch. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | r600g: fix some winsys functions to deal properly with evergreen | Alex Deucher | 2010-11-22 | 2 | -10/+15 |
| | | | | Are these functions actually used anywhere? | ||||
* | r600g: fix additional EVENT_WRITE packet | Alex Deucher | 2010-11-22 | 2 | -1/+10 |
| | | | | Add explicit EVENT_TYPE field | ||||
* | st/mesa: set MaxUniformComponents | Marek Olšák | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | swrast: init alpha value to 1.0 in opt_sample_rgb_2d() | Brian Paul | 2010-11-22 | 1 | -0/+1 |
| | |||||
* | gallium: add PIPE_SHADER_CAP_SUBROUTINES | Marek Olšák | 2010-11-22 | 10 | -2/+25 |
| | | | | | | | | | | | This fixes piglit/glsl-vs-main-return and glsl-fs-main-return for the drivers which don't support RET (i915g, r300g, r600g, svga). ir_to_mesa does not currently generate subroutines, but it's a matter of time till it's added. It would then break all the drivers which don't implement them, so this CAP makes sense. Signed-off-by: Marek Olšák <[email protected]> | ||||
* | Merge branch 'lp-offset-twoside' | Keith Whitwell | 2010-11-22 | 6 | -69/+306 |
|\ | |||||
| * | llvmpipe: twoside for specular color also | Keith Whitwell | 2010-11-19 | 4 | -20/+42 |
| | | |||||
| * | llvmpipe: fix up twoside after recent changes | Keith Whitwell | 2010-11-19 | 1 | -8/+7 |
| | | | | | | | | Fix my slot/attr confusion. | ||||
| * | llvmpipe: fix such that offset/twoside function only does in-place modification | Hui Qi Tay | 2010-11-19 | 1 | -155/+159 |
| | | |||||
| * | llvmpipe: clean up polygon offset function in lp setup code | Hui Qi Tay | 2010-11-15 | 1 | -44/+16 |
| | | |||||
| * | llvmpipe: added llvm offset setup code | Hui Qi Tay | 2010-11-04 | 4 | -46/+143 |
| | | |||||
| * | llvmpipe: Moved draw pipeline twoside function to llvm setup code | Hui Qi Tay | 2010-11-01 | 4 | -5/+103 |
| | | |||||
| * | llvmpipe: turn off draw offset/twoside when we can handle it | Keith Whitwell | 2010-10-22 | 1 | -27/+72 |
| | | |||||
* | | r600g: pick correct color swap for A8 fbos. | Dave Airlie | 2010-11-22 | 1 | -0/+1 |
| | | | | | | | | | | | | This fixes fdo bug 31810. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | r300/compiler: Add a more efficient version of rc_find_free_temporary() | Tom Stellard | 2010-11-21 | 3 | -23/+110 |
| | |