Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | |
2010-07-07 | ir_to_mesa: Add support for matrix * matrix. | Eric Anholt | |
2010-07-07 | ir_reader: Don't emit ir_function multiple times. | Kenneth Graunke | |
2010-07-07 | gallivm: restore const qualifier | Brian Paul | |
2010-07-07 | gallivm: fix cube map LOD computation | Brian Paul | |
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. | |||
2010-07-07 | linker: Use bit-0 instead of VERT_BIT_GENERIC0 | Ian Romanick | |
Uses of the bits for allocation are offset by 16, and VERT_BIT_GENERIC0 already has the 16 offset. As a result, it was preventing the wrong thing from being allocated. | |||
2010-07-07 | glsl: Fix the setup of refract()'s output for vec3/vec4 and k < 0.0. | Eric Anholt | |
caught by valgrind. | |||
2010-07-07 | glsl2: Fix ir_div_to_mul_rcp for integer division. | Eric Anholt | |
rcp of an integer value did not produce the result you're looking for. Instead, do the a * rcp(b) as float and truncate after. This mostly fixes glsl-fs-loop-nested. | |||
2010-07-07 | glsl2: Actually add the declaration of _post_incdec_temp. | Eric Anholt | |
2010-07-07 | ir_constant_expression: Fix loop increments. | Kenneth Graunke | |
2010-07-07 | glsl2: Initialize yylineno and yycolumn so line numbers are sane. | Kenneth Graunke | |
2010-07-07 | glsl2: Put the initializer in the instruction stream after the declaration | Ian Romanick | |