Commit graph

14713 commits

Author SHA1 Message Date
Keith Whitwell
bb2e13b9e8 draw: make sure constant buffer data is aligned before passing to aos.c 2008-05-29 12:38:49 +01:00
Keith Whitwell
82605d7bcd draw: draw_range_elements trial 2008-05-29 11:48:04 +01:00
Michal Krol
cb87d7e44a scons: Remove duplicate entry. 2008-05-29 12:11:37 +02:00
José Fonseca
6945bcb893 draw: Put PIPE_CDECL in the right places.
MSVC seems picky about this.
2008-05-29 18:28:02 +09:00
Keith Whitwell
62628c4d3d draw: share machine 2008-05-29 00:17:53 +01:00
Keith Whitwell
728d1f7f43 draw: enable FSE by default 2008-05-28 23:54:18 +01:00
Keith Whitwell
648da5158e rtasm: special case for [ebp] 2008-05-28 17:06:18 +01:00
José Fonseca
364f75d9db draw: Use PIPE_CDECL. 2008-05-28 22:23:34 +09:00
José Fonseca
25cec212d0 scons: Add new files. 2008-05-28 22:22:50 +09:00
Michal Krol
e407e83966 scons: List missing files for draw module. 2008-05-28 15:10:39 +02:00
Michal Krol
ff44dd5cde draw: Decorate callbacks with PIPE_CDECL. 2008-05-28 15:10:19 +02:00
José Fonseca
7a986792da tgsi: Observe constness. 2008-05-28 21:48:30 +09:00
José Fonseca
4767c10cbb translate: Mark functions as PIPE_CDECL. 2008-05-28 21:47:25 +09:00
Keith Whitwell
7fd6cd9af3 Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces 2008-05-28 13:33:09 +01:00
Keith Whitwell
b7b9ce0f86 softpipe: enable vbuf by default
The non-vbuf option is going away...
2008-05-27 23:28:27 +01:00
Keith Whitwell
e38bb10824 draw: reset stipple counter whenever non-line prim encountered 2008-05-27 23:21:50 +01:00
Keith Whitwell
7b85ea19de draw: support psize in vs_varient paths
Preserve the vinfo "EMIT_*" format descriptors in the varient key,
and deal with PSIZE directly in each implementation.
2008-05-27 19:05:16 +01:00
Keith Whitwell
fd20d1c7e8 draw: add disabled debug code 2008-05-27 17:52:24 +01:00
Keith Whitwell
660fee8351 draw: ensure vs outputs mapped correctly to vinfo attribs 2008-05-27 17:52:24 +01:00
Keith Whitwell
2ec419d40d draw: fix ABS aliasing bug 2008-05-27 17:52:24 +01:00
Michel Dänzer
44a7bd0019 gallium: Always unreference bitmap cache texture before resetting the cache.
Fixes assertion failure with tunnel2 demo.
2008-05-27 17:00:59 +01:00
Keith Whitwell
f8762ba523 draw: explicitly list nr_inputs, outputs in varient key 2008-05-27 14:45:52 +01:00
Keith Whitwell
f64c44ad3e draw: remove dead file 2008-05-27 14:45:31 +01:00
Jakob Bornecrantz
9f9f6c21be draw: Fixed typo in draw_pt_varray and added comments 2008-05-27 13:28:47 +02:00
Jakob Bornecrantz
9752ebd99e draw: Fix for EMIT_4UB case 2008-05-27 13:28:47 +02:00
Keith Whitwell
a08c574bfc draw: hook up viewport / rhw emit to varient key state 2008-05-27 12:26:23 +01:00
Keith Whitwell
50c1d329b9 draw: restore extras path in draw_pt_vcache.c, keep pipeline flags out of non-pipeline elts 2008-05-27 11:58:55 +01:00
Keith Whitwell
f7946bc7c0 draw: dump individual instructions as they are processed 2008-05-27 11:15:31 +01:00
Keith Whitwell
adaaa29218 tgsi: export utils for dumping individual instructions 2008-05-27 11:12:42 +01:00
Keith Whitwell
5dc44184fa draw: fix writemask/shufps confusion 2008-05-27 11:10:50 +01:00
Keith Whitwell
4e2567f0ab draw: some possible fixes for spilling 2008-05-27 10:42:58 +01:00
Keith Whitwell
2109ddafef ffvertex: emit full LIT when attenuating (needs the 1 in X position) 2008-05-27 10:35:33 +01:00
Keith Whitwell
dc1537bc25 ffvertex: don't compute whole eye vector if only eye.z is required 2008-05-27 09:48:32 +01:00
Brian Paul
f172148c6e gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage() 2008-05-26 13:35:29 -06:00
Keith Whitwell
aa16e3a275 draw: defensively flush pipeline backend when setting primitive 2008-05-26 19:10:44 +01:00
Keith Whitwell
93bfc94c35 draw: defensively reset render primitive some more 2008-05-26 18:54:35 +01:00
Keith Whitwell
d80c24a81a draw: defensively reset render primitive, which can get clobbered by clipping 2008-05-26 18:37:34 +01:00
Keith Whitwell
529762d5df draw: add missing break 2008-05-26 18:29:47 +01:00
José Fonseca
35cfd0a490 pipebuffer: Malloc buffer provider.
Simple wrapper around pb_malloc_buffer_create for convenience.
2008-05-27 00:19:41 +09:00
José Fonseca
a0e2955a16 pipebuffer: Allow slab allocations of buffers of inequal size. 2008-05-27 00:13:57 +09:00
José Fonseca
c428997a52 Revert DOS line endings. 2008-05-26 23:38:03 +09:00
José Fonseca
fc72d7e032 Remove CVS keywords. 2008-05-26 20:39:26 +09:00
José Fonseca
d0e2a9add2 Add copyright header. 2008-05-26 20:02:43 +09:00
Keith Whitwell
351eca365c draw: extend precision in RSQ opcode 2008-05-26 11:03:00 +01:00
Keith Whitwell
721fb5597e draw: more aos tweaks 2008-05-26 00:09:02 +01:00
Keith Whitwell
359058e7b7 cso: use memcpy rather than structure asignment for copying
Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
2008-05-25 15:54:40 +01:00
Keith Whitwell
9c7568965c draw: slight tweak for XPD opcode 2008-05-25 15:47:04 +01:00
Keith Whitwell
3afb7198e0 draw: remove EXP & LOG from vs_aos.c
These don't get hit & look like bug magnets to me...
2008-05-25 15:45:27 +01:00
Keith Whitwell
ce331e3a5e draw: special case for writing out scalar results 2008-05-25 15:44:17 +01:00
Keith Whitwell
caadc8d944 draw: clean up some of the xmm register manipulation function names 2008-05-25 15:37:47 +01:00