Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-19 | i965: Reduce repeated calculation of the attribute-offset-in-VUE. | Eric Anholt | |
This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results. | |||
2010-07-19 | i965: Clarify the nr_regs calculation in brw_clip.c | Eric Anholt | |
2010-07-19 | i965: Don't set up VUE space for the disabled user clip distances on gen6. | Eric Anholt | |
2010-07-19 | linker: Track and validate GLSL versions used in shaders | Ian Romanick | |
2010-07-19 | mesa: remove restart.c from build | Brian Paul | |
2010-07-19 | i915: Ask the compiler to flatten out all the if statements that it can. | Eric Anholt | |
2010-07-19 | ir_to_mesa: Do validation on the IR tree. | Eric Anholt | |
2010-07-19 | ir_to_mesa: Don't do lowering passes on an errored-out shader. | Eric Anholt | |
2010-07-19 | st/mesa: fix FRAMEBUFFER_UNSUPPORTED with the D24S8 format | Marek Olšák | |
Fixes FDO bug #29116. NOTE: this is a candidate for the 7.8 branch | |||
2010-07-18 | ir_to_mesa: Rename struct temp_entry, which is used for all variables now. | Eric Anholt | |
2010-07-18 | ir_to_mesa: Add support for function calls. | Eric Anholt | |
Unlike the previous compiler, in this case we emit only one copy of the function regardless of how many times it's called. | |||
2010-07-18 | glsl2: Make cross() be an expression operation. | Eric Anholt | |
ARB_fp, ARB_vp, Mesa IR, and the 965 vertex shader all have instructions for cross. Shaves 12 Mesa instructions off of a 66-instruction shader I have. | |||
2010-07-16 | mesa: return retval in _mesa_RenderObjectUnpurgeable() | Brian Paul | |
Found by Vinson with static analysis. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | mesa: Add error path in compressed_texture_error_check. | Vinson Lee | |
Add error path for unhandled dimensions in compressed_texture_error_check. | |||
2010-07-15 | r600: fix typo in r700 assembler | Alex Deucher | |
Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | radeon: Also flush if it's not the current context that's being destroyed. | Henri Verbeet | |
This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | radeon: allow driconf vblank settings with dri2 | Alex Deucher | |
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | st/mesa: fix quad strip trimming bug | Brian Paul | |
The translate_prim() function tries to convert quad strips into tri strips. This is normally OK but we have to check for an odd number of vertices so that we don't accidentally draw an extra triangle. The mesa-demos/src/samples/prim.c demo exercises that. With this fix the stray yellow triangle is no longer drawn. Use the u_trim_pipe_prim() function to make sure that prims have the right number of vertices and avoid calling gallium drawing functions when the prim has a degenerate number of vertices. Plus add comments, clean-up formatting, etc. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-15 | mesa: Fix potential out-of-bounds access by _vbo_Materialf. | Vinson Lee | |
_vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array. | |||
2010-07-14 | mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return values | Brian Paul | |
Fixes piglit object_purgeable-api-pbo, object_purgeable-api-vbo and object_purgeable-api-texture failures with swrast. NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-14 | mesa: update assertions and fix refcounting in depth/stencil renderbuffer code | Brian Paul | |
2010-07-14 | mesa: silence a printf warning | Brian Paul | |
2010-07-13 | Merge branch 'mesa-2d-registers' | Zack Rusin | |
2010-07-13 | mesa: add comments and change Index2D to just Index2 | Zack Rusin | |
2010-07-14 | r300/compiler: fix swizzling in the transformation of Abs modifiers | Marek Olšák | |
2010-07-13 | ir_to_mesa: Add convenience function for opcodes with no src/dst reg. | Eric Anholt | |
Most of flow control is like this. | |||
2010-07-13 | ir_to_mesa: Add support for variable array indexing of builtin varyings. | Eric Anholt | |
That is to say, gl_TexCoord[i] now works, fixing glsl-texcoord-array on swrast. | |||
2010-07-13 | ir_to_mesa: Add support for array dereferences on the LHS of assignments. | Eric Anholt | |
The big change is to delay address reg setup until the instruction that needs the deref. It was hard to use the deref chain support for the LHS because it does the copy of the dereffed value to a temporary (to avoid problems when two src regs are array derefs), so we wouldn't haev a pointer to actual storage in the end. Fixes glsl-vs-arrays on swrast. | |||
2010-07-13 | r300/compiler: implement the Abs source operand modifier for vertex shaders | Marek Olšák | |
2010-07-13 | r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shaders | Marek Olšák | |
Despite the docs, the corresponding hardware instructions are r5xx-only. | |||
2010-07-13 | mesa: s/snprintf/_mesa_snprintf/ | Vinson Lee | |
2010-07-12 | ir_to_mesa: Rely on ir_mat_op_to_vec for matrix multiplication support. | Eric Anholt | |
2010-07-12 | ir_to_mesa: Emit OPCODE_MAD when we find an ADD of a MUL. | Eric Anholt | |
Bug #27914. | |||
2010-07-12 | ir_to_mesa: Add support for dereferencing matrices from arrays. | Eric Anholt | |
2010-07-12 | linker: Stub-out intrastage linker | Ian Romanick | |
2010-07-12 | Make shader_api.h be C++ friendly | Ian Romanick | |
2010-07-12 | Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesa | Maciej Cencora | |
2010-07-12 | r600: Fix include recursion. | Vinson Lee | |
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion. | |||
2010-07-12 | Revert "ir_to_mesa: Add support for adding/subtracting matrices." | Eric Anholt | |
This reverts commit b4d0c0e0ee983ee614b047799c3e01221a353c98. Now that ir_mat_op_to_vec is landed, this change is no longer needed. | |||
2010-07-12 | glsl2: Add a new pass at the IR level to break down matrix ops to vector ops. | Eric Anholt | |
This will be used by the Mesa IR and likely most HW backends, as it allows other optimizations to occur that might not otherwise. Fixes glsl-vs-mat-sub-1, glsl-vs-mat-div-1. | |||
2010-07-12 | radeon: fix some wine d3d9 tests | Maciej Cencora | |
Need to flush command stream before mapping texture image that is referenced by current cs. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> | |||
2010-07-11 | radeon: lower texture memory consumption is some cases | Maciej Cencora | |
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 <m.cencora@gmail.com> | |||
2010-07-11 | radeon: fix teximage migration failure in rare case | Maciej Cencora | |
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 <m.cencora@gmail.com> | |||
2010-07-11 | r300c: Fix vertex data setup for named buffer objects with unaligned offset | Maciej Cencora | |
Candidate for 7.8 branch Signed-off-by: Maciej Cencora <m.cencora@gmail.com> | |||
2010-07-11 | r600: Remove unnecessary headers. | Vinson Lee | |
2010-07-10 | mesa: make uniform work with geometry shaders | Zack Rusin | |
2010-07-10 | Revert "mesa: temporarily enable printing of Mesa's GPU instructions" | Zack Rusin | |
This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4. | |||
2010-07-10 | mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitive | Zack Rusin | |
2010-07-10 | r600: Fix GCC 'implication declaration of function' warnings. | Vinson Lee | |
Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7. | |||
2010-07-10 | mesa: get the translation from mesa 2d regs to tgsi working | Zack Rusin | |
first working version of arb_geometry_shader4 |