Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | u_blitter: add draw_rectangle callback which can be overridden by a driver | Marek Olšák | 2010-07-12 | 2 | -19/+104 |
| | |||||
* | u_blitter: clean up the texcoord computations | Marek Olšák | 2010-07-12 | 1 | -28/+35 |
| | |||||
* | u_blitter: simplify blitter_set_rectangle | Marek Olšák | 2010-07-12 | 1 | -19/+32 |
| | |||||
* | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | 2010-07-12 | 2 | -70/+80 |
| | |||||
* | r300g: ugly fix of a hardlock in the cubestorm xscreensaver | Marek Olšák | 2010-07-12 | 2 | -3/+5 |
| | | | | FDO bug #28563. | ||||
* | radeon: lower texture memory consumption is some cases | Maciej Cencora | 2010-07-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | When searching for valid miptree check images in range of [BaseLeve, MaxLevel] not [MinLod, MaxLoad]. Prevents unnecessary miptree allocations in cases when during every rendering operation different texture image level was selected using MIN_LOD = MAX_LOD = level (for every level new miptree for whole texture was allocated). Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <[email protected]> | ||||
* | radeon: fix teximage migration failure in rare case | Maciej Cencora | 2010-07-11 | 1 | -4/+4 |
| | | | | | | | | | Always store selected miptree in texObj->mt so get_base_teximage_offset returns correct data. Found with piglit/mipmap-setup. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <[email protected]> | ||||
* | r300c: Fix vertex data setup for named buffer objects with unaligned offset | Maciej Cencora | 2010-07-11 | 1 | -2/+1 |
| | | | | | | Candidate for 7.8 branch Signed-off-by: Maciej Cencora <[email protected]> | ||||
* | r600: Remove unnecessary headers. | Vinson Lee | 2010-07-11 | 2 | -2/+0 |
| | |||||
* | r300g: do not print a rejected CS if RADEON_DUMP_CS is not set | Marek Olšák | 2010-07-10 | 2 | -4/+9 |
| | | | | Also print relocation failures on non-debug builds too. | ||||
* | r600: Fix GCC 'implication declaration of function' warnings. | Vinson Lee | 2010-07-10 | 2 | -0/+2 |
| | | | | | Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7. | ||||
* | r600: Remove unnecessary header. | Vinson Lee | 2010-07-09 | 1 | -1/+0 |
| | | | | Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion. | ||||
* | r600: Fix include recursion. | Vinson Lee | 2010-07-09 | 1 | -1/+3 |
| | | | | | | | r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers. | ||||
* | glslcompiler: Fix GCC warn_unused_result warning. | Vinson Lee | 2010-07-09 | 1 | -1/+5 |
| | |||||
* | glslcompiler: Fix memory leaks on error paths. | Vinson Lee | 2010-07-09 | 1 | -0/+2 |
| | |||||
* | glslcompiler: Remove unnecessary headers. | Vinson Lee | 2010-07-09 | 1 | -2/+0 |
| | |||||
* | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | 2010-07-09 | 5 | -36/+38 |
| | | | | The other similar integer/float conversion macros are in macros.h. | ||||
* | r300g: allow the GTT domain for samplers | Marek Olšák | 2010-07-09 | 2 | -5/+12 |
| | | | | This fixes sluggishness in vdrift. | ||||
* | r300/compiler: Add a register rename pass. | Tom Stellard | 2010-07-08 | 5 | -0/+153 |
| | | | | | | | This pass renames register in order to make it easier for the pair scheduler to group TEX instructions together. This fixes fdo bug #28606 | ||||
* | r300/compiler: Fix scheduling of TEX instructions. | Tom Stellard | 2010-07-08 | 1 | -19/+67 |
| | | | | | | | | | | The following instruction sequence will no longer be emitted in separate TEX blocks: 0: TEX temp[0].xyz, temp[1].xy__, 2D[0]; 1: TEX temp[1].xyz, temp[2].xy__, 2D[0]; This fixes fdo bug #25109 | ||||
* | r300g/swtcl: fix out-of-bounds write | Marek Olšák | 2010-07-09 | 1 | -1/+1 |
| | | | | This is a typo fix, the generated code should be the same. | ||||
* | draw: Fix off-by-one error in assert. | Vinson Lee | 2010-07-08 | 1 | -1/+1 |
| | | | | textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | ||||
* | glsl: fix indirect addressing of gl_TextureMatrix[] arrays | Brian Paul | 2010-07-08 | 1 | -1/+31 |
| | | | | | | | | | The code to emit an array of OpenGL state vars lacked the code to handle the gl_TextureMatrix[] array. Fixes fd.o bug 28967 NOTE: this is a candidate for the 7.8 branch. | ||||
* | egl_dri2: Support _EGL_PLATFORM_DRM | Kristian Høgsberg | 2010-07-08 | 4 | -44/+240 |
| | | | | This lets the egl_dri2 driver initialize on just a DRM fd. | ||||
* | glslcompiler: Fix build. | Vinson Lee | 2010-07-08 | 1 | -2/+2 |
| | |||||
* | Merge branches 'master' and 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Vinson Lee | 2010-07-08 | 0 | -0/+0 |
| | |||||
* | r300g: fix texturing with negative lod bias | Marek Olšák | 2010-07-09 | 1 | -1/+1 |
| | | | | This should fix FDO bugs #28437 and #28625. | ||||
* | r300g: store/return the stride for winsys_handle in winsys | Marek Olšák | 2010-07-08 | 3 | -15/+18 |
| | |||||
* | i965: Add disasm for SEND mlen/rlen on Sandybridge. | Eric Anholt | 2010-07-08 | 2 | -3/+4 |
| | |||||
* | i965: Add 'wait' instruction support | Zhenyu Wang | 2010-07-08 | 2 | -0/+30 |
| | | | | | | | | When EU executes 'wait' instruction, it stalls and sets notification register state. Host can issue MMIO write to clear notification register state to allow EU continue on executing again. Signed-off-by: Zhenyu Wang <[email protected]> | ||||
* | i965: Fix disasm of a SEND's mlen and rlen on Ironlake. | Eric Anholt | 2010-07-08 | 1 | -4/+11 |
| | |||||
* | i965: Add decode for Sandybridge DP write messages. | Zhenyu Wang | 2010-07-08 | 1 | -9/+21 |
| | |||||
* | i965: Add definitions for Sandybridge DP write/read messages. | Zhenyu Wang | 2010-07-08 | 2 | -6/+53 |
| | |||||
* | r300g: fix transfering compressed textures | Marek Olšák | 2010-07-08 | 1 | -1/+1 |
| | |||||
* | intel: Update intel_decode.c from intel-gpu-tools. | Eric Anholt | 2010-07-08 | 4 | -192/+435 |
| | | | | This came from commit cf255e382d147fe3ca450f0dcec3525190e7dcbc | ||||
* | gallium: bump PIPE_MAX_SHADER_INPUTS/OUTPUTS to 32 | Brian Paul | 2010-07-08 | 1 | -2/+2 |
| | |||||
* | r300g: add a function for marking framebuffer atoms as dirty | Marek Olšák | 2010-07-08 | 3 | -11/+32 |
| | |||||
* | r300g: minor fixups | Marek Olšák | 2010-07-08 | 5 | -7/+7 |
| | |||||
* | glsl: fix 'if ((x=foo()) > 1.0)' bug | Brian Paul | 2010-07-08 | 1 | -1/+5 |
| | | | | | | | | | Fixes fd.o bug 27216. May also be the root cause of fd.o bug 28950. We weren't propogating the storage info for the x=foo() expression up through the IR tree to the inequality expression. NOTE: This is a candidate for the Mesa 7.8 branch. | ||||
* | st/mesa: additional assertions in st_translate_mesa_program() | Brian Paul | 2010-07-08 | 1 | -0/+5 |
| | |||||
* | slang: fix typos | Zack Rusin | 2010-07-08 | 1 | -2/+2 |
| | |||||
* | slang: add some comments related to geometry shaders | Zack Rusin | 2010-07-08 | 2 | -0/+15 |
| | |||||
* | gs: inject const int gl_VerticesIn at link time | Zack Rusin | 2010-07-08 | 6 | -27/+50 |
| | |||||
* | mesa: initial support for new GL 3.0 texture formats | Brian Paul | 2010-07-07 | 4 | -5/+85 |
| | |||||
* | gallivm: restore const qualifier | Brian Paul | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | gallivm: fix cube map LOD computation | Brian Paul | 2010-07-07 | 1 | -38/+54 |
| | | | | | | | | | | | | | | | First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code. | ||||
* | st/mesa: fix sampler max_lod computation | Brian Paul | 2010-07-07 | 1 | -1/+2 |
| | | | | | This change makes gallium behave like other GL implementations and fixes a conformance failure. | ||||
* | r600: workaround 3 comp GL_SHORT vertex attribute format on r700 | Andre Maasikas | 2010-07-07 | 1 | -1/+3 |
| | | | | guess it's a hw errata? | ||||
* | glsl: use Elements() in arrays instead of sentinal values | Brian Paul | 2010-07-07 | 1 | -20/+20 |
| | | | | | | The _slang_*_output_name() functions had one too many loop iterations because of the sentinal end-of-list values in the vertOutput array. Just use Elements() everywhere. | ||||
* | llvmpipe: Don't build lp_test_round when using MSVC. | Vinson Lee | 2010-07-06 | 1 | -1/+3 |
| | | | | | | | lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now. |