Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-09 | r600: Remove unnecessary header. | Vinson Lee | |
Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion. | |||
2010-07-09 | mesa: temporarily enable printing of Mesa's GPU instructions | Zack Rusin | |
2010-07-09 | mesa: add basic support for 2D register arrays to mesa | Zack Rusin | |
just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions | |||
2010-07-09 | r600: Fix include recursion. | Vinson Lee | |
r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers. | |||
2010-07-09 | glslcompiler: Fix GCC warn_unused_result warning. | Vinson Lee | |
2010-07-09 | glslcompiler: Fix memory leaks on error paths. | Vinson Lee | |
2010-07-09 | glslcompiler: Remove unnecessary headers. | Vinson Lee | |
2010-07-09 | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | |
The other similar integer/float conversion macros are in macros.h. | |||
2010-07-09 | r300g: allow the GTT domain for samplers | Marek Olšák | |
This fixes sluggishness in vdrift. | |||
2010-07-09 | ast_function: Fix non-float constructors with matrix arguments. | Kenneth Graunke | |
Previously, code like ivec4(mat2(...)) would fail because the compiler would naively try to convert a mat2 to an imat2...which doesn't exist. Now, a separate pass breaks such matrices down to their columns, which can be converted from vec2 to ivec2. Fixes piglit tests constructor-11.vert, constructor-14.vert, constructor-15.vert, and CorrectConstFolding2.frag. | |||
2010-07-09 | ast_function: Move error return earlier and don't indent the world. | Kenneth Graunke | |
This has no functional changes. | |||
2010-07-09 | ast_function: Remove unnecessary check for empty constructors. | Kenneth Graunke | |
This case is already caught by a later check that ensures sufficient components were provided, based on the type. | |||
2010-07-09 | glsl2: Use new foreach_list_safe abstraction. | Kenneth Graunke | |
2010-07-09 | glsl2: Add foreach_list_safe which works even when mutating the list. | Kenneth Graunke | |
In particular, with foreach_list_safe, one can remove and free the current node without crashes; if new nodes are added after the current node, they will be properly visited as well. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-07-08 | r300/compiler: Add a register rename pass. | Tom Stellard | |
This pass renames register in order to make it easier for the pair scheduler to group TEX instructions together. This fixes fdo bug #28606 | |||
2010-07-08 | r300/compiler: Fix scheduling of TEX instructions. | Tom Stellard | |
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 | |||
2010-07-09 | r300g/swtcl: fix out-of-bounds write | Marek Olšák | |
This is a typo fix, the generated code should be the same. | |||
2010-07-08 | draw: Fix off-by-one error in assert. | Vinson Lee | |
textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | |||
2010-07-08 | glsl: fix indirect addressing of gl_TextureMatrix[] arrays | Brian Paul | |
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. | |||
2010-07-08 | egl_dri2: Support _EGL_PLATFORM_DRM | Kristian Høgsberg | |
This lets the egl_dri2 driver initialize on just a DRM fd. | |||
2010-07-08 | glslcompiler: Fix build. | Vinson Lee | |
2010-07-08 | Merge branches 'master' and 'master' of ssh://git.freedesktop.org/git/mesa/mesa | Vinson Lee | |
2010-07-08 | glsl2: Remove generate_temporary and global temporary counter. | Kenneth Graunke | |
Most places in the code simply use a static name, which works because names are never used to look up an ir_variable. generate_temporary is simply unnecessary (and looks like it would leak memory, and isn't thread safe...) | |||
2010-07-09 | r300g: fix texturing with negative lod bias | Marek Olšák | |
This should fix FDO bugs #28437 and #28625. | |||
2010-07-08 | r300g: store/return the stride for winsys_handle in winsys | Marek Olšák | |
2010-07-08 | i965: Add disasm for SEND mlen/rlen on Sandybridge. | Eric Anholt | |
2010-07-08 | i965: Add 'wait' instruction support | Zhenyu Wang | |
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 <zhenyuw@linux.intel.com> | |||
2010-07-08 | i965: Fix disasm of a SEND's mlen and rlen on Ironlake. | Eric Anholt | |
2010-07-08 | i965: Add decode for Sandybridge DP write messages. | Zhenyu Wang | |
2010-07-08 | i965: Add definitions for Sandybridge DP write/read messages. | Zhenyu Wang | |
2010-07-08 | r300g: fix transfering compressed textures | Marek Olšák | |
2010-07-08 | intel: Update intel_decode.c from intel-gpu-tools. | Eric Anholt | |
This came from commit cf255e382d147fe3ca450f0dcec3525190e7dcbc | |||
2010-07-08 | gallium: bump PIPE_MAX_SHADER_INPUTS/OUTPUTS to 32 | Brian Paul | |
2010-07-08 | r300g: add a function for marking framebuffer atoms as dirty | Marek Olšák | |
2010-07-08 | r300g: minor fixups | Marek Olšák | |
2010-07-08 | glsl: fix 'if ((x=foo()) > 1.0)' bug | Brian Paul | |
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. | |||
2010-07-08 | st/mesa: additional assertions in st_translate_mesa_program() | Brian Paul | |
2010-07-07 | mesa: Extend register lifetimes to the end of the largest loop required. | Eric Anholt | |
Previously, a register defined at main scope and used in a loop in a loop could end up getting marked as needed only from the definition outside of the loops to the end of the inner loop, and we would cleverly slot in something else in its register in the end of the outer loop. Fixes glsl-vs-loop-nested and glsl-fs-loop-nested on glsl2. This doesn't happen much on master because the original compiler does its own register allocation, so we find little we can do with linear scan register (re)allocation. | |||
2010-07-08 | slang: fix typos | Zack Rusin | |
2010-07-08 | slang: add some comments related to geometry shaders | Zack Rusin | |
2010-07-08 | gs: inject const int gl_VerticesIn at link time | Zack Rusin | |
2010-07-07 | mesa: Fix documentation of BranchTarget for BRK. | Eric Anholt | |
It was changed in 2009 and the comment wasn't updated. | |||
2010-07-07 | glsl2: Add support for gl_PointCoord in 1.20. | Eric Anholt | |
Fixes glsl-fs-pointcoord on swrast (remains broken on 965, like master) | |||
2010-07-07 | mesa: initial support for new GL 3.0 texture formats | Brian Paul | |
2010-07-07 | ir_to_mesa: Fix the assertion on LHS array derefs to DWIM. | Eric Anholt | |
This allows array derefs of matrices now, which makes idr's GLSL demo happy. | |||
2010-07-07 | ir_to_mesa: Add support for constant matrices (untested). | Eric Anholt | |
2010-07-07 | ir_to_mesa: Add support for adding/subtracting matrices. | Eric Anholt | |
This isn't really tested, but didn't break normal vector add/sub. | |||
2010-07-07 | ir_to_mesa: Don't assert that we can't assign matrices. It should work now. | Eric Anholt | |
2010-07-07 | ir_to_mesa: Only allocate a vector per column of a matrix. | Eric Anholt | |
2010-07-07 | ir_to_mesa: Add support for assignment of aggregates. | Eric Anholt | |