Commit graph

22853 commits

Author SHA1 Message Date
Keith Whitwell
bd953e872f mesa: get another class of degenerate dlists working
Primitive begin in one dlist, end in another.
2008-09-15 13:49:04 +01:00
Keith Whitwell
a30d2c5727 add dlist-degenerate test case 2008-09-15 13:49:04 +01:00
Shane Blackett
641b80275b glut: s/glut_fbc.c/glut_fcb.c/ 2008-09-14 17:51:01 -06:00
Michal Krol
e852232ebf draw: Silence compiler warnings on Windows. 2008-09-14 19:04:53 +02:00
Brian Paul
777aca8fc9 cell: implement negation, absolute value and set-sign for src regs in code gen 2008-09-13 15:33:07 -06:00
Brian Paul
870afb8319 negate.txt - test negation of a src reg 2008-09-13 15:33:07 -06:00
Brian Paul
75c19eb5a1 gallium: add another value check to util_fast_pow()
Fixes glitches seen in morph3d demo.
2008-09-13 15:22:52 -06:00
Brian Paul
809e81c0b4 gallium: add another value check to util_fast_pow()
Fixes glitches seen in morph3d demo.
2008-09-13 15:21:58 -06:00
Jakub Bogusz
68a19e353e tdfx: fix crash and lack of visuals bug 2008-09-13 14:35:02 -06:00
Guillaume Melquiond
87ccb9504d i915: fix himask constant init for 64-bit build 2008-09-13 14:25:02 -06:00
Guillaume Melquiond
811d8b86eb glx: fix 64-bit datatype issue 2008-09-13 14:24:31 -06:00
Guillaume Melquiond
11a889db8f mesa: return after _mesa_problem() calls 2008-09-13 14:23:39 -06:00
Guillaume Melquiond
d2e0504d4e mesa: #include <stdio.h> 2008-09-13 14:23:14 -06:00
Guillaume Melquiond
5d4c8ec5e0 remove invalid XDestroyWindow() call 2008-09-13 14:22:15 -06:00
Guillaume Melquiond
ee2c8d6d3e silence warning 2008-09-13 14:21:50 -06:00
Guillaume Melquiond
6e51febc6b GLU: fix asst warnings 2008-09-13 14:20:14 -06:00
Younes Manton
3122f2bebe g3dvl: Fix field coded block copy. 2008-09-13 01:35:14 -04:00
Brian Paul
8d768c5101 cell: remove old disassembly/dump code; use dumper code in SPE emitter. 2008-09-12 21:54:25 -06:00
Brian Paul
8b5013d232 gallium: added print/dump code to SPE code emitter 2008-09-12 21:52:47 -06:00
Brian Paul
6f3eee9213 cell: implement DDX/DDY codegen (untested) 2008-09-12 21:09:10 -06:00
Brian Paul
31a112cad4 gallium: added spe_splat_word() 2008-09-12 21:08:01 -06:00
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
Younes Manton
56c22687e1 g3dvl: Use winsys_buffer_reference() instead of pipe_buffer_reference().
Old pipe_buffer_reference() renamed winsys_buffer_reference(), new
pipe_buffer_reference() expects a screen.
2008-09-12 15:10:43 -04:00
Younes Manton
f3f449a491 g3dvl: Implement surface sync functions. 2008-09-12 14:31:07 -04:00
Younes Manton
42a42dec3d g3dvl: Fullscreen fixes. Respect src & dst coords during scaling, clear FB. 2008-09-12 14:31:07 -04: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
Younes Manton
59f23e92e2 g3dvl: Update softlinks to nouveau winsys files, related fixes. 2008-09-12 13:22:43 -04: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
Younes Manton
ca0efa84ed g3dvl: Cleanup. 2008-09-12 12:33:52 -04:00
Younes Manton
6b50fd27b8 g3dvl: Clean up Makefile deps. 2008-09-12 12:33:52 -04: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