Brian Paul
866e6856d3
llvmpipe: execute shaders on 4x4 blocks instead of 8x2
...
This matches the convention used by the recursive rasterizer.
Also fixed assorted typos, comments, etc.
Now tri-z.c, gears.c, etc look basically right but there's still some
cracks in triangle rasterization.
2009-12-02 15:13:47 -07:00
Brian Paul
7505510c7b
llvmpipe: add a bunch of comments
2009-11-30 14:02:01 -07:00
Keith Whitwell
280c8acc43
llvmpipe: fix the worst of the depth regressions since switch to 4x4
2009-10-22 17:21:37 +01:00
Keith Whitwell
694f05ac18
llvmpipe: remove one of two definitions of TILESIZE
2009-10-21 15:21:11 +01:00
Keith Whitwell
7b116e13a2
llvmpipe: pass mask as a linear encoding of the 4x4 block
2009-10-20 03:17:17 +01:00
Keith Whitwell
7670628061
llvmpipe: precalculate some offsets
2009-10-20 02:46:00 +01:00
Keith Whitwell
5b07d4de38
llvmpipe: remove a leftover 8x2 usage
2009-10-19 17:10:48 +01:00
Keith Whitwell
b0828b0adc
llvmpipe: calculate masks in format desired by shader
...
Also remove branches calculating masks for quads.
2009-10-19 16:41:27 +01:00
José Fonseca
61f3eeb640
llvmpipe: Use framebuffer coords consistently.
2009-10-09 19:16:36 +01:00
José Fonseca
8c34c86d19
llvmpipe: Undo debug override.
2009-10-09 16:23:00 +01:00
Keith Whitwell
05131f7502
llvmpipe: properly clip tile writes
2009-10-09 16:20:56 +01:00
José Fonseca
c2e926b72d
llvmpipe: Pass framebuffer coords to shader.
2009-10-09 16:18:38 +01:00
Keith Whitwell
82ec7f018d
llvmpipe: correct binning maths for iterating over whole tiles
2009-10-09 16:07:58 +01:00
José Fonseca
8599969582
llvmpipe: Get jit_context/jit_function across the rasterizer.
2009-10-09 15:53:53 +01:00
Keith Whitwell
e0e2008f1d
llvmpipe: trivial/clear works
2009-10-09 14:29:25 +01:00
Keith Whitwell
295aea0489
llvmpipe: more debug
2009-10-09 14:07:40 +01:00
Keith Whitwell
4e1334ced6
llvmpipe: debug, crash fixes
2009-10-09 14:02:39 +01:00
Keith Whitwell
4cdd10cb4b
llvmpipe: use union lp_cmd_rast_arg directly, rather than through a pointer
...
The union itself consists of pointers. We don't need to be passing
pointer to pointers.
2009-10-09 11:29:01 +01:00
José Fonseca
47510040a6
llvmpipe: Follow write_color/write_zstencil.
2009-10-09 10:37:24 +01:00
Keith Whitwell
84ab7dcf48
llvmpipe: calculate overall width and height, pass to rasterizer
2009-10-09 10:24:19 +01:00
Keith Whitwell
0718c77005
llvmpipe: work on clears and coefficients
2009-10-08 19:58:54 +01:00
José Fonseca
21489d2275
llvmpipe: Remove quad headers.
2009-10-08 19:56:01 +01:00
José Fonseca
07ee87e664
llvmpipe: Fix typo.
2009-10-08 19:18:52 +01:00
José Fonseca
86dba3e414
llvmpipe: Final adjustments to rasterizer methods.
2009-10-08 19:16:47 +01:00
José Fonseca
ab76b2a8b8
llvmpipe: Complete more rasterizer methods..
2009-10-08 19:03:14 +01:00
José Fonseca
37b86aa55c
llvmpipe: Implement some of the rasterizer functions.
2009-10-08 17:59:44 +01:00
Keith Whitwell
d0c918b87a
llvmpipe: remove some old sampler support structs
2009-10-08 17:53:12 +01:00
José Fonseca
921584181e
llvmpipe: Fix up lp_rast_shade_quads.
2009-10-08 17:26:13 +01:00
José Fonseca
d614ced756
llvmpipe: Update includes and copyright headers.
2009-10-08 12:51:46 +01:00
José Fonseca
a6676d896e
llvmpipe: Add the rast -> jit shader glue.
...
Ugly code. Will eventually be reduced to a very thin inlined function.
2009-10-08 12:44:30 +01:00
Keith Whitwell
e529170c11
llvmpipe: more wipping
2009-10-08 11:49:49 +01:00