Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote branch 'origin/master' into lp-setup-llvm | Keith Whitwell | 2010-10-17 | 1425 | -37307/+66773 |
|\ | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | llvmpipe: Fix bad refactoring. | José Fonseca | 2010-10-17 | 1 | -2/+1 |
| | | | | | | | | | | 'i' and 'chan' have random values here, which could cause a buffer overflow in debug builds, if chan > 4. | ||||
| * | gallivm: Fix SoA cubemap derivative computation. | José Fonseca | 2010-10-17 | 1 | -4/+4 |
| | | | | | | | | | | | | Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3. | ||||
| * | llvmpipe: Ensure z_shift and z_width is initialized. | José Fonseca | 2010-10-17 | 1 | -1/+1 |
| | | |||||
| * | llvmpipe: Fix depth-stencil regression. | José Fonseca | 2010-10-17 | 1 | -21/+26 |
| | | | | | | | | | | | | | | If stencil is enabled then we need to load the z_dst, even if depth testing is disabled. This fixes reflect mesa demo. | ||||
| * | r600g: add evergreen ARL support. | Dave Airlie | 2010-10-17 | 2 | -9/+38 |
| | | | | | | | | | | | | Thanks to Alex Deucher for pointing out the FLT to int conversion is necessary and writing an initial patch, this brings about 20 piglits, and I think this is the last piece to make evergreen and r600 equal in terms of features. | ||||
| * | gallivm: use util_snprintf() | Brian Paul | 2010-10-15 | 1 | -1/+2 |
| | | |||||
| * | st/mesa: update function name, comments | Brian Paul | 2010-10-15 | 1 | -6/+14 |
| | | |||||
| * | st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32 | Brian Paul | 2010-10-15 | 1 | -1/+1 |
| | | |||||
| * | st/mesa: reformatting in st_cb_drawpixels.c | Brian Paul | 2010-10-15 | 1 | -20/+32 |
| | | |||||
| * | st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX) | Brian Paul | 2010-10-15 | 2 | -7/+23 |
| | | | | | | | | | | | | We need to keep track of three different fragment shaders: Z-only, stencil- only, and Z+stencil. Before, we were only keeping track of the first one we encountered. | ||||
| * | glsl: add ir_unop_round_even case to silence unhandled enum warning | Brian Paul | 2010-10-15 | 1 | -0/+1 |
| | | |||||
| * | gallivm: added lp_build_load_volatile() | Brian Paul | 2010-10-15 | 2 | -0/+16 |
| | | | | | | | | | | There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging. | ||||
| * | gallivm: added lp_build_print_vec4() | Brian Paul | 2010-10-15 | 2 | -0/+24 |
| | | |||||
| * | i965: Set the type of the null register to fix gen6 FS comparisons. | Eric Anholt | 2010-10-15 | 2 | -24/+41 |
| | | | | | | | | | | | | | | | | | | | | We often use reg_null as the destination when setting up the flag regs. However, on gen6 there aren't general implicit conversions to destination types from src types, so the comparison to produce the flag regs would be done on the integer result interpreted as a float. Hilarity ensued. Fixes 20 piglit cases. | ||||
| * | i965: Fix indentation after commit 3322fbaf | Ian Romanick | 2010-10-15 | 1 | -45/+45 |
| | | |||||
| * | linker: Trivial indention fix | Ian Romanick | 2010-10-15 | 1 | -2/+2 |
| | | |||||
| * | target-helpers: Remove per target software wrapper check | Jakob Bornecrantz | 2010-10-15 | 6 | -26/+37 |
| | | | | | | | | | | Instead of having a NAME_SOFTWARE check just use the GALLIUM_DRIVER instead but set the default to native which is the same as not wrapped. | ||||
| * | egl: Remove unnecessary headers | Jakob Bornecrantz | 2010-10-15 | 2 | -2/+0 |
| | | |||||
| * | wrapper: Add a way to dewrap a pipe screen without destroying it | Jakob Bornecrantz | 2010-10-15 | 3 | -2/+24 |
| | | |||||
| * | wrapper: Fix spelling | Jakob Bornecrantz | 2010-10-15 | 3 | -3/+3 |
| | | |||||
| * | llvmpipe: Move makefile include to before targets | Jakob Bornecrantz | 2010-10-15 | 1 | -2/+2 |
| | | | | | | | | Or plain make inside of the directory wont build libllvmpipe.a | ||||
| * | nv50: apply layout_mask to tile_flags | Xavier Chantry | 2010-10-15 | 3 | -6/+9 |
| | | | | | | | | The tile_flags now store more than just nv50 page table entry bits. | ||||
| * | llvmpipe: validate color outputs against key->nr_cbufs | Keith Whitwell | 2010-10-15 | 1 | -1/+2 |
| | | |||||
| * | llvmpipe: check shader outputs are non-null before using | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | | |||||
| * | mesa: Add missing header to shaderobj.h. | Vinson Lee | 2010-10-15 | 1 | -0/+1 |
| | | | | | | | | Include compiler.h for ASSERT symbol. | ||||
| * | llvmpipe: fix non-sse build after recent changes | Keith Whitwell | 2010-10-15 | 1 | -2/+2 |
| | | |||||
| * | llvmpipe: use aligned loads/stores for plane values | Keith Whitwell | 2010-10-15 | 2 | -9/+9 |
| | | |||||
| * | llvmpipe: do plane calculations with intrinsics | Keith Whitwell | 2010-10-15 | 1 | -57/+148 |
| | | | | | | | | This is a step towards moving this code into the rasterizer. | ||||
| * | gallium: move some intrinsics helpers to u_sse.h | Keith Whitwell | 2010-10-15 | 2 | -58/+74 |
| | | |||||
| * | llvmpipe: don't store plane.ei value in binned data | Keith Whitwell | 2010-10-15 | 5 | -26/+8 |
| | | | | | | | | Further reduce the size of a binned triangle. | ||||
| * | llvmpipe: slightly shrink the size of a binned triangle | Keith Whitwell | 2010-10-15 | 12 | -292/+316 |
| | | |||||
| * | llvmpipe: don't pass frontfacing as a float | Keith Whitwell | 2010-10-15 | 9 | -13/+13 |
| | | |||||
| * | llvmpipe: reintroduce SET_STATE binner command | Keith Whitwell | 2010-10-15 | 9 | -46/+100 |
| | | | | | | | | But bin lazily only into bins which are receiving geometry. | ||||
| * | glsl: Fix ir validation for bit logic ops | Chad Versace | 2010-10-15 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | In ir_validate::visit_leave(), the cases for - ir_binop_bit_and - ir_binop_bit_xor - ir_binop_bit_or were incorrect. It was incorrectly asserted that both operands must be the same type, when in fact one may be scalar and the other a vector. It was also incorrectly asserted that the resultant type was the type of the left operand, which in fact does not hold when the left operand is a scalar and the right operand is a vector. | ||||
| * | glsl: Implement constant expr evaluation for bitwise logic ops | Chad Versace | 2010-10-15 | 1 | -0/+54 |
| | | | | | | | | | | | | | | | | Implement by adding the following cases to ir_exporession::constant_expression_value(): - ir_binop_bit_and - ir_binop_bit_or - ir_binop_bit_xor | ||||
| * | glsl: Implement constant expr evaluation for bit-shift ops | Chad Versace | 2010-10-15 | 1 | -0/+48 |
| | | | | | | | | | | | | | | Implement by adding the following cases to ir_expression::constant_expression_value(): - ir_binop_lshfit - ir_binop_rshfit | ||||
| * | glsl: Implement constant expr evaluation for bitwise-not | Chad Versace | 2010-10-15 | 1 | -0/+15 |
| | | | | | | | | | | Implement by adding a case to ir_expression::constant_expression_value() for ir_unop_bit_not. | ||||
| * | glsl: Implement ast-to-hir for binary shifts in GLSL 1.30 | Chad Versace | 2010-10-15 | 2 | -3/+71 |
| | | | | | | | | | | | | | | | | | | | | Implement by adding the following cases to ast_expression::hir(): - ast_lshift - ast_rshift Also, implement ir validation for the new operators by adding the following cases to ir_validate::visit_leave(): - ir_binop_lshift - ir_binop_rshift | ||||
| * | glsl: Change generated file glsl_lexer.cpp | Chad Versace | 2010-10-15 | 1 | -205/+215 |
| | | |||||
| * | glsl: Add lexer rules for << and >> in GLSL 1.30 | Chad Versace | 2010-10-15 | 1 | -0/+2 |
| | | | | | | | | Commit for generated file glsl_lexer.cpp follows this commit. | ||||
| * | r600g: evergreen interpolation support. | Dave Airlie | 2010-10-15 | 3 | -22/+149 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On evergreen, interpolation has moved into the fragment shader, with the interpolation parmaters being passed via GPRs and LDS entries. This works out the number of interps required and reserves GPR/LDS storage for them, it also correctly routes face/position values which aren't interpolated from the vertex shader. Also if we noticed nothing is to be interpolated we always setup perspective interpolation for one value otherwise the GPU appears to lockup. This fixes about 15 piglit tests on evergreen. |