summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-17llvmpipe: Return non-zero exit code for lp_test_round failures.Vinson Lee
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.
2010-10-17gallivm: Fix SoA cubemap derivative computation.José Fonseca
Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3.
2010-10-17llvmpipe: Ensure z_shift and z_width is initialized.José Fonseca
2010-10-17llvmpipe: Fix depth-stencil regression.José Fonseca
If stencil is enabled then we need to load the z_dst, even if depth testing is disabled. This fixes reflect mesa demo.
2010-10-17r600g: add evergreen ARL support.Dave Airlie
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.
2010-10-15gallivm: use util_snprintf()Brian Paul
2010-10-15st/mesa: update function name, commentsBrian Paul
2010-10-15st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32Brian Paul
2010-10-15st/mesa: reformatting in st_cb_drawpixels.cBrian Paul
2010-10-15st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX)Brian Paul
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.
2010-10-15glsl: add ir_unop_round_even case to silence unhandled enum warningBrian Paul
2010-10-15gallivm: added lp_build_load_volatile()Brian Paul
There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
2010-10-15gallivm: added lp_build_print_vec4()Brian Paul
2010-10-15i965: Set the type of the null register to fix gen6 FS comparisons.Eric Anholt
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.
2010-10-15i965: Fix indentation after commit 3322fbafIan Romanick
2010-10-15linker: Trivial indention fixIan Romanick
2010-10-15target-helpers: Remove per target software wrapper checkJakob Bornecrantz
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.
2010-10-15egl: Remove unnecessary headersJakob Bornecrantz
2010-10-15wrapper: Add a way to dewrap a pipe screen without destroying itJakob Bornecrantz
2010-10-15wrapper: Fix spellingJakob Bornecrantz
2010-10-15llvmpipe: Move makefile include to before targetsJakob Bornecrantz
Or plain make inside of the directory wont build libllvmpipe.a
2010-10-15nv50: apply layout_mask to tile_flagsXavier Chantry
The tile_flags now store more than just nv50 page table entry bits.
2010-10-15llvmpipe: validate color outputs against key->nr_cbufsKeith Whitwell
2010-10-15llvmpipe: check shader outputs are non-null before usingKeith Whitwell
2010-10-15mesa: Add missing header to shaderobj.h.Vinson Lee
Include compiler.h for ASSERT symbol.
2010-10-15llvmpipe: fix non-sse build after recent changesKeith Whitwell
2010-10-15llvmpipe: use aligned loads/stores for plane valuesKeith Whitwell
2010-10-15llvmpipe: do plane calculations with intrinsicsKeith Whitwell
This is a step towards moving this code into the rasterizer.
2010-10-15gallium: move some intrinsics helpers to u_sse.hKeith Whitwell
2010-10-15llvmpipe: don't store plane.ei value in binned dataKeith Whitwell
Further reduce the size of a binned triangle.
2010-10-15llvmpipe: slightly shrink the size of a binned triangleKeith Whitwell
2010-10-15llvmpipe: don't pass frontfacing as a floatKeith Whitwell
2010-10-15llvmpipe: reintroduce SET_STATE binner commandKeith Whitwell
But bin lazily only into bins which are receiving geometry.
2010-10-15glsl: Fix ir validation for bit logic opsChad Versace
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.
2010-10-15glsl: Implement constant expr evaluation for bitwise logic opsChad Versace
Implement by adding the following cases to ir_exporession::constant_expression_value(): - ir_binop_bit_and - ir_binop_bit_or - ir_binop_bit_xor
2010-10-15glsl: Implement constant expr evaluation for bit-shift opsChad Versace
Implement by adding the following cases to ir_expression::constant_expression_value(): - ir_binop_lshfit - ir_binop_rshfit
2010-10-15glsl: Implement constant expr evaluation for bitwise-notChad Versace
Implement by adding a case to ir_expression::constant_expression_value() for ir_unop_bit_not.
2010-10-15glsl: Implement ast-to-hir for binary shifts in GLSL 1.30Chad Versace
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
2010-10-15glsl: Change generated file glsl_lexer.cppChad Versace
2010-10-15glsl: Add lexer rules for << and >> in GLSL 1.30Chad Versace
Commit for generated file glsl_lexer.cpp follows this commit.
2010-10-15r600g: evergreen interpolation support.Dave Airlie
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.
2010-10-15tgsi: add scanner support for centroid inputsDave Airlie
2010-10-14glsl: Slightly change the semantic of _LinkedShadersIan Romanick
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.
2010-10-14i965: Fix texturing on pre-gen5.Eric Anholt
I broke it in 06fd639c519214b6ebcbf29127b6d9ed429f8641 by only testing 2 generations of hardware :(
2010-10-14llvmpipe: code to dump bytecode to file (disabled)Brian Paul
2010-10-14gallivm: add compile-time option to emit inst addrs and/or line numbersBrian Paul
Disabling address printing is helpful for diffing.
2010-10-14mesa: remove post-convolution width/height varsBrian Paul
These were left-over bits from when convolution was removed.
2010-10-14glsl: Refresh autogenerated file builtin_function.cpp.Kenneth Graunke