Commit graph

23405 commits

Author SHA1 Message Date
Brian Paul
63b1f23b3e llvmpipe: comments, reformatting and assertions in tri rast code 2009-12-01 15:43:01 -07:00
Brian Paul
7505510c7b llvmpipe: add a bunch of comments 2009-11-30 14:02:01 -07:00
Brian Paul
7d042ac2a2 llvmpipe: minor refactoring of bin rasterization code 2009-11-30 14:01:31 -07:00
Brian Paul
bfa1a766d6 llvmpipe: update C_SOURCES 2009-11-30 10:43:23 -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
341edde1d2 llvmpipe: remove dead code 2009-10-21 14:35:54 +01:00
Keith Whitwell
cccb184209 llvmpipe: minor opts to setup_tri 2009-10-20 10:11:52 +01:00
Keith Whitwell
3199c6e764 llvmpipe: move block list into rast struct 2009-10-20 09:44:23 +01:00
Keith Whitwell
8d752a20c6 llvmpipe: build list of 4x4 blocks to be shaded 2009-10-20 08:56:58 +01:00
Keith Whitwell
1735325a23 llvmpipe: recursive rasterization within a tile 2009-10-20 03:38:07 +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
Keith Whitwell
3fd6b724cc llvmpipe: pre-multiply some constants by fixed_one 2009-10-19 14:55:05 +01:00
José Fonseca
2f5f357c5b llvmpipe: Reshape the shader input from 8x2 to 4x4.
Incorrect rendering until the interpolation code generation is updated.
2009-10-19 14:02:01 +01:00
Keith Whitwell
0580079864 llvmpipe: fixed-point rasterization 2009-10-19 13:36:55 +01:00
José Fonseca
301c1494b2 llvmpipe: Reset the pointer to stored jit context. 2009-10-19 13:14:33 +01:00
José Fonseca
f2be08ae0e llvmpipe: Allocate the blend color from the data store, and ensure it's aligned. 2009-10-19 11:53:22 +01:00
Keith Whitwell
269342d916 llvmpipe: correctly scale top/left fill adjustments
Was overdoing it previously.
2009-10-19 11:29:05 +01:00
Keith Whitwell
d9f44abe3b llvmpipe: fix typo correcting for fill convention
Adjustments for top-left fill convention were being lost.
2009-10-19 11:23:43 +01:00
José Fonseca
2e3580d994 llvmpipe: Maintain a copy of the shader constants to prevent clobbering. 2009-10-18 11:57:43 +01:00
José Fonseca
0177c6e66c llvmpipe: Only invoke the shader if necessary. 2009-10-10 18:44:46 +01:00
José Fonseca
7908c239e0 llvmpipe: Additional checks for binner block lists. 2009-10-09 19:17:30 +01:00
José Fonseca
61f3eeb640 llvmpipe: Use framebuffer coords consistently. 2009-10-09 19:16:36 +01:00
José Fonseca
8c80413360 llvmpipe: Fix type in tri bounding box check. 2009-10-09 17:14:11 +01:00
Keith Whitwell
b4924d62c7 llvmpipe: fill in tri min/max values 2009-10-09 16:59:24 +01:00
José Fonseca
6464ec4836 llvmpipe: Remove partial tile override. 2009-10-09 16:50:32 +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
José Fonseca
b0cd386e77 llvmpipe: Tell setup shader inputs. 2009-10-09 16:18:37 +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
f406ffaea6 llvmpipe: set block count/used values back to zero on reset 2009-10-09 15:29:10 +01:00
Keith Whitwell
da1808ccc9 llvmpipe: just bin whole tiles for now 2009-10-09 15:10:15 +01:00
Keith Whitwell
402c189af7 llvmpipe: always call begin_binning on transition to active state 2009-10-09 15:07:18 +01:00
Keith Whitwell
dec35d04ae llvmpipe: add LP_DEBUG env var 2009-10-09 14:59:35 +01:00
Keith Whitwell
082b3b0a89 llvmpipe: initialize setup data store 2009-10-09 14:36:41 +01:00
Keith Whitwell
163a31952c llvmpipe: initialize setup line/tri/point funcs 2009-10-09 14:34:23 +01:00
José Fonseca
608c222723 llvmpipe: Put jit_context in store. 2009-10-09 14:33:21 +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
José Fonseca
659609e0ae llvmpipe: Replace util_pack_color with straight float_to_ubyte. 2009-10-09 14:03:24 +01:00
Keith Whitwell
4e1334ced6 llvmpipe: debug, crash fixes 2009-10-09 14:02:39 +01:00
Keith Whitwell
b0475a4b0d llvmpipe: fix crash on init 2009-10-09 13:55:04 +01:00
Keith Whitwell
1928c965b1 llvmpipe: fix a couple of warnings 2009-10-09 13:53:14 +01:00
José Fonseca
c0e3e35b03 llvmpipe: Add stub lp_setup_is_texture_referenced. 2009-10-09 13:44:24 +01:00
José Fonseca
d904ed88c1 llvmpipe: Pass state to setup. 2009-10-09 13:41:33 +01:00