Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | i965: Use the new style of IF statement with embedded comparison on gen6. | Eric Anholt | 2010-10-19 | 2 | -4/+113 |
| | | | | | | | | | | "Everyone else" does it this way, so follow suit. It's fewer instructions, anyway. | ||||
* | | i965: Set the source operand types for gen6 if/else/endif to integer. | Eric Anholt | 2010-10-19 | 1 | -6/+6 |
| | | | | | | | | | | I don't think this should matter, but I'm not sure, and it's recommended by a kernel checker in fulsim. | ||||
* | | i965: Add EU emit support for gen6's new IF instruction with comparison. | Eric Anholt | 2010-10-19 | 2 | -1/+31 |
| | | |||||
* | | linker: Improve handling of unread/unwritten shader inputs/outputs | Ian Romanick | 2010-10-19 | 1 | -11/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously some shader input or outputs that hadn't received location assignments could slip through. This could happen when a shader contained user-defined varyings and was used with either fixed-function or assembly shaders. See the piglit tests glsl-[fv]s-user-varying-ff and sso-user-varying-0[12]. NOTE: this is a candidate for the 7.9 branch. | ||||
* | | glsl: Commit generated file glsl_lexer.cpp | Chad Versace | 2010-10-19 | 1 | -312/+312 |
| | | | | | | | | Changes are due to commit "glsl: Fix lexer rule for ^=". | ||||
* | | glsl: Fix lexer rule for ^= | Chad Versace | 2010-10-19 | 1 | -1/+1 |
| | | | | | | | | The caret is a special character, and needs to be quoted or escaped. | ||||
* | | glsl: Implement ast-to-hir for bit-logic ops | Chad Versace | 2010-10-19 | 1 | -4/+12 |
| | | | | | | | | | | | | | | Implement by adding to ast_expression::hir() the following cases: - ast_and_assign - ast_or_assign - ast_xor_assign | ||||
* | | glsl: Define bit_logic_result_type() in ast_to_hir.cpp | Chad Versace | 2010-10-19 | 1 | -32/+67 |
| | | | | | | | | | | | | | | | | | | This function type checks the operands of and returns the result type of bit-logic operations. It replaces the type checking performed in the following cases of ast_expression::hir() : - ast_bit_and - ast_bit_or - ast_bit_xor | ||||
* | | glsl: Implement ast-to-hir for bit-shift-assignment | Chad Versace | 2010-10-19 | 1 | -4/+12 |
| | | | | | | | | | | | | Implement by adding to ast_expression::hir() these cases: - ast_ls_assign - ast_rs_assign | ||||
* | | glsl: Define shift_result_type() in ast_to_hir.cpp | Chad Versace | 2010-10-19 | 1 | -41/+67 |
| | | | | | | | | | | | | | | | | This function type checks the operands of and returns the result type of bit-shift operations. It replaces the type checking performed in the following cases of ast_expression::hir() : - ast_lshift - ast_rshift | ||||
* | | i965: Disable thread dispatch when the FS doesn't do any work. | Eric Anholt | 2010-10-19 | 3 | -4/+49 |
| | | | | | | | | | | | | This should reduce the cost of generating shadow maps, for example. No performance difference measured in nexuiz, though it does trigger this path. | ||||
* | | i965: Remove the gen6 emit_mi_flushes I sprinkled around the driver. | Eric Anholt | 2010-10-19 | 10 | -26/+0 |
| | | | | | | | | | | These were for debugging in bringup. Now that relatively complicated apps are working, they haven't helped debug anything in quite a while. | ||||
* | | i965: Tell the shader compiler when we expect depth writes for gen6. | Eric Anholt | 2010-10-19 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | This fixes hangs in some Z-writes-in-shaders tests, though other pieces don't come out correctly. Bug #30392: hang in fbo-fblit-d24s8. (still fails with bad color drawn to some targets) | ||||
* | | 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 | 3 | -3/+3 |
| | | | | | | | | | | Now that MESA_MINOR=10, we no longer need the extra '0' in the version string. | ||||
* | | mesa: Make sure we have the talloc cflags when using the talloc headers | Thomas Hellstrom | 2010-10-19 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | | 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]> | ||||
* | | r300/compiler: Remove unused variable. | Vinson Lee | 2010-10-19 | 1 | -1/+1 |
| | | |||||
* | | r300g: Add new debug option for logging vertex/fragment program stats | Tom Stellard | 2010-10-18 | 9 | -13/+78 |
| | | |||||
* | | r300/compiler: Add a new function for more efficient dataflow analysis | Tom Stellard | 2010-10-18 | 7 | -132/+397 |
| | | | | | | | | | | | | | | rc_get_readers_normal() supplies a list of readers for a given instruction. This function is now being used by the copy propagate optimization and will eventually be used by most other optimization passes as well. | ||||
* | | r300/compiler: Clear empty registers after constant folding | Tom Stellard | 2010-10-18 | 1 | -0/+8 |
| | | |||||
* | | r300/compiler: Fix incorrect assumption | Tom Stellard | 2010-10-18 | 3 | -32/+17 |
| | | | | | | | | | | It is possible for a single pair instruction arg to select from both an RGB and an Alpha source. | ||||
* | | r300/compiler: Create a helper function for merging presubtract sources | Tom Stellard | 2010-10-18 | 1 | -117/+102 |
| | | |||||
* | | i965: Remove unused variable. | Kenneth Graunke | 2010-10-18 | 1 | -1/+0 |
| | | |||||
* | | glsl: Regenerate parser files. | Kenneth Graunke | 2010-10-18 | 2 | -249/+256 |
| | | |||||
* | | glsl: Fix copy and paste error in ast_bit_and node creation. | Kenneth Graunke | 2010-10-18 | 1 | -1/+1 |
| | | | | | | | | All & operations were incorrectly being generated as ast_bit_or. | ||||
* | | i965: Avoid blits in BufferCopySubdata on gen6. | Eric Anholt | 2010-10-18 | 1 | -1/+2 |
| | | | | | | | | Fixes glean/bufferObject. | ||||
* | | i965: Fix scissor-offscreen on gen6 like we did pre-gen6. | Eric Anholt | 2010-10-18 | 1 | -1/+13 |
| | | |||||
* | | i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now. | Eric Anholt | 2010-10-18 | 1 | -0/+4 |
| | | |||||
* | | i965: Fix assertion failure on gen6 BufferSubData to busy BO. | Eric Anholt | 2010-10-18 | 1 | -10/+17 |
| | | | | | | | | Fixes fbo-blit and probably several other tests. | ||||
* | | i965: Fix a weirdness in NOT handling. | Eric Anholt | 2010-10-18 | 1 | -1/+1 |
| | | | | | | | | | | XOR makes much more sense. Note that the previous code would have failed for not(not(x)), but that gets optimized out. | ||||
* | | i965: Disable the debug printf I added for FS disasm. | Eric Anholt | 2010-10-18 | 1 | -5/+7 |
| | | |||||
* | | i965: Add missing "break" statement. | Kenneth Graunke | 2010-10-18 | 1 | -0/+1 |
| | | | | | | | | | | Otherwise, it would try to handle arrays as structures, use uninitialized memory, and crash. | ||||
* | | 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. |