Commit Graph

26839 Commits

Author SHA1 Message Date
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
José Fonseca 21489d2275 llvmpipe: Remove quad headers. 2009-10-08 19:56:01 +01:00
José Fonseca df8cedf989 llvmpipe: Adjust interpolation coeffs declaration. 2009-10-08 19:53:56 +01:00
José Fonseca 7ef36171d5 llvmpipe: Call lp_rast_shade_quads from tri rasterizer. 2009-10-08 19:53:14 +01:00
José Fonseca 07ee87e664 llvmpipe: Fix typo. 2009-10-08 19:18:52 +01:00
Keith Whitwell c7227f4b8d llvmpipe: rast_tri updates 2009-10-08 19:17:44 +01:00
José Fonseca 86dba3e414 llvmpipe: Final adjustments to rasterizer methods. 2009-10-08 19:16:47 +01:00
José Fonseca f92787679d llvmpipe: More assorted build fixes. 2009-10-08 19:03:35 +01:00
José Fonseca ab76b2a8b8 llvmpipe: Complete more rasterizer methods.. 2009-10-08 19:03:14 +01:00
José Fonseca 35a90e67eb llvmpipe: Assorted build fixes. 2009-10-08 17:59:57 +01:00
José Fonseca 37b86aa55c llvmpipe: Implement some of the rasterizer functions. 2009-10-08 17:59:44 +01:00
Keith Whitwell 1caa26202c llvmpipe: start cleaning up 2009-10-08 17:53:12 +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 5974b80380 llvmpipe: Remove dead files from SConscript. 2009-10-08 17:06:49 +01:00
José Fonseca ce7ac8e743 llvmpipe: Update lp_setup_clear invocation. 2009-10-08 17:06:32 +01:00
José Fonseca ee3383bc5a llvmpipe: Update more copyright headers. 2009-10-08 17:06:03 +01:00
Keith Whitwell 6b65685def llvmpipe: remove tex tile cache and related code 2009-10-08 16:33:12 +01:00
Keith Whitwell d2e2b75633 llvmpipe: rewrite llvmpipe_clear() 2009-10-08 16:32:03 +01:00
Keith Whitwell 931210424b llvmpipe: wip me harder 2009-10-08 15:46:29 +01:00
José Fonseca d614ced756 llvmpipe: Update includes and copyright headers. 2009-10-08 12:51:46 +01:00
José Fonseca 46df37ebfa llvmpipe: Update SConscript. 2009-10-08 12:44:52 +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 5e13dfe618 llvmpipe: whip out the intra-tile code from lp_setup_tri.c
The "setup" module handles building per-tile display lists.
Intra-tile rendering is handled by lp_rast*.c
2009-10-08 12:15:12 +01:00
Keith Whitwell e529170c11 llvmpipe: more wipping 2009-10-08 11:49:49 +01:00
Keith Whitwell 89498d0153 llvmpipe: import experimental softpipe rasterizer code, wip binning code
WIP, does't build or run.

Rasterizer code is based on Nick Capen's devmaster posts and the
larrabee articles, but currently doesn't share either the performance
or correctness of either...
2009-10-08 08:32:43 +01:00