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
Eric Anholt
7ea767f9fa
[intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups.
2008-02-12 16:06:02 -08:00
Eric Anholt
1fd82451eb
[965] Remove stale brw_state_cache.c comment and function export.
2008-02-12 16:06:02 -08:00
Brian
be54b492d9
Fix broken test.
...
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
2008-02-12 16:57:00 -07:00
Brian
22ab7fa466
Fix broken test.
...
As-is, if the texture was too large for the target, an assertion would fail.
Now check proxy texture first and if it works, then test non-proxy target.
2008-02-12 16:56:18 -07:00
Brian
508b73289d
gallium: remove dead code
2008-02-12 16:38:56 -07:00
Brian
a34b43b3f4
gallium: added null ptr check
2008-02-12 16:37:49 -07:00
Brian
9677336845
gallium: rename st_fragment_program's fs field to cso to match st_vertex_program
2008-02-12 16:10:11 -07:00
Brian
6d53b8f423
gallium: move gen-mipmap global/static vars into st_context
...
This fixes potential problems with multi-context programs.
2008-02-12 16:06:51 -07:00
Brian
cf94941122
Set Min/MaxLod with glTexParameterf, not glTexParameteri
2008-02-12 15:54:15 -07:00
Brian
edc7cfa6e6
Set Min/MaxLod with glTexParameterf, not glTexParameteri
2008-02-12 15:53:37 -07:00
Brian
4697cee78b
press 0,1,2,etc keys for specific bias values
2008-02-12 15:01:44 -07:00
Brian
74c32ee6aa
tweak incr/decrements amounts for keyboard options
2008-02-12 15:01:32 -07:00