Commit graph

26036 commits

Author SHA1 Message Date
Alan Hourihane
a24631bcd7 Fix memory leak. 2009-11-20 18:08:29 +00:00
Richard Li
08e5d1ecad r600 : eliminate Wondows line ending for test code. 2009-11-20 11:03:09 -05:00
Michal Krol
b89cd8afc5 glsl/pp: Expand unknown identifiers to 0 in if/elif expressions. 2009-11-20 08:59:50 +01:00
Keith Whitwell
95d7aca4b9 i965g: fix typo converting wm src regs 2009-11-19 20:40:41 -08:00
Keith Whitwell
9507a6c206 i965g: fragment shader immediates working 2009-11-19 20:02:42 -08:00
Keith Whitwell
63b0af0775 i965g: first pass at vs immediates in curbe 2009-11-19 19:51:14 -08:00
Keith Whitwell
d2f4c80c8b i965g: get linear vs perspective interpolation working again 2009-11-19 19:41:25 -08:00
Keith Whitwell
4fb77ef840 i965g: include interpolation info in fs signature 2009-11-19 19:31:32 -08:00
Keith Whitwell
34a01929d5 i965g: special case setup when fs has no inputs 2009-11-19 19:29:33 -08:00
Keith Whitwell
47cef2bb8f i965g: add new state flag tracking fs signature changes 2009-11-19 18:55:18 -08:00
Keith Whitwell
c58e20fbbb i965g: fix typo in previous commit 2009-11-19 18:47:07 -08:00
Dave Airlie
3f2c77659c Merge remote branch 'origin/mesa_7_7_branch' 2009-11-20 11:48:10 +10:00
Dave Airlie
f8ea531820 r100: fix texture_from_pixmap and compiz.
r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-20 11:47:00 +10:00
Keith Whitwell
8db59a1fa3 i965g: setup nr_attrs should track nr fragment shader inputs
This would be equivalent to taking the nr outputs of the vp varient
2009-11-19 16:14:44 -08:00
Keith Whitwell
1b9eda4c74 i965g: get fragment constants sort-of working 2009-11-19 16:09:39 -08:00
Keith Whitwell
9e4f3eaf66 i965g: make the load-before-use vs immediate path work 2009-11-19 15:04:00 -08:00
Keith Whitwell
25cbf9b4da i965g: fix initialization of texture width/height/depth arrays
Will remove these arrays in another branch - they're completely redundant.
2009-11-19 14:47:24 -08:00
Richard Li
b09e74901a r600 : Clean up a bit test code mess. 2009-11-19 17:41:10 -05:00
Vinson Lee
8b808d50e2 st/xorg: Fix infinite loop in copy_packed_data. 2009-11-19 14:40:00 -08:00
Keith Whitwell
683e35f726 gallium: don't use arrays for texture width,height,depth 2009-11-19 14:39:34 -08:00
Brian Paul
4e6c79ac16 st/mesa: replace st_flush() with pipe->flush()
We only need to flush the gallium driver in this case.
Fixes a recursive state validation bug.
2009-11-19 15:18:23 -07:00
Brian Paul
2198497203 vbo: added recursion check in vbo_exec_FlushVertices() 2009-11-19 15:17:56 -07:00
Richard Li
48dfd3938e r600 : change shader pop method for now. 2009-11-19 16:55:16 -05:00
Brian Paul
dc41d62250 st/mesa: get rid of compressed_num_bytes() code 2009-11-19 14:35:38 -07:00
Brian Paul
92863109af st/mesa: remove is_compressed_mesa_format() 2009-11-19 14:17:31 -07:00
Brian Paul
273f4d6b5f st/mesa: remove pointless assertion 2009-11-19 14:17:31 -07:00
Brian Paul
3f40166500 softpipe: whitespace/indentation fixes 2009-11-19 14:17:31 -07:00
Richard Li
49b3f4a6bc Merge branch 'master' of ssh://richardradeon@git.freedesktop.org/git/mesa/mesa 2009-11-19 16:17:13 -05:00
Richard Li
6345a7ba44 r600 : check in shader code test enable flag: if flag
R600_ENABLE_GLSL_TEST defined, IL shader code will goto r600 assembler.
The test base is /mesa/progs/glsl/brick, and changes
shader code in CH06-brick.frag/vert to test different logic op
combination. (if,else,while,function,...). The stack depth code is not
in yet, so it is hard coded now. So complex code would not run (such as
things like 8 loops embeded loop in loop).
2009-11-19 16:05:43 -05:00
José Fonseca
90e69c81e4 pb: Make fenced buffers threadsafe. 2009-11-19 19:46:21 +00:00
Brian Paul
367cfca808 softpipe: add missing check in softpipe_is_texture_referenced()
Check if the named texture is referenced by the texture cache.
2009-11-19 11:39:24 -07:00
Michel Dänzer
31ea323b4d st/xorg: Replace compile-time acceleration switch with Option "2DAccel".
This option can be used to disable 2D acceleration. DRI2 and XVideo blits will
still be accelerated, at least to some degree even with compositing.
2009-11-19 17:52:55 +01:00
Michel Dänzer
10c67f9381 st/xorg: Miscellaneous XVideo fixes.
* Make sure the destination pixmap has a texture to render into.
* Fix damage reporting so the EXA migration code can do the right thing.
* Fix destination coordinates for redirected windows.
2009-11-19 17:47:21 +01:00
Michel Dänzer
34145fc3b7 st/xorg: Try harder to ensure a shared texture has valid contents right away. 2009-11-19 17:30:32 +01:00
Michel Dänzer
012d0193cc st/xorg: Don't complain about convolution filter being 'unknown'.
Also add a newline to the complaint so it'll be a little less annoying if we
actually encounter an unknown filter value again.
2009-11-19 17:25:05 +01:00
Tom Fogal
4e6e2462ea mesa: define 32bit byteswap for AIX.
Fixes `xlib' driver build on AIX.

Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-19 09:18:51 -07:00
Eric Anholt
827ba44f6e intel: Remove non-GEM support.
This really isn't supported at this point.  GEM's been in the kernel for
a year, and the fake bufmgr never really worked.
2009-11-19 11:47:22 +01:00
Eric Anholt
667760f53c intel: Remove dead intel_context members and move some packing around. 2009-11-19 11:47:21 +01:00
Eric Anholt
ee64347979 intel: Remove our special color packing macros and just use colormac.h. 2009-11-19 11:47:21 +01:00
Eric Anholt
c4b7c47fe3 intel: Pack colors for blit at blit time, rather than at ClearColor. 2009-11-19 11:47:21 +01:00
Eric Anholt
a376e5c482 intel: Consistently use no_batch_wrap in intel_context struct. 2009-11-19 11:47:21 +01:00
Eric Anholt
edd449fb97 i965: Pack brw_wm_fragment_program better. 2009-11-19 11:47:21 +01:00
Eric Anholt
15fa484f51 mesa: Remove gratuitous padding in prog_dst_register.
The padding was there to indicate the amount of space left from the
number of expected bytes in the struct minus allocated bits.  But
uint bitfields get packed so that they don't cross uint boundaries, and we
ended up allocating an extra dword to hold the pad field!
2009-11-19 11:47:21 +01:00
Eric Anholt
92d35b91f1 i965: Pack the brw_wm_prog_key better. 2009-11-19 11:47:21 +01:00
Eric Anholt
cc39fcad89 i915: Remove dead meta_draw_quad code. 2009-11-19 11:47:05 +01:00
Eric Anholt
37c79d4d76 tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG] 2009-11-19 11:47:05 +01:00
Eric Anholt
0a91878015 tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr. 2009-11-19 11:47:05 +01:00
Eric Anholt
fc9a2970dc tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr 2009-11-19 11:47:05 +01:00
Eric Anholt
165b860da6 tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS] 2009-11-19 11:47:05 +01:00
Eric Anholt
df582ca767 tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*] 2009-11-19 11:47:05 +01:00