Commit graph

27608 commits

Author SHA1 Message Date
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
Zack Rusin
19f15277d1 adjust llvm code to the changes in 2.3 2008-05-12 17:17:18 -04:00
Keith Whitwell
bbda45ec76 draw: turn fse path into a middle end
Also add some util functions in pt_util.c
2008-05-12 19:40:20 +01:00
Keith Whitwell
44463b2997 draw: streamline the varray path
- drop support for running the pipeline (ie. don't populate the flags values)
- pass through all split-able primitives intact to the middle end
- only primitives that can't be split are shunted on the draw-element path
2008-05-12 17:40:55 +01:00
Keith Whitwell
f116a14916 softpipe: more work to get non-reduced primitives working in vbuf 2008-05-12 17:40:55 +01:00
Keith Whitwell
90e86363de softpipe: make vbuf handle all primitive types 2008-05-12 17:40:55 +01:00
Keith Whitwell
b5e5369da5 draw: add fetch-shade-emit path
Enable with TEST_FSE=t.  Performs fetch from API-provided vertex buffers,
transformation with one of three (two working) hard-coded shaders, and
final emit to hardware vertices all in a single pass.

Currently only really useful for profiling in conjunction with SP_NO_RAST=t.
2008-05-12 17:40:55 +01:00
Keith Whitwell
de818835de softpipe: add failure paths for context creation 2008-05-12 17:40:55 +01:00
Keith Whitwell
2258f6b437 xlib: add failure paths for context creation 2008-05-12 17:40:55 +01:00
Keith Whitwell
7ddb925b8b draw: mimize cost of translate key compares, use cache universally 2008-05-12 17:40:54 +01:00
Keith Whitwell
c0a6040f56 translate: helper functions for mimizing cost of key compares 2008-05-12 17:40:54 +01:00
Brian
6807b4f6b1 gallium: optimize the flush_spans() function 2008-05-10 12:46:55 -06:00
Brian
140b3f7f9c gallium: remove unused code 2008-05-10 12:46:55 -06:00
Michel Dänzer
73c5505c13 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-09 18:16:02 +01:00
Michel Dänzer
7462f0557f draw: Fix number of vertices allocated in draw_pt_emit(). 2008-05-09 18:15:49 +01:00
Keith Whitwell
501be9c7dd draw: fix translate double-free, minor cleanups 2008-05-09 15:04:14 +01:00
Keith Whitwell
5ee2b5bdcc draw: fix translate double-free, minor cleanups 2008-05-09 15:02:59 +01:00
Keith Whitwell
2f9b1b9cc2 Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces 2008-05-09 13:11:48 +01:00
Keith Whitwell
1a03812fb5 draw: mimize cost of translate key compares, use cache universally 2008-05-09 13:10:15 +01:00
Keith Whitwell
80474d576c translate: helper functions for mimizing cost of key compares 2008-05-09 13:09:58 +01:00
José Fonseca
54777e124c gallium: Define util_vsprintf. 2008-05-09 18:48:01 +09:00
Keith Whitwell
36e1bc865b Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-09 08:56:01 +01:00