aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | r600g: set tiling bits in hw stateDave Airlie2010-10-181-0/+5
| | |
| * | r600g: get tiling info from kernelDave Airlie2010-10-186-0/+78
| | |
| * | r600g: add defines for tilingDave Airlie2010-10-181-0/+4
| | |
| * | r600g: switch to a common formats.h file since they are in different regsDave Airlie2010-10-186-139/+121
| | |
| * | llvmpipe: Return non-zero exit code for lp_test_round failures.Vinson Lee2010-10-171-10/+9
| | |
| * | llvmpipe: Initialize bld ctx via lp_build_context_init instead of ad-hoc and ↵José Fonseca2010-10-172-8/+2
| | | | | | | | | | | | broken code.
| * | llvmpipe: Fix bad refactoring.José Fonseca2010-10-171-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é Fonseca2010-10-171-4/+4
| | | | | | | | | | | | | | | | | | Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3.
| * | llvmpipe: Ensure z_shift and z_width is initialized.José Fonseca2010-10-171-1/+1
| | |
| * | llvmpipe: Fix depth-stencil regression.José Fonseca2010-10-171-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 Airlie2010-10-172-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 Paul2010-10-151-1/+2
| | |
| * | st/mesa: update function name, commentsBrian Paul2010-10-151-6/+14
| | |
| * | st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32Brian Paul2010-10-151-1/+1
| | |
| * | st/mesa: reformatting in st_cb_drawpixels.cBrian Paul2010-10-151-20/+32
| | |
| * | st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX)Brian Paul2010-10-152-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 warningBrian Paul2010-10-151-0/+1
| | |
| * | gallivm: added lp_build_load_volatile()Brian Paul2010-10-152-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 Paul2010-10-152-0/+24
| | |
| * | i965: Set the type of the null register to fix gen6 FS comparisons.Eric Anholt2010-10-152-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 3322fbafIan Romanick2010-10-151-45/+45
| | |
| * | linker: Trivial indention fixIan Romanick2010-10-151-2/+2
| | |
| * | target-helpers: Remove per target software wrapper checkJakob Bornecrantz2010-10-156-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 headersJakob Bornecrantz2010-10-152-2/+0
| | |
| * | wrapper: Add a way to dewrap a pipe screen without destroying itJakob Bornecrantz2010-10-153-2/+24
| | |
| * | wrapper: Fix spellingJakob Bornecrantz2010-10-153-3/+3
| | |
| * | llvmpipe: Move makefile include to before targetsJakob Bornecrantz2010-10-151-2/+2
| | | | | | | | | | | | Or plain make inside of the directory wont build libllvmpipe.a
| * | nv50: apply layout_mask to tile_flagsXavier Chantry2010-10-153-6/+9
| | | | | | | | | | | | The tile_flags now store more than just nv50 page table entry bits.
| * | llvmpipe: validate color outputs against key->nr_cbufsKeith Whitwell2010-10-151-1/+2
| | |
| * | llvmpipe: check shader outputs are non-null before usingKeith Whitwell2010-10-151-2/+2
| | |
| * | mesa: Add missing header to shaderobj.h.Vinson Lee2010-10-151-0/+1
| | | | | | | | | | | | Include compiler.h for ASSERT symbol.
| * | llvmpipe: fix non-sse build after recent changesKeith Whitwell2010-10-151-2/+2
| | |
| * | llvmpipe: use aligned loads/stores for plane valuesKeith Whitwell2010-10-152-9/+9
| | |
| * | llvmpipe: do plane calculations with intrinsicsKeith Whitwell2010-10-151-57/+148
| | | | | | | | | | | | This is a step towards moving this code into the rasterizer.
| * | gallium: move some intrinsics helpers to u_sse.hKeith Whitwell2010-10-152-58/+74
| | |
| * | llvmpipe: don't store plane.ei value in binned dataKeith Whitwell2010-10-155-26/+8
| | | | | | | | | | | | Further reduce the size of a binned triangle.
| * | llvmpipe: slightly shrink the size of a binned triangleKeith Whitwell2010-10-1512-292/+316
| | |
| * | llvmpipe: don't pass frontfacing as a floatKeith Whitwell2010-10-159-13/+13
| | |
| * | llvmpipe: reintroduce SET_STATE binner commandKeith Whitwell2010-10-159-46/+100
| | | | | | | | | | | | But bin lazily only into bins which are receiving geometry.
| * | glsl: Fix ir validation for bit logic opsChad Versace2010-10-151-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 opsChad Versace2010-10-151-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 opsChad Versace2010-10-151-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-notChad Versace2010-10-151-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.30Chad Versace2010-10-152-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.cppChad Versace2010-10-151-205/+215
| | |
| * | glsl: Add lexer rules for << and >> in GLSL 1.30Chad Versace2010-10-151-0/+2
| | | | | | | | | | | | Commit for generated file glsl_lexer.cpp follows this commit.
| * | r600g: evergreen interpolation support.Dave Airlie2010-10-153-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.
| * | tgsi: add scanner support for centroid inputsDave Airlie2010-10-152-0/+2
| | |
| * | glsl: Slightly change the semantic of _LinkedShadersIan Romanick2010-10-1410-72/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously _LinkedShaders was a compact array of the linked shaders for each shader stage. Now it is arranged such that each slot, indexed by the MESA_SHADER_* defines, refers to a specific shader stage. As a result, some slots will be NULL. This makes things a little more complex in the linker, but it simplifies things in other places. As a side effect _NumLinkedShaders is removed. NOTE: This may be a candidate for the 7.9 branch. If there are other patches that get backported to 7.9 that use _LinkedShader, this patch should be cherry picked also.
| * | i965: Fix texturing on pre-gen5.Eric Anholt2010-10-141-5/+5
| | | | | | | | | | | | | | | I broke it in 06fd639c519214b6ebcbf29127b6d9ed429f8641 by only testing 2 generations of hardware :(