summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-10-21r600g: add texture tiling enable under a debug option.Dave Airlie
At the moment you need kernel patches to have texture tiling work with the kernel CS checker, so once they are upstream and the drm version is bumped we can make this enable flip the other way most likely.
2010-10-21r600g: add texture tiling alignment support.Dave Airlie
this sets things up to align stride/height with tile sizes, it also adds support for the 2D/1D array mode cross over point.
2010-10-21r600g: introduce a per-driver resource flag for transfers.Dave Airlie
this is to be used to decide not to tile a surface being used for transfers.
2010-10-21r600g: add r600 surface to store the aligned height.Dave Airlie
we need to know the aligned height when binding the surface to cb/zb, not the gallium surface height.
2010-10-21r600g: start adding hooks for aligning width/height for tiles.Dave Airlie
2010-10-21r600g: move to per-miplevel array mode.Dave Airlie
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.
2010-10-21r600g: all non-0 mipmap levels need to be w/h aligned to POT.Dave Airlie
this adds a new minify function to the driver to ensure this.
2010-10-20draw: use float version of LLVM Mul/Add instructionsBrian Paul
LLVM 2.8 is pickier about int vs float instructions and operands.
2010-10-20llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul
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.
2010-10-20r600g: Ensure r600_src is initialized in tgsi_exp function.Vinson Lee
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
2010-10-19draw: Move loop variable declaration outside for loop.Vinson Lee
Fixes MSVC build.
2010-10-19draw: make sure viewport gets updated in draw llvm shaderKeith Whitwell
The viewport state was being baked in at compile time (oops...)
2010-10-19Merge branch 'llvm-cliptest-viewport'Keith Whitwell
2010-10-19draw: corrections to allow for different cliptest casesHui Qi Tay
2010-10-19llvmpipe: Initialize variable.Vinson Lee
2010-10-19llvmpipe: Initialize state variable in debug_bin function.Vinson Lee
2010-10-19st/xorg: Fix memory leak on error path.Vinson Lee
2010-10-19gallivm: fix incorrect type for zero vector in emit_kilp()Brian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=30974
2010-10-19mesa: fix mesa version string constructionBrian Paul
Now that MESA_MINOR=10, we no longer need the extra '0' in the version string.
2010-10-19st/xorg: Fix compilation for Xservers >= 1.10Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19xorg/vmwgfx: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg: Fix compilation errors for Xservers compiled without CompositeThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environmentsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-18r300g: Add new debug option for logging vertex/fragment program statsTom Stellard
2010-10-18llvmpipe: Don't test rounding of x.5 numbers.José Fonseca
SSE4.1 has different rules, and so far this doesn't seem to cause any problems with conformance test suites.
2010-10-18gallivm: Add a note about SSE4.1's nearest mode rounding.José Fonseca
2010-10-18llvmpipe: remove lp_setup_coef*.c files from MakefileBrian Paul
2010-10-18egl/i965: include inline_wrapper_sw_helper.hVictor Tseng
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-10-18r600g: retrieve tiling info from kernel for shared buffers.Dave Airlie
we need to know if the back is tiled so we can blit from it properly.
2010-10-18r600g: fix transfer function for tiling.Dave Airlie
this makes readback with tiled back work better.
2010-10-18r600g: attempt to cleanup depth blitDave Airlie
cleanup what I'm nearly sure is unnecessary work in the depth blit code.
2010-10-18r600g: depth needs to bound to dsDave Airlie
2010-10-18r600g: fix typo in tiling setup cb code.Dave Airlie
2010-10-18r600g: do proper tracking of views/samplers.Dave Airlie
we need to do pretty much what r300g does in for this, this fixes some issues seen while working on tiling.
2010-10-17llvmpipe: remove unused arg from jit_setup_tri functionKeith Whitwell
2010-10-17llvmpipe: remove unused fileKeith Whitwell
2010-10-17Merge remote branch 'origin/master' into lp-setup-llvmKeith Whitwell
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
2010-10-17llvmpipe: fail cleanly on malloc failure in lp_setup_alloc_triangleKeith Whitwell
2010-10-17llvmpipe: remove setup fallback pathKeith Whitwell
2010-10-17gallivm: Comment lp_build_insert_new_block().José Fonseca
2010-10-17llvmpipe: clean up fields in draw_llvm_variant_keyKeith Whitwell
2010-10-18r600g: set tiling bits in hw stateDave Airlie
2010-10-18r600g: get tiling info from kernelDave Airlie
2010-10-18r600g: add defines for tilingDave Airlie
2010-10-18r600g: switch to a common formats.h file since they are in different regsDave Airlie
2010-10-17llvmpipe: Return non-zero exit code for lp_test_round failures.Vinson Lee
2010-10-17draw: corrections for w coordinateHui Qi Tay
2010-10-17llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and ↵José Fonseca
broken code.
2010-10-17llvmpipe: Fix bad refactoring.José Fonseca
'i' and 'chan' have random values here, which could cause a buffer overflow in debug builds, if chan > 4.