Brian Paul
5f3ec82338
cell: implement TGSI immediates in SPE code generator
2008-09-12 17:10:20 -06:00
Eric Anholt
8db761409d
intel: Add a width field to regions, and use it for making miptrees in TFP.
...
Otherwise, we would use the pitch as width of the texture, and compiz would
render the pitch padding on the right hand side.
2008-09-12 15:48:13 -07:00
Brian Paul
af2ca5dc38
cell: initial support for IF/ELSE/ENDIF in fragment shader codegen
...
Only one level of if/else/endif nesting is currently working.
2008-09-12 16:31:53 -06:00
Brian Paul
5ab221549d
cell: evaluate multiple fragment inputs
2008-09-12 16:11:52 -06:00
Eric Anholt
bdc8ac4ae2
Finish off the previous fix for TFP.
...
A couple of those lines of debug printfs I deleted weren't actually debug
printfs.
2008-09-12 15:09:43 -07:00
Brian Paul
d598a5d230
cell: disable invalid spe_release_func() calls, fixes crash on exit
2008-09-12 15:07:31 -06:00
Eric Anholt
34bba445a1
intel: Don't segfault on TFP from a bad drawable.
2008-09-12 13:49:23 -07:00
Eric Anholt
201d3419a6
intel: Remove dead allow_batchbuffer param.
2008-09-12 13:49:23 -07:00
Jonathan White
272810125b
Makefile was previously checked in with merge diffs still present. I just selected HEAD and removed the old.
2008-09-12 13:25:40 -06:00
Brian Paul
c9c2b1b016
mesa: bump gallium version string to 0.2
2008-09-12 12:05:10 -06:00
Brian Paul
9b9eba5a42
cell: more documentation updates
2008-09-12 12:04:49 -06:00
Brian Paul
38bacb6f32
cell: implement colormask on fallback path
...
Also, some var renaming and additional comments
2008-09-12 11:43:37 -06:00
Brian Paul
9defef29c5
gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec path
...
tgsi_exec_machine_bind_shader() isn't cheap so avoiding unecessary calls
is a big win.
A similar change should be done for softpipe's fragment exec path but
extra care needs to be taken with the texture sampler state/params.
2008-09-12 11:42:33 -06:00
Brian Paul
bd34b8a4fe
gallium: use copy_token() function to avoid type punning/aliasing problems
...
This fixes parsing errors seen with optimized builds on PPC (which led to crashes).
The memcpy() is heavy-handed, but works. A lighter uint assignment could
be used on x86...
2008-09-12 11:40:31 -06:00
Brian Paul
44e53b37a0
cell: fix twiddled tile display for XSHM. Fixed blank window problem.
2008-09-12 11:37:08 -06:00
Brian Paul
73193b7735
cell: fix twiddled tile display for XSHM. Fixed blank window problem.
2008-09-12 11:35:22 -06:00
Brian Paul
31d2e5b954
gallium: use new compare32() function to fix warnings about type punning and aliasing
2008-09-12 11:02:18 -06:00
Brian Paul
50f78fcc2e
gallium: silence warning
2008-09-12 11:01:31 -06:00
Brian Paul
a449465556
cell: fix non-debug build error
2008-09-12 09:43:11 -06:00
Brian Paul
e8b199c6e3
cell: implement swizzling for src regs
2008-09-12 08:48:08 -06:00
Brian Paul
6c0fa79857
cell: setup fragment program inputs in SOA format
...
Also remove old code, etc.
2008-09-12 08:47:45 -06:00
Brian Paul
c436f96b10
simple add with swizzle and mul with swizzle tests
2008-09-12 08:40:50 -06:00
Brian Paul
0c0e5b71c0
cell: updated docs/status
2008-09-12 08:26:47 -06:00
Brian Paul
b71f4150c8
gallium: minor optimization to spe_load_int()
2008-09-12 08:22:15 -06:00
Brian Paul
be5d8bd078
gallium: initial PPC/Altivec codegen
2008-09-12 08:21:43 -06:00
Brian Paul
33aa5b6964
cell: disable calls to old gen code
2008-09-12 07:58:06 -06:00
Brian Paul
2d28c2e356
cell: update branch info in docs
2008-09-12 07:57:28 -06:00
Brian Paul
fa0aa1443b
cell: disable calls to old gen code
2008-09-12 07:57:08 -06:00
Brian Paul
690f5af337
gallium: don't build winsys/ here
2008-09-12 07:56:43 -06:00
Jakob Bornecrantz
3df0647027
i915simple: A step closer to compiling
2008-09-12 15:09:44 +02:00
Keith Whitwell
f7d7a212cd
mesa: build gallium directories before core mesa
2008-09-12 12:24:21 +01:00
Keith Whitwell
4b458555ab
mesa: regenerate shader files
2008-09-12 12:23:28 +01:00
George Sapountzis
d3dc95e26a
dri/swrast: fix swapBuffers after dri2
2008-09-12 12:43:10 +03:00
Keith Whitwell
522139dd14
vp: add run script
2008-09-12 10:31:51 +01:00
Keith Whitwell
176c454765
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
progs/fp/Makefile
2008-09-12 10:31:23 +01:00
Keith Whitwell
1f13545679
fp: put test name in window title, add run script
2008-09-12 10:28:36 +01:00
Keith Whitwell
af74abab6b
mesa: get fixed-function program generation working again
2008-09-12 10:04:56 +01:00
Keith Whitwell
52a9dfd4fe
use APP_CC, remove redundant target
2008-09-12 10:02:16 +01:00
Xiang, Haihao
b2e083eba2
i965: Add support for G41 chipset which is another 4 series.
2008-09-12 09:25:34 +08:00
Brian Paul
aa66f08a21
cell: initial support for fragment shader code generation.
...
TGSI shaders are translated into SPE instructions which are then sent to
the SPEs for execution. Only a few opcodes work, no swizzling yet, no
support for constants/immediates, etc.
2008-09-11 17:59:52 -06:00
Brian Paul
dbbbc33344
use APP_CC
2008-09-11 17:55:53 -06:00
Brian Paul
084ab37b7f
cell: fix tile twidding bug seen in the event of multiple expose events
2008-09-11 17:10:32 -06:00
Brian Paul
bc304bbd49
cell: minor improvements to fragment code-gen
2008-09-11 17:10:32 -06:00
Brian Paul
178bbaff80
gallium: add special cases in spe_load_float(), spe_load_int(), added spe_splat()
2008-09-11 17:10:32 -06:00
Brian Paul
be925ab6e8
cell: put cell_ prefix on gen_fragment_function()
2008-09-11 17:10:32 -06:00
Keith Whitwell
fd0ee68305
trivial: remove stray merge conflict
2008-09-11 20:11:11 +01:00
Keith Whitwell
b66ee9e32f
st: adapt to new framebuffer struct, with one FIXME outstanding
2008-09-11 20:09:14 +01:00
Keith Whitwell
7ee599d30b
mesa: update PointParameter usage
2008-09-11 20:08:07 +01:00
Keith Whitwell
a90cae8a17
demos: fix LIBS ref in makefile
2008-09-11 20:07:41 +01:00
Brian Paul
fbf1586b36
gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/
2008-09-11 12:01:19 -06:00