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
José Fonseca
00ffef383c
util: Force ESI register for cpuid's ebx result.
...
Fixes a segfault and better code. Unfortunately using an arbitrary
register ("=r") causes the gcc to abort when the code is optimized saying
it can't satisfy the constraint. Setting seems to do the trick.
2009-10-09 13:25:16 +01:00
José Fonseca
c4d54b62f5
llvmpipe: Eliminate constant mapping/unmapping.
2009-10-09 13:25:15 +01:00
Keith Whitwell
c1013f5d40
llvmpipe: remove dead code
2009-10-09 12:26:49 +01:00
Keith Whitwell
e215f94f15
llvmpipe: get lp_setup_tri building
2009-10-09 12:19:49 +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
Keith Whitwell
415b271b51
llvmpipe: hook up some state, add stub line and point functions
2009-10-09 10:44:07 +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
de902d3275
llvmpipe: more wip on coefficients
2009-10-09 10:23:53 +01:00
Keith Whitwell
253dfed939
llvmpipe: get lp_setup compiling
2009-10-08 23:08:41 +01:00
Keith Whitwell
1814395b7e
llvmpipe: triangle struct owns its copy of shader inputs
2009-10-08 22:46:21 +01:00
Keith Whitwell
0718c77005
llvmpipe: work on clears and coefficients
2009-10-08 19:58:54 +01:00