Commit graph

115447 commits

Author SHA1 Message Date
Ian Romanick
f1257fd794 Cell: Fix unintended breakage from commit 1d62a057bc 2008-02-14 11:55:19 -08:00
Ian Romanick
77a1488620 Real-time assembler for Cell SPE. 2008-02-14 10:08:48 -08:00
Ian Romanick
dd07e154d2 Fetch routines convert and transpose all 4 vertices at once. 2008-02-14 10:08:48 -08:00
Ian Romanick
125451b9f0 Remove open-coded fetch functions 2008-02-14 10:08:48 -08:00
Ian Romanick
ca1a2da645 Initial pass at vertex cache, more vertex fetch changes
This is just another step towards dynamic generate of vertex fetch code.
2008-02-14 10:08:48 -08:00
Ian Romanick
c290367985 Vectorize a couple fetch functions
These C-coded vectorized functions are expected to be short lived.
They're basically a proof-of-concept for dynamically generated fetch
routines.
2008-02-14 10:08:48 -08:00
Michel Dänzer
0230c56ed0 intel_winsys: Call st_notify_swapbuffers_complete() after buffer swap. 2008-02-14 17:42:52 +00:00
Keith Whitwell
cf5ef20f43 gallium: Cleanups related to clears. 2008-02-14 16:53:51 +00:00
caner
5047a8ae19 miniglx doc updates 2008-02-14 09:33:26 -07:00
Keith Whitwell
18e94e15c0 gallium: Minor cleanups to bitfield sizes, etc. 2008-02-14 13:36:21 +00:00
Keith Whitwell
f3f7ff2573 tgsi: partially unbreak sse fragment shaders. more to do. 2008-02-14 12:14:46 +00:00
Xiang, Haihao
4813946d36 i965: use setup attributes as inputs when allocating registers
for WM payload.  fix #10767
2008-02-14 13:24:27 +08:00
Zou Nan hai
1202c434d9 [i965] flip point sprite 2008-02-14 11:01:34 +08:00
Zou Nan hai
08fd2488b0 [i965] gl_FrontFacing support 2008-02-14 10:12:03 +08:00
Dave Airlie
eb9da9706e i965: remove unused hal hooks
These don't appear to have ever been used.
2008-02-14 10:44:43 +10:00
Eric Anholt
85063f14ea [965] Fix ARB_occlusion_query from intel_screen.c merge.
It wasn't being initialized at screen setup, so we were getting stub
entrypoints even though it was exposed as enabled.  Fixes arbocclude mesa demo.
2008-02-13 16:08:35 -08:00
Maarten Maathuis
2effa9b36c nv40: Avoid a nasty array overflow leading to a corrupt memory pointer. 2008-02-13 22:57:09 +01:00
Eric Anholt
822b2481ff [intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965.
The 965 path wasn't setting pClipRects for batch submission since it didn't
want kernel cliprect handling before.  The 915 path also grew the INTEL_NO_HW=1
option for testing just driver overhead.
2008-02-13 10:38:05 -08:00
Eric Anholt
ee781a41af When mapping, wait on the buffer's fence, not hardware idle, in bufmgr_fake 2008-02-13 10:34:48 -08:00
Eric Anholt
ee8dfa8964 Remove O(n^2) debugging code from non-debug path of dri_bufmgr_fake. 2008-02-13 10:34:48 -08:00
Keith Whitwell
a856b399e6 x86: fix assignment in assert typo 2008-02-13 18:29:29 +00:00
Zack Rusin
2e75f39bc4 make swizzling on incoming arguments work 2008-02-13 09:26:56 -05:00
Zack Rusin
12d5b078e8 get rid of the terrible auto-generated entry point
it's not used anymore.
2008-02-13 08:46:05 -05:00
Zack Rusin
7e51d2a998 implement immediates and make them work 2008-02-13 08:33:16 -05:00
Zack Rusin
c107d57210 try to load the consts correctly 2008-02-13 08:33:16 -05:00
Keith Whitwell
66640c4b58 x86: remove debug 2008-02-13 12:37:42 +00:00
Keith Whitwell
8162d317d2 x86: emit absolute calls, as reallocating exec mem breaks relative ones 2008-02-13 12:36:32 +00:00
Keith Whitwell
a3534a27bf tgsi: fail gracefully when sse code can't emit shader 2008-02-13 12:36:32 +00:00
Keith Whitwell
6046c54cc4 x86: reallocate exec mem when we run out 2008-02-13 12:36:32 +00:00
Keith Whitwell
7f342a20d2 tgsi: include more of the register info in debug dumps 2008-02-13 12:36:32 +00:00
Michel Dänzer
e922adbe1d gallium: pipe->surface_copy can flip the contents vertically when necessary.
Fixes gears being upside down on the box in demos/gearbox.
2008-02-13 11:39:58 +00:00
Zack Rusin
4bb1a14d90 handle temporaries in llvm code generated paths 2008-02-13 04:38:10 -05:00
Zack Rusin
e179d5bdd1 implement add 2008-02-13 04:37:40 -05:00
Ben Skeggs
263de4b814 nv40: attempt at obeying sampler min_lod/max_lod/lod_bias 2008-02-13 19:33:41 +11:00
Zack Rusin
135d2329de implement mul 2008-02-13 03:18:37 -05:00
Xiang, Haihao
e45e338542 _mesa_swizzle_ubyt_image: Don't use single swizzle_copy call
if components don't match. fix #13508
2008-02-13 16:00:25 +08:00
Zack Rusin
4c8456264c get mov working 2008-02-13 00:48:08 -05:00
Zack Rusin
53c2963b84 fix fetching input elements and generate a ret on end 2008-02-13 00:36:31 -05:00
Zack Rusin
9b6532f01b add functiontype for the llvm native vs entry point 2008-02-13 00:21:24 -05:00
Zack Rusin
8b054cd6eb disable llvm code in fs 2008-02-13 00:21:03 -05:00
Zack Rusin
3c3c1ff5cd stop generate llvm entry points
entrypoints are useless because we use the same paths as all other
code. also simplify llvm swizzling code
2008-02-12 23:11:05 -05:00
Zack Rusin
cad7bc74d6 llvm ir code to fetch the elements 2008-02-12 23:11:05 -05:00
Ben Skeggs
6be095ae15 nv40: remove use of pt->first_level 2008-02-13 14:27:32 +11:00
Ben Skeggs
b397a2bb20 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2008-02-13 14:21:23 +11:00
Brian
e20e89e482 gallium: initial code for wide/AA line drawing 2008-02-12 19:14:58 -07:00
Brian
9af687c530 gallium: fix/finish glReadPixels(GL_DEPTH_COMPONENT).
This fixes demos/reflect ('d' key) and tests/zreaddraw.c
2008-02-12 17:44:57 -07:00
Brian
48e223a0db gallium: clamp min_lod so it's never negative 2008-02-12 17:07:27 -07:00
Eric Anholt
9365738c36 [intel] Remove cached reloc data buffer now that it's not a BO.
It's not worth the extra effort to avoid a free/malloc, and we'd rather
auto-size the reloc data buffer at some point so we don't need to have
max_relocs.
2008-02-12 16:06:02 -08:00
Eric Anholt
4e2a0b6aa6 [intel] Fix type of some more flags variables for uint64_t flags.
Harmless since we don't yet have any bits above 31 for flags.
2008-02-12 16:06:02 -08:00
Eric Anholt
da428c709a [intel] Note when BO map/unmap fail with TTM. 2008-02-12 16:06:02 -08:00