Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r200: fix r200 large points | Roland Scheidegger | 2010-11-10 | 2 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | DD_POINT_SIZE got never set for some time now (as it was set only in ifdefed out code), which caused the r200 driver to use the point primitive mistakenly in some cases which can only do size 1 instead of point sprite. Since the logic to use point instead of point sprite prim is flaky at best anyway (can't work correctly for per-vertex point size), just drop this and always emit point sprites (except for AA points) - reasons why the driver tried to use points for size 1.0 are unknown though it is possible they are faster or more conformant. Note that we can't emit point sprites without point sprite cntl as that might result in undefined point sizes, hence need drm version check (which was unnecessary before as it should always have selected points). An alternative would be to rely on the RE point size clamp controls which could clamp the size to 1.0 min/max even if the SE point size is undefined, but currently always use 0 for min clamp. (As a side note, this also means the driver does not honor the gl spec which mandates points, but not point sprites, with zero size to be rendered as size 1.) This should fix recent reports of https://bugs.freedesktop.org/show_bug.cgi?id=702. This is a candidate for the mesa 7.9 branch. | ||||
* | egl_dri2: Fix __DRI_DRI2 version 1 support. | Chia-I Wu | 2010-11-10 | 1 | -1/+1 |
| | | | | Correctly set __DRI_API_OPENGL flag. | ||||
* | r300g: turn magic numbers into names in the hyperz code | Marek Olšák | 2010-11-10 | 1 | -12/+18 |
| | |||||
* | r300g: rename has_hyperz -> can_hyperz | Marek Olšák | 2010-11-10 | 5 | -11/+11 |
| | |||||
* | r300g: mention ATI in the renderer string | Marek Olšák | 2010-11-10 | 1 | -25/+25 |
| | |||||
* | ws/r600: match bo_busy shared/fence logic in bo_wait | Keith Whitwell | 2010-11-10 | 1 | -8/+9 |
| | | | | Fixes crash in piglit depthrange-clear. | ||||
* | mesa: Clean up header file inclusion in pixelstore.h. | Vinson Lee | 2010-11-10 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in pixel.h. | Vinson Lee | 2010-11-10 | 1 | -1/+6 |
| | |||||
* | Revert "i965: VS use SPF mode on sandybridge for now" | Zhenyu Wang | 2010-11-10 | 2 | -5/+1 |
| | | | | | | This reverts commit 9c39a9fcb2c76897e9b5aff68ce197a411c4e25c. Remove VS SPF mode, conditional instruction works for VS now. | ||||
* | i965: fix dest type of 'endif' on sandybridge | Zhenyu Wang | 2010-11-10 | 1 | -1/+1 |
| | | | | That should also be immediate value for type W. | ||||
* | i965: Add support for math on constants in gen6 brw_wm_glsl.c path. | Eric Anholt | 2010-11-09 | 1 | -4/+5 |
| | | | | Fixes 10 piglit cases that were assertion failing. | ||||
* | ir_to_mesa: Refactor code for emitting DP instructions | Ian Romanick | 2010-11-09 | 1 | -45/+35 |
| | |||||
* | i965: Allow OPCODE_SWZ to put immediates in the first arg. | Eric Anholt | 2010-11-09 | 1 | -0/+1 |
| | | | | | | | | | | | Fixes assertion failure with texture swizzling in the GLSL path when it's triggered (such as gen6 FF or ARB_fp shadow comparisons). Fixes: texdepth texSwizzle fp1-DST test fp1-LIT test 3 | ||||
* | glsl: Remove unnecessary "unused variable" warning suppression. | Kenneth Graunke | 2010-11-09 | 1 | -3/+0 |
| | | | | The "instructions" variable -is- used, so the cast to void can go away. | ||||
* | intel: Add assert check for blitting alignment. | Peter Clifton | 2010-11-09 | 1 | -2/+3 |
| | | | | | | Also fixup code comment to reflect that the GPU requires DWORD alignment, but in this case does not actually pass the value "in DWORDs" as I previously stated. | ||||
* | Revert "intel: Fix the client-side swapbuffers throttling." | Eric Anholt | 2010-11-09 | 1 | -5/+1 |
| | | | | | | | This reverts commit 76360d6abc9e0195bc5c373101ae616e68b2e6e6. On second thought, it turned out that sync objects also used the wait_rendering API like this, and would need the same treatment, and so wait_rendering itself is fixed in libdrm now. | ||||
* | intel: Fix the client-side swapbuffers throttling. | Eric Anholt | 2010-11-09 | 1 | -1/+5 |
| | | | | | | | We were asking for a wait to GTT read (all GPU rendering to it complete), instead of asking for all GPU reading from it to be complete. Prevents swapbuffers-based apps from running away with rendering, and produces a better input experience. | ||||
* | glsl: Fix incorrect gl_type of sampler2DArray and sampler1DArrayShadow | Ian Romanick | 2010-11-09 | 1 | -2/+2 |
| | | | | NOTE: this is a candidate for the 7.9 branch. | ||||
* | gallivm: Allocate TEMP/OUT arrays only once. | José Fonseca | 2010-11-09 | 1 | -36/+23 |
| | |||||
* | gallivm: implement indirect addressing of the output registers | Zack Rusin | 2010-11-09 | 1 | -5/+105 |
| | |||||
* | winsys/xlib: Add cygwin to SConscript. | Vinson Lee | 2010-11-09 | 1 | -1/+1 |
| | | | | Fixes SCons NameError exception on Cygwin. | ||||
* | r600: fix my pessimism about PIPE_TRANSFER_x flags | Keith Whitwell | 2010-11-09 | 1 | -8/+5 |
| | | | | | | For some reason I though we needed the _DISCARD flag to avoid readbacks, which isn't true at all. Now write operations should pipeline properly, gives a good speedup to demos/tunnel. | ||||
* | r600g: translate ARR instruction | Keith Whitwell | 2010-11-09 | 1 | -2/+13 |
| | |||||
* | r600g: attempt to turn on DXTn formats | Keith Whitwell | 2010-11-09 | 3 | -4/+17 |
| | | | | | Seems to sort-of work for non-mipmapped textures. Better than just black anyway. | ||||
* | r600g: avoid recursion with staged uploads | Keith Whitwell | 2010-11-09 | 1 | -0/+34 |
| | | | | | | Don't use an intermediate for formats which don't support hardware blits under u_blitter.c, as these will recursively attempt to create a transfer. | ||||
* | mesa: no-op glBufferSubData() on size==0 | Brian Paul | 2010-11-09 | 1 | -0/+3 |
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439 NOTE: this is a candidate for the 7.9 branch | ||||
* | softpipe: can't no-op depth test stage when occlusion query is enabled | Brian Paul | 2010-11-09 | 1 | -0/+1 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479 | ||||
* | st/dri: Add support for surfaceless current contexts. | Chia-I Wu | 2010-11-10 | 3 | -2/+7 |
| | | | | Tested with Wayland. | ||||
* | mesa: Clean up header file inclusion in nvprogram.h. | Vinson Lee | 2010-11-09 | 1 | -1/+3 |
| | |||||
* | mesa: Clean up header file inclusion in multisample.h. | Vinson Lee | 2010-11-09 | 1 | -1/+3 |
| | |||||
* | mesa: Clean up header file inclusion in matrix.h. | Vinson Lee | 2010-11-09 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in lines.h. | Vinson Lee | 2010-11-09 | 1 | -1/+2 |
| | |||||
* | mesa: Clean up header file inclusion in light.h. | Vinson Lee | 2010-11-09 | 1 | -1/+6 |
| | |||||
* | mesa: Add missing header and forward declarations in dd.h. | Vinson Lee | 2010-11-09 | 1 | -1/+13 |
| | |||||
* | mesa: Clean up header file inclusion in image.h. | Vinson Lee | 2010-11-09 | 1 | -1/+3 |
| | |||||
* | gallium/targets: Trivial crosscompiling fix | Thomas Hellstrom | 2010-11-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | svga/drm: Optionally resolve calls to powf during link-time | Thomas Hellstrom | 2010-11-09 | 2 | -0/+18 |
| | | | | | | | | | When linked with certain builds of libstdc++, it appears like powf is resolved by a symbol in that library. Other builds of libstdc++ doesn't contain that symbol resulting in a linker / loader error. Optionally resolve that symbol and replace it with calls to logf and expf. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | st/egl: Fix build for include files in nonstandard places | Thomas Hellstrom | 2010-11-09 | 2 | -1/+2 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | mesa: Add talloc includes for gles | Thomas Hellstrom | 2010-11-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | egl: Add an include for size_t | Thomas Hellstrom | 2010-11-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | scons: build the xorg state trackers only when env includes drm | Zack Rusin | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in histogram.h. | Vinson Lee | 2010-11-09 | 1 | -1/+4 |
| | |||||
* | mesa: Clean up header file inclusion in hint.h. | Vinson Lee | 2010-11-09 | 1 | -1/+3 |
| | |||||
* | mesa: Clean up header file inclusion in framebuffer.h. | Vinson Lee | 2010-11-09 | 1 | -1/+4 |
| | |||||
* | mesa: Clean up header file inclusion in fog.h. | Vinson Lee | 2010-11-09 | 1 | -1/+4 |
| | |||||
* | mesa: Clean up header file inclusion in ffvertex_prog.h. | Vinson Lee | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | mesa: Clean up header file inclusion in fbobject.h. | Vinson Lee | 2010-11-09 | 1 | -1/+4 |
| | |||||
* | glsl: Fix ir_expression::constant_expression_value() | Chad Versace | 2010-11-09 | 1 | -0/+3 |
| | | | | | When the type of the ir_expression is error_type, return NULL. This fixes bug 31371. | ||||
* | radeon: Implement GL_OES_EGL_image | Johann Rudloff | 2010-11-08 | 11 | -0/+150 |
| | | | | agd5f: add support to radeon/r200/r300 as well | ||||
* | radeon: Implement __DRI_IMAGE and EGL_MESA_image_drm | Johann Rudloff | 2010-11-08 | 2 | -0/+196 |
| |