summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r600g: fix transfer function for tiling.Dave Airlie2010-10-181-2/+3
| | | | this makes readback with tiled back work better.
* r600g: attempt to cleanup depth blitDave Airlie2010-10-181-17/+4
| | | | cleanup what I'm nearly sure is unnecessary work in the depth blit code.
* r600g: depth needs to bound to dsDave Airlie2010-10-181-1/+1
|
* r600g: fix typo in tiling setup cb code.Dave Airlie2010-10-181-1/+1
|
* r600g: do proper tracking of views/samplers.Dave Airlie2010-10-183-16/+44
| | | | | we need to do pretty much what r300g does in for this, this fixes some issues seen while working on tiling.
* llvmpipe: remove unused arg from jit_setup_tri functionKeith Whitwell2010-10-173-6/+3
|
* llvmpipe: remove unused fileKeith Whitwell2010-10-172-2/+0
|
* Merge remote branch 'origin/master' into lp-setup-llvmKeith Whitwell2010-10-17142-9687/+9060
|\ | | | | | | | | | | | | | | | | | | | | 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_triangleKeith Whitwell2010-10-171-4/+4
| |
| * r600g: set tiling bits in hw stateDave Airlie2010-10-181-0/+5
| |
| * r600g: get tiling info from kernelDave Airlie2010-10-183-0/+10
| |
| * 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.
| * 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.
| * 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
| |
| * 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-151-58/+0
| |
| * 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.
| * 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.
| * llvmpipe: code to dump bytecode to file (disabled)Brian Paul2010-10-141-0/+6
| |
| * r300g: clean up warning due to unknown cap.Dave Airlie2010-10-151-0/+1
| |
| * r600g: handle absolute modifier in shader translatorKeith Whitwell2010-10-151-5/+4
| | | | | | | | | | | | | | This was being classed as unsupported in one place but used in others. Enabling it seems to work fine. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: emit hardware linewidthKeith Whitwell2010-10-151-1/+4
| | | | | | | | | | | | | | Tested with demos/pixeltest - line rasterization doesn't seem to be set up for GL conventions yet, but at least width is respected now. Signed-off-by: Dave Airlie <[email protected]>
| * llvmpipe: don't try to emit non-existent color outputsKeith Whitwell2010-10-141-8/+9
| |
| * r600g: select linear interpolate if tgsi input requests itDave Airlie2010-10-141-0/+3
| |
| * r600g: fixup typo in macro nameDave Airlie2010-10-141-1/+1
| |
| * r600g: fixup pos/face ena/address properlyDave Airlie2010-10-141-8/+17
| |
| * r600g: only pick centroid coordinate when asked.Dave Airlie2010-10-142-1/+4
| | | | | | | | TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though.
| * r600g: Fix texture sampling with swizzled coordsFredrik Höglund2010-10-141-1/+1
| | | | | | | | Signed-off-by: Dave Airlie <[email protected]>
| * r600g: drop unused context membersDave Airlie2010-10-141-2/+0
| |
| * llvmpipe: Generalize the x8z24 fast path to all depth formats.José Fonseca2010-10-131-111/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24.
| * llvmpipe: Unbreak Z32_FLOAT.José Fonseca2010-10-133-64/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support).
| * r600g: fix stencil export for evergreen harderDave Airlie2010-10-132-3/+3
| |
| * r600g: fix relative addressing when splitting constant accessesStephan Schmid2010-10-131-0/+2
| | | | | | | | Signed-off-by: Dave Airlie <[email protected]>
| * r600g: add missing eg reg definitionDave Airlie2010-10-131-0/+3
| |
| * r600g: evergreen add stencil export bitDave Airlie2010-10-131-0/+5
| |
| * r600g: use blitter for hw copy regionDave Airlie2010-10-131-2/+31
| | | | | | | | | | at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate.