Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: add r600 surface to store the aligned height. | Dave Airlie | 2010-10-21 | 4 | -20/+36 |
| | | | | | we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height. | ||||
* | r600g: start adding hooks for aligning width/height for tiles. | Dave Airlie | 2010-10-21 | 1 | -4/+26 |
| | |||||
* | r600g: move to per-miplevel array mode. | Dave Airlie | 2010-10-21 | 4 | -12/+23 |
| | | | | | | Since the hw transitions from 2D->1D sampling below the 2D macrotile size we need to keep track of the array mode per level so we can render to it using the CB. | ||||
* | r600g: all non-0 mipmap levels need to be w/h aligned to POT. | Dave Airlie | 2010-10-21 | 1 | -5/+13 |
| | | | | this adds a new minify function to the driver to ensure this. | ||||
* | draw: use float version of LLVM Mul/Add instructions | Brian Paul | 2010-10-20 | 1 | -7/+7 |
| | | | | LLVM 2.8 is pickier about int vs float instructions and operands. | ||||
* | llvmpipe/draw: always enable LLVMAddInstructionCombiningPass() | Brian Paul | 2010-10-20 | 2 | -14/+2 |
| | | | | | | We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure. | ||||
* | r600g: Ensure r600_src is initialized in tgsi_exp function. | Vinson Lee | 2010-10-20 | 1 | -1/+1 |
| | | | | | | | | | | Silences these GCC warnings. r600_shader.c: In function 'tgsi_exp': r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function | ||||
* | draw: Move loop variable declaration outside for loop. | Vinson Lee | 2010-10-19 | 1 | -1/+2 |
| | | | | Fixes MSVC build. | ||||
* | draw: make sure viewport gets updated in draw llvm shader | Keith Whitwell | 2010-10-19 | 3 | -27/+47 |
| | | | | The viewport state was being baked in at compile time (oops...) | ||||
* | Merge branch 'llvm-cliptest-viewport' | Keith Whitwell | 2010-10-19 | 5 | -42/+455 |
|\ | |||||
| * | draw: corrections to allow for different cliptest cases | Hui Qi Tay | 2010-10-19 | 1 | -3/+5 |
| | | |||||
| * | llvmpipe: clean up fields in draw_llvm_variant_key | Keith Whitwell | 2010-10-17 | 2 | -14/+9 |
| | | |||||
| * | draw: corrections for w coordinate | Hui Qi Tay | 2010-10-17 | 1 | -2/+3 |
| | | |||||
| * | draw: sanitize llvm variant key | Hui Qi Tay | 2010-10-14 | 2 | -1/+3 |
| | | | | | | | | Fixes recompilation, but seems to be broken with llvm 2.8. | ||||
| * | draw: some changes to allow for runtime changes to userclip planes | delphi | 2010-10-10 | 5 | -20/+67 |
| | | |||||
| * | draw: added userclip planes and updated variant_key | delphi | 2010-10-04 | 2 | -47/+99 |
| | | |||||
| * | draw: added viewport and cliptest flags | Hui Qi Tay | 2010-09-29 | 3 | -50/+98 |
| | | | | | | | | | | | | | | Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not. | ||||
| * | draw: cliptest and viewport done in a single loop in vertex shader | Hui Qi Tay | 2010-09-29 | 2 | -27/+293 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cliptesting now done at the end of vs in draw_llvm instead of draw_pt_post_vs. Added viewport mapping transformation and further cliptesting to vertex shader in draw_llvm.c Alternative path where vertex header setup, clip coordinates store, cliptesting and viewport mapping are done earlier in the vertex shader. Still need to hook this up properly according to the return value of "draw_llvm_shader" function. | ||||
* | | llvmpipe: Initialize variable. | Vinson Lee | 2010-10-19 | 1 | -0/+1 |
| | | |||||
* | | llvmpipe: Initialize state variable in debug_bin function. | Vinson Lee | 2010-10-19 | 1 | -1/+1 |
| | | |||||
* | | st/xorg: Fix memory leak on error path. | Vinson Lee | 2010-10-19 | 1 | -0/+1 |
| | | |||||
* | | gallivm: fix incorrect type for zero vector in emit_kilp() | Brian Paul | 2010-10-19 | 1 | -1/+2 |
| | | | | | | | | http://bugs.freedesktop.org/show_bug.cgi?id=30974 | ||||
* | | mesa: fix mesa version string construction | Brian Paul | 2010-10-19 | 1 | -1/+1 |
| | | | | | | | | | | Now that MESA_MINOR=10, we no longer need the extra '0' in the version string. | ||||
* | | st/xorg: Fix compilation for Xservers >= 1.10 | Thomas Hellstrom | 2010-10-19 | 1 | -0/+5 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | xorg/vmwgfx: Don't use deprecated x*alloc / xfree functions | Thomas Hellstrom | 2010-10-19 | 3 | -10/+10 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | st/xorg: Don't use deprecated x*alloc / xfree functions | Thomas Hellstrom | 2010-10-19 | 5 | -29/+29 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | st/xorg: Fix compilation errors for Xservers compiled without Composite | Thomas Hellstrom | 2010-10-19 | 1 | -2/+9 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environments | Thomas Hellstrom | 2010-10-19 | 2 | -3/+3 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | r300g: Add new debug option for logging vertex/fragment program stats | Tom Stellard | 2010-10-18 | 4 | -4/+8 |
| | | |||||
* | | llvmpipe: Don't test rounding of x.5 numbers. | José Fonseca | 2010-10-18 | 1 | -1/+4 |
| | | | | | | | | | | SSE4.1 has different rules, and so far this doesn't seem to cause any problems with conformance test suites. | ||||
* | | gallivm: Add a note about SSE4.1's nearest mode rounding. | José Fonseca | 2010-10-18 | 1 | -0/+6 |
| | | |||||
* | | llvmpipe: remove lp_setup_coef*.c files from Makefile | Brian Paul | 2010-10-18 | 1 | -2/+0 |
| | | |||||
* | | egl/i965: include inline_wrapper_sw_helper.h | Victor Tseng | 2010-10-18 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | | r600g: retrieve tiling info from kernel for shared buffers. | Dave Airlie | 2010-10-18 | 6 | -6/+49 |
| | | | | | | | | we need to know if the back is tiled so we can blit from it properly. | ||||
* | | r600g: fix transfer function for tiling. | Dave Airlie | 2010-10-18 | 1 | -2/+3 |
| | | | | | | | | this makes readback with tiled back work better. | ||||
* | | r600g: attempt to cleanup depth blit | Dave Airlie | 2010-10-18 | 1 | -17/+4 |
| | | | | | | | | cleanup what I'm nearly sure is unnecessary work in the depth blit code. | ||||
* | | r600g: depth needs to bound to ds | Dave Airlie | 2010-10-18 | 1 | -1/+1 |
| | | |||||
* | | r600g: fix typo in tiling setup cb code. | Dave Airlie | 2010-10-18 | 1 | -1/+1 |
| | | |||||
* | | r600g: do proper tracking of views/samplers. | Dave Airlie | 2010-10-18 | 3 | -16/+44 |
| | | | | | | | | | | we need to do pretty much what r300g does in for this, this fixes some issues seen while working on tiling. | ||||
* | | llvmpipe: remove unused arg from jit_setup_tri function | Keith Whitwell | 2010-10-17 | 3 | -6/+3 |
| | | |||||
* | | llvmpipe: remove unused file | Keith Whitwell | 2010-10-17 | 2 | -2/+0 |
| | | |||||
* | | Merge remote branch 'origin/master' into lp-setup-llvm | Keith Whitwell | 2010-10-17 | 440 | -16530/+44710 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup_coef.c src/gallium/drivers/llvmpipe/lp_setup_coef.h src/gallium/drivers/llvmpipe/lp_setup_coef_intrin.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_setup_tri.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.h | ||||
| * | | llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangle | Keith Whitwell | 2010-10-17 | 1 | -4/+4 |
| | | | |||||
| * | | gallivm: Comment lp_build_insert_new_block(). | José Fonseca | 2010-10-17 | 1 | -0/+8 |
| | | | |||||
| * | | r600g: set tiling bits in hw state | Dave Airlie | 2010-10-18 | 1 | -0/+5 |
| | | | |||||
| * | | r600g: get tiling info from kernel | Dave Airlie | 2010-10-18 | 6 | -0/+78 |
| | | | |||||
| * | | r600g: add defines for tiling | Dave Airlie | 2010-10-18 | 1 | -0/+4 |
| | | | |||||
| * | | r600g: switch to a common formats.h file since they are in different regs | Dave Airlie | 2010-10-18 | 6 | -139/+121 |
| | | | |||||
| * | | llvmpipe: Return non-zero exit code for lp_test_round failures. | Vinson Lee | 2010-10-17 | 1 | -10/+9 |
| | | | |||||
| * | | llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and ↵ | José Fonseca | 2010-10-17 | 2 | -8/+2 |
| | | | | | | | | | | | | broken code. |