Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: introduce tri_3_4 for tiny triangles | Keith Whitwell | 2010-09-12 | 6 | -46/+127 |
| | |||||
* | llvmpipe: allow tri_3_16 at any 4-aligned location within a tile | Keith Whitwell | 2010-09-12 | 1 | -27/+50 |
| | | | | Doesn't require 16-alignment, so catch more cases. | ||||
* | llvmpipe: refactor tri_3_16 | Keith Whitwell | 2010-09-12 | 1 | -17/+47 |
| | | | | | Keep step array as a set of four m128i's and reuse throughout the rasterization. | ||||
* | llvmpipe: pass linear masks to fragment shader | Keith Whitwell | 2010-09-12 | 3 | -73/+23 |
| | | | | Fragment shader can extract the correct bits for each quad. | ||||
* | llvmpipe: fix warnings on both 32 and 64 bit builds | Keith Whitwell | 2010-09-12 | 1 | -3/+3 |
| | |||||
* | llvmpipe: fix wierd performance regression in isosurf | Keith Whitwell | 2010-09-12 | 1 | -6/+8 |
| | | | | | | | | | | | | I really don't understand the mechanism behind this, but it seems like the way data blocks for a scene are malloced, and in particular whether we treat them as stack or a queue, and whether we retain the most recently allocated or least recently allocated has a real affect (~5%) on isosurf framerates... This is probably specific to my distro or even just my machine, but none the less, it's nicer not to see the framerates go in the wrong direction. | ||||
* | llvmpipe: Only generate the whole shader specialization for opaque shaders. | José Fonseca | 2010-09-12 | 1 | -1/+7 |
| | | | | | If not opaque, then the color buffer will have to be read any way, therefore the specialization is pointless. | ||||
* | llvmpipe: Silence some warnings. | José Fonseca | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Don't store display the alpha ref value in the key. | José Fonseca | 2010-09-11 | 4 | -12/+13 |
| | | | | It's never used. | ||||
* | gallivm: s/lp_build_broadcast_aos/lp_build_swizzle_scalar_aos/ | José Fonseca | 2010-09-11 | 1 | -1/+1 |
| | | | | More accurate description of this function purpose. | ||||
* | llvmpipe: restore larger command blocks | Keith Whitwell | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | llvmpipe: move some debug to DEBUG_SCENE | Keith Whitwell | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | llvmpipe: add DEBUG_MEM option | Keith Whitwell | 2010-09-11 | 3 | -0/+14 |
| | |||||
* | llvmpipe: allow bigger scenes | Keith Whitwell | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | llvmpipe: remove redundant tgsi_dup_tokens() call | Brian Paul | 2010-09-09 | 1 | -3/+0 |
| | | | | We were calling this twice so the first allocation was orphaned/leaked. | ||||
* | llvmpipe: Add lp_rast_debug.c to Makefile. | Chia-I Wu | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | llvmpipe: Refactor lp_scene_add_resource_reference | José Fonseca | 2010-09-07 | 1 | -14/+15 |
| | | | | Less goto spaghetti. | ||||
* | llvmpipe: Fix negated logic in lp_scene_add_resource_reference(). | José Fonseca | 2010-09-07 | 1 | -1/+1 |
| | | | | Fixes performance regression. | ||||
* | llvmpipe: move more coef setup into lp_setup_coef.c | Keith Whitwell | 2010-09-07 | 4 | -40/+61 |
| | |||||
* | llvmpipe: declare fence handle struct | Keith Whitwell | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | llvmpipe: rasterization debugging helpers | Keith Whitwell | 2010-09-07 | 7 | -0/+428 |
| | |||||
* | llvmpipe: use opcodes instead of function pointers in bins | Keith Whitwell | 2010-09-07 | 15 | -441/+513 |
| | | | | Also, move some state from rasterizer struct to the scene. | ||||
* | llvmpipe: rearrange queries | Keith Whitwell | 2010-09-07 | 4 | -116/+53 |
| | |||||
* | llvmpipe: enforce fixed memory limit on scenes | Keith Whitwell | 2010-09-07 | 11 | -341/+459 |
| | |||||
* | llvmpipe: clean up deferred zstencil clears | Keith Whitwell | 2010-09-07 | 6 | -79/+41 |
| | |||||
* | llvmpipe: rework fences and queries | Keith Whitwell | 2010-09-07 | 7 | -92/+124 |
| | |||||
* | llvmpipe: move whole-tile emit into a function | Keith Whitwell | 2010-09-07 | 2 | -8/+42 |
| | |||||
* | llvmpipe: put fs variant dumping in a function | Keith Whitwell | 2010-09-07 | 2 | -4/+15 |
| | |||||
* | llvmpipe: Remove some broken MinGW hacks in the sin/cos reference code. | José Fonseca | 2010-09-05 | 1 | -49/+0 |
| | |||||
* | llvmpipe: Fix perspective divide interpolation. | José Fonseca | 2010-09-05 | 2 | -9/+76 |
| | | | | | | | | | | Intuition != mathematics, so this time I actually worked out the right formula for first order approximation of perspective interpolation. Ironically, per quad divide actually makes things slower when compared with per pixel divide -- probably because the divide hardware unit is rarely used, whereas the multiply unit is typically already saturated and the first order approximation imply more multiplications. | ||||
* | llvmpipe: Relax the colormask constraint on opaque. | José Fonseca | 2010-09-05 | 2 | -13/+29 |
| | | | | | | Also, include the color buffer in the key. Not having it there causes a tight knots in the logic to determine when it is OK or not to discard previous color buffer contents. | ||||
* | gallivm: Pass condition masks as an unsigned bitmask. | José Fonseca | 2010-09-05 | 1 | -3/+2 |
| | | | | Much more convenient than boolean arrays. | ||||
* | llvmpipe: slightly simplify build_mask | Keith Whitwell | 2010-08-31 | 1 | -6/+2 |
| | |||||
* | llvmpipe: combine linear mask calculation | Keith Whitwell | 2010-08-31 | 2 | -15/+84 |
| | |||||
* | llvmpipe: intrinsics versions of build_mask functions | Keith Whitwell | 2010-08-31 | 1 | -1/+77 |
| | |||||
* | llvmpipe: Include missing header in lp_flush.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for complete type to pipe_screen. | ||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-28 | 1 | -1/+0 |
| | |||||
* | llvmpipe: use util_iround in place of round | Keith Whitwell | 2010-08-27 | 1 | -1/+1 |
| | | | | Fix mingw build. | ||||
* | llvmpipe: eliminate tri->dx, tri->dy values | Keith Whitwell | 2010-08-27 | 2 | -42/+39 |
| | | | | Use an internal struct for line setup information. | ||||
* | llvmpipe: point sprites rasterization | Hui Qi Tay | 2010-08-27 | 7 | -10/+93 |
| | | | | | Point sprites now done in the rasterizer setup code instead of going through the draw module. | ||||
* | llvmpipe: native point rasterization with better pixel rasterization | Hui Qi Tay | 2010-08-27 | 1 | -16/+18 |
| | | | | | | | | A few subpixel_snap and fixed width changes. Conflicts: src/gallium/drivers/llvmpipe/lp_setup_point.c | ||||
* | llvmpipe: native point rasterization | Hui Qi Tay | 2010-08-27 | 8 | -5/+262 |
| | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup_context.h src/gallium/drivers/llvmpipe/lp_setup_line.c src/gallium/drivers/llvmpipe/lp_setup_tri.c | ||||
* | llvmpipe: update line rasterization code to current master | Keith Whitwell | 2010-08-27 | 4 | -374/+227 |
| | |||||
* | llvmpipe: native line rasterization with correct pixel rasterization | Hui Qi Tay | 2010-08-27 | 1 | -29/+213 |
| | | | | | Line rasterization that follows diamond exit rule. Can still optimize logic for start/endpoints. | ||||
* | llvmpipe: native rasterization for lines | Hui Qi Tay | 2010-08-27 | 11 | -22/+685 |
| | | | | | Rasterize lines directly by treating them as 4-sided polygons. Still need to check the exact pixel rasteration. | ||||
* | llvmpipe: add lp_setup_coef to makefile | Keith Whitwell | 2010-08-27 | 1 | -0/+2 |
| | |||||
* | llvmpipe: intrinsics version of triangle coeficient calculation | Keith Whitwell | 2010-08-27 | 5 | -300/+577 |
| | | | | | | Looks nice, but makes almost no impact on performance - maybe a percent or so in isosurf, nothing elsewhere. May be of use later on. | ||||
* | llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query | Brian Paul | 2010-08-26 | 1 | -1/+8 |
| | | | | | Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex. See comments for details. | ||||
* | llvmpipe: fix bad patch application | Keith Whitwell | 2010-08-25 | 1 | -5/+4 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-08-25 | 1 | -1/+0 |
| |