Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl_dri2: Enable image extensions in one place | Kristian Høgsberg | 2011-03-26 | 4 | -13/+7 |
| | | | | | We know what we can support in egl_dri2.c so just enable the extensions there. | ||||
* | glsl: Generate readable unique names at print time. | Kenneth Graunke | 2011-03-25 | 2 | -11/+63 |
| | | | | | | | | | | | | | | | | | | | | Since GLSL IR allows multiple ir_variables to share the same name, we need to generate unique names when printing the IR. Previously, we always used %s@%p, appending the ir_variable's memory address. While this worked, it had two drawbacks: - When there aren't duplicates, the extra "@0x669a3e88" is useless and makes the code harder to read. - Real duplicates were hard to tell apart: channel_expressions@0x6699e3c8 vs. channel_expressions@0x6699ddd8 We now append @2, @3, @4, and so on, but only where necessary to distinguish duplicates. Since we only do this at print time, any performance impact is irrelevant. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | gallivm: Fix build with llvm-2.9. | Vinson Lee | 2011-03-25 | 1 | -0/+5 |
| | | | | | In llvm-2.9, the header file llvm/System/Host.h has been moved to llvm/Support/Host.h. | ||||
* | glsl: Make add_variable, add_uniform, et. al. have similar signatures | Ian Romanick | 2011-03-25 | 1 | -106/+109 |
| | | | | | | While making some other changes in this area I was finding it annoying each of these functions took mostly the same set of parameters in differing orders. | ||||
* | i965/fs: Use different name for inner loop counter | Ian Romanick | 2011-03-25 | 1 | -2/+2 |
| | | | | | | 'i' is already used for the outer loop. This caused some problems while doing other work in this area. No bug exists here... until you want to use the outer loop counter in the inner loop. | ||||
* | glsl: Fix off-by-one error setting max_array_access for non-constant indexing | Ian Romanick | 2011-03-25 | 1 | -1/+1 |
| | | | | NOTE: This is a candidate for the stable branches. | ||||
* | glsl: Add array access bounds checking to ir_validate | Ian Romanick | 2011-03-25 | 1 | -0/+15 |
| | |||||
* | mesa: add void to save_TextureBarrierNV() | Brian Paul | 2011-03-25 | 1 | -1/+1 |
| | |||||
* | glsl: Add void to _mesa_destroy_shader_compiler() argument list. | José Fonseca | 2011-03-25 | 1 | -2/+2 |
| | | | | | At least MSVC sees a distinction between foo() and foo(void) and warns about it. | ||||
* | mesa: Avoid redefining PUBLIC/USE/likely/unlikely macros. | José Fonseca | 2011-03-25 | 1 | -13/+17 |
| | |||||
* | mesa: Use appropriate call convention in VertexAttribI*v. | José Fonseca | 2011-03-25 | 1 | -136/+136 |
| | | | | | | | | | We were using typecasts because the functions pointers are polymorphic in the second argument type, which. Surprisingly the wrong calling convention didn't cause crashes on Windows, but it was causing certain registers to be trashed in MSVC optimized builds, when processing callists in the ClearView RC Flight Simulator. | ||||
* | gallium: Avoid redefinition of likely/unlikely macros on non gcc compilers. | José Fonseca | 2011-03-25 | 1 | -6/+8 |
| | |||||
* | mesa,mapi: Remove spurious const keyword from ClearBufferfi args. | José Fonseca | 2011-03-25 | 5 | -8/+8 |
| | |||||
* | r300g: fix alpha-test with no colorbuffer | Marek Olšák | 2011-03-24 | 1 | -0/+5 |
| | | | | | | | Piglit: - fbo-alphatest-nocolor NOTE: This is a candidate for the stable branches. | ||||
* | mesa: added _mesa_dump_image() for debugging | Brian Paul | 2011-03-24 | 2 | -0/+28 |
| | |||||
* | mesa: minor whitespace fixes | Brian Paul | 2011-03-24 | 4 | -7/+7 |
| | |||||
* | i965/fs: Make compile failure more verbose with INTEL_DEBUG=wm. | Eric Anholt | 2011-03-24 | 3 | -18/+36 |
| | |||||
* | i965/fs: Clean up reg_undef args from long ago lack of fs_inst overloads. | Eric Anholt | 2011-03-24 | 1 | -2/+2 |
| | |||||
* | i965/fs: Clean up the emit calls by introducing emit() overload helpers. | Eric Anholt | 2011-03-24 | 2 | -223/+203 |
| | | | | | | I think the code ends up a lot more legible this way, though we've still got the overloads in the fs_inst as well (even though there's only one caller left currently). | ||||
* | mesa: new MESA_EXTENSION_MAX_YEAR env var | Brian Paul | 2011-03-24 | 2 | -3/+26 |
| | | | | | | | If set to year X, only report extensions up to that year. This is a work-around for games that try to copy the extensions string to a fixed size buffer and overflow. If a game was released in year X, setting MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem. | ||||
* | svga: adjust triangle rasterization offset | Brian Paul | 2011-03-24 | 1 | -1/+1 |
| | | | | Fixes minor sub-pixel positioning error in some apps. | ||||
* | radeon: use C99 style in macros with variable arguments | Iain Hibbert | 2011-03-24 | 1 | -8/+8 |
| | | | | Signed-off-by: Iain Hibbert <[email protected]> | ||||
* | radeon: reorder #includes to silence warnings | Brian Paul | 2011-03-24 | 1 | -4/+4 |
| | | | | | Silences warnings about RADEON_TILING_SURFACE being redefined. Only compile tested, not run tested. | ||||
* | r128: fix an old annoying warning | Brian Paul | 2011-03-24 | 1 | -2/+2 |
| | |||||
* | radeon: fix radeon_create_image_from_name() wrong parameter type | Brian Paul | 2011-03-24 | 1 | -3/+3 |
| | |||||
* | st/wgl: Adjust the pbuffer invisible window size. | José Fonseca | 2011-03-24 | 1 | -8/+53 |
| | | | | Thanks to Brian Paul for diagnosing the issue. | ||||
* | mesa: More glGet* fixes. | José Fonseca | 2011-03-23 | 1 | -4/+4 |
| | | | | | | glGet(GL_NORMAL_ARRAY) giving potentially wrong results. Most of glGet(GL_XXX_ARRAY_BUFFER_BINDING) giving totally bogus results. | ||||
* | mesa: remove unused _MESA_NEW_NEED_NORMALS | Brian Paul | 2011-03-23 | 1 | -3/+0 |
| | |||||
* | mesa: remove _MESA_NEW_TRANSFER_STATE | Brian Paul | 2011-03-23 | 4 | -10/+6 |
| | |||||
* | mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*). | José Fonseca | 2011-03-22 | 1 | -3/+3 |
| | |||||
* | r600g: Check for relative addressing in destination register when trying to ↵ | Fabian Bieler | 2011-03-22 | 1 | -1/+8 |
| | | | | | | merge instruction groups Signed-off-by: Henri Verbeet <[email protected]> | ||||
* | r600g: fix bo names causing -35 EDEADLCK | Dave Airlie | 2011-03-22 | 3 | -0/+48 |
| | | | | this is a port of the r300 winsys code to do the same thing. | ||||
* | svga: Avoid synchronizing when doing piecewise upload of textures. | José Fonseca | 2011-03-21 | 1 | -7/+8 |
| | |||||
* | svga: Undo the DMA buffer size limiting. | José Fonseca | 2011-03-21 | 1 | -13/+2 |
| | | | | | | | Move this to the winsys, given it is not a virtual device limitation, but a limitation specific to certain winsyses. Also update debug message. | ||||
* | glapi: drop glapi.[ch] and glapitemp.h from being copied to the X server. | Dave Airlie | 2011-03-21 | 1 | -3/+0 |
| | | | | | | | These files are no longer considered shared as the X code is a lot simpler without sharing them. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: 80-column wrapping and comment updates | Brian Paul | 2011-03-19 | 1 | -19/+20 |
| | |||||
* | mesa: 80-column wrapping, update comment | Brian Paul | 2011-03-19 | 1 | -7/+12 |
| | |||||
* | gl.h: reorder some #defines | Brian Paul | 2011-03-19 | 1 | -2/+2 |
| | |||||
* | mesa: consolidate enable/disable code for GL_TEXTURE_GEN_S/T/R/Q | Brian Paul | 2011-03-19 | 1 | -67/+9 |
| | |||||
* | mesa: consolidate clip plane update code | Brian Paul | 2011-03-19 | 3 | -25/+21 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2011-03-19 | 1 | -2/+2 |
| | |||||
* | mesa: replace macro with function | Brian Paul | 2011-03-19 | 1 | -8/+13 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2011-03-19 | 1 | -1/+2 |
| | |||||
* | mesa: rename functions to follow Mesa conventions | Brian Paul | 2011-03-19 | 1 | -35/+29 |
| | |||||
* | mesa: 80-column wrapping | Brian Paul | 2011-03-19 | 1 | -2/+4 |
| | |||||
* | nv50,nvc0: implement texture barrier | Christoph Bumiller | 2011-03-19 | 2 | -0/+22 |
| | |||||
* | r300/compiler: Use a 4-bit writemask in pair instructions | Tom Stellard | 2011-03-18 | 3 | -3/+4 |
| | | | | | | | We now use a 4-bit writemask for all instruction types, which makes it easier to write generic helper functions to manipulte writemasks. NOTE: This is a candidate for the 7.10 branch. | ||||
* | nouveau: Fix serious compiler warnings | Johannes Obermayr | 2011-03-18 | 2 | -0/+2 |
| | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025 Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: minor improvements in glTexEnvfv() | Brian Paul | 2011-03-17 | 1 | -16/+17 |
| | |||||
* | mesa: only report up to 50 _mesa_problem() calls | Brian Paul | 2011-03-17 | 1 | -5/+11 |
| | | | | | | http://bugs.freedesktop.org/show_bug.cgi?id=35200 reports a disk partition getting filled because of warning messages. Stop emitting after 50. |