Commit graph

39979 commits

Author SHA1 Message Date
Keith Whitwell
5b1bd30f22 draw: when preloading args to x87 stack, need to use reverse order 2008-05-23 09:16:57 +01:00
Keith Whitwell
083f3f5c32 draw: avoid a pointless mov in many sse opcodes 2008-05-23 09:16:57 +01:00
Keith Whitwell
0a7a0d79f6 draw: fix x87_ex2 and partially fix lit insn 2008-05-23 09:16:56 +01:00
Keith Whitwell
2302a5d3c1 draw: fix fpu control word manipulations 2008-05-23 09:16:56 +01:00
Keith Whitwell
194a7be28f draw: fix vs aos internal/machine state 2008-05-23 09:16:56 +01:00
Keith Whitwell
889473b3f5 draw: add viewport to varient state 2008-05-23 09:16:56 +01:00
Keith Whitwell
030af06691 rtasm: add x87 instructions and debug-check for x87 stack usage 2008-05-23 09:16:56 +01:00
Keith Whitwell
1ba10e5ccf draw: add aos vertex shader varient 2008-05-23 09:16:56 +01:00
Keith Whitwell
ba738a3135 draw: mark varient functions as PIPE_CDECL 2008-05-23 09:16:56 +01:00
Keith Whitwell
b5c8b3fba6 translate: mark functions as PIPE_CDECL 2008-05-23 09:16:55 +01:00
Keith Whitwell
9343779a8c gallium: define PIPE_CDECL calling convention, which really is cdecl everywhere 2008-05-23 09:16:55 +01:00
Keith Whitwell
d3e64caef6 rtasm: export debug reg print function 2008-05-23 09:16:55 +01:00
Keith Whitwell
8618e6aa16 translate: remove spurious comment 2008-05-23 09:16:55 +01:00
Keith Whitwell
9232f0c023 rtasm: remove unused struct member 2008-05-23 09:16:55 +01:00
Keith Whitwell
7c99d7fe60 draw: create specialized vs varients incorporating fetch & emit 2008-05-23 09:16:55 +01:00
Keith Whitwell
2f0d1396e4 draw: move some state into a new 'vs' area 2008-05-23 09:16:55 +01:00
Keith Whitwell
b23706454b draw: get rid of fetch-shade-emit frontend hack
The code is now living in it's intended place as a pt middle end.
2008-05-23 09:16:54 +01:00
Keith Whitwell
8b25b5256f draw: remove disabled non-sse swizzle code 2008-05-23 09:16:54 +01:00
José Fonseca
781676c7cc pipebuffer: More robust face null pointers.
It is really the caller responsibility not to call pipebuffer with null
buffers, etc. But don't let the crash happen here, and still asserting
early.
2008-05-22 21:54:41 +09:00
José Fonseca
bd4eec0561 pipebuffer: Don't retry allocating in slab suballocator.
In pipebuffer, fencing is done at on a level above sub-allocation, so no
matter how many times slab allocator retries no buffer will be freed. The
pipebuffer fencing implemention already retries allocating.
2008-05-22 20:33:17 +09:00
Brian Paul
d00c8a52f3 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-19 12:48:06 -06:00
Brian Paul
21e614eabc gallium: fix some texture object leaks 2008-05-19 12:40:49 -06:00
Zack Rusin
09900df429 Merge commit 'origin/gallium-0.1' into gallium-vertex-linear 2008-05-19 12:10:42 -04:00
Brian Paul
a846b156b8 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-19 09:36:10 -06:00
Brian Paul
59007a811d if x86_get_func() returns NULL, handle it properly instead of aborting 2008-05-19 09:34:28 -06:00
José Fonseca
aafe3ddee2 i915simple: Fix win9x build. 2008-05-19 15:18:40 +09:00
José Fonseca
5ca4f9e97c gallium: Additional formats for bump mapping. 2008-05-19 15:01:17 +09:00
José Fonseca
820fe36863 gallium: Fix typo. 2008-05-19 15:01:17 +09:00
Brian Paul
54fbd8bbd4 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-18 16:17:50 -06:00
Zack Rusin
0bf82c0111 cosmetic changes 2008-05-17 13:58:45 -04:00
Zack Rusin
a7449d4d84 fix rsq 2008-05-17 13:58:44 -04:00
Zack Rusin
02e45b2dad fix abs and start on rsq 2008-05-17 13:58:44 -04:00
Zack Rusin
1d1cf8edf6 do the lit (some artifacts present) 2008-05-17 13:58:44 -04:00
Zack Rusin
ea1a607292 implement min/max and abstract ops on vectors 2008-05-17 13:58:44 -04:00
Zack Rusin
59766ac273 llvm: implement sub and abs 2008-05-17 13:58:44 -04:00
Zack Rusin
735752e8dc fix injections of functions from builtins into shaders 2008-05-17 13:58:44 -04:00
Zack Rusin
aeae57693b move the swizzling code to gallivm in preperation for code-generating it
also some minor cleanups
2008-05-17 13:58:44 -04:00
Brian Paul
9671f7ae47 gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()
The caller can then free the token array immediately.
2008-05-17 10:30:21 -06:00
Brian Paul
718a2d8c7a gallium: remove deprecated format names 2008-05-17 08:47:56 -06:00
Jakob Bornecrantz
d07fbdd939 i915: Added EGL winsys 2008-05-14 17:19:44 +02:00
Ben Skeggs
9a01ee4424 nv40: fix typo in one of the previous commits 2008-05-14 18:35:37 +10:00
Ben Skeggs
bc1696862c Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-05-14 18:13:36 +10:00
Zack Rusin
1c624846a8 decomposition from keith, adds decomposition of more prim to the pipeline 2008-05-13 17:59:09 -04:00
Ben Skeggs
666ac923f0 nouveau: remove winsys-related stuff from nouveau_local.h 2008-05-14 00:25:09 +10:00
Ben Skeggs
1ef08564d2 nouveau: remove chipset fields in all nv pipe driver context/screen structs. 2008-05-13 12:16:35 +10:00
Ben Skeggs
2f80d4d2a7 nouveau: make nouveau_device.h part of public API 2008-05-13 12:09:04 +10:00
Ben Skeggs
c962ad7cd5 nouveau: create objnull during channel creation 2008-05-13 12:06:32 +10:00
Ben Skeggs
83e6df12ea nouveau: chipset is a device property, remove from nv/nvc. 2008-05-13 12:01:08 +10:00
Ben Skeggs
9b0054c7f8 nv50: slightly less skeletal texture funcs, prevents fun segfaults 2008-05-13 12:00:18 +10:00
Ben Skeggs
32ed02bcfb nv50: report some supported formats to keep the state tracker from asserting. 2008-05-13 12:00:14 +10:00