Commit graph

25861 commits

Author SHA1 Message Date
Eric Anholt
a47858e45e i965: Add support for 2 threads in the GS.
This brings noop vertex shader throughput from 6.8M verts/sec to 10.4M
verts/sec using GL_QUADs on my GM45.
2009-09-04 14:20:09 -07:00
Eric Anholt
8f7f22ca1d i965: Add support for KIL_NV in brw_wm_emit.c
I ran into this lack of support when writing a shader that always discarded
the fragments.
2009-09-04 14:20:08 -07:00
José Fonseca
9216b4e7be scons: Used wrong exception class. 2009-09-04 19:38:35 +01:00
José Fonseca
b9f56078cd scons: Don't use scons internal functions. 2009-09-04 19:34:11 +01:00
Alex Deucher
b13a553dd4 r600: fix Elts handling
Patch from taiu on IRC.  fixes bug 23585
2009-09-04 14:07:53 -04:00
Brian Paul
592a6642fc ARB prog: replace 'unsigned' with 'gl_state_index'
Fixes compilation warnings with MSVC.
2009-09-04 09:17:59 -06:00
Brian Paul
3fedd08779 ARB prog: rename POINT, SIZE to POINT_TOK, SIZE_TOK
Fixes symbol collisions with typedefs in Microsoft headers.
Perhaps we should prefix/suffix all the lexer tokens to avoid this.
2009-09-04 09:17:59 -06:00
Brian Paul
40636fe6f2 gallium/xlib: minor clean-ups 2009-09-04 09:17:59 -06:00
Jakob Bornecrantz
65c79c9cbd i915g: Fix warnings in scons build by using byte pointers
scons build complained about void pointer math
2009-09-04 10:55:53 +01:00
Michal Krol
ce39cd6696 tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP. 2009-09-04 09:31:22 +02:00
Brian Paul
f6dff92c9b docs: 7.5.1 md5 sums 2009-09-03 16:07:46 -06:00
Brian Paul
5d56e31e1d docs: point to fd.o for downloads instead of SourceForge 2009-09-03 16:07:46 -06:00
Brian Paul
7ec865202e gallium/xlib: silence unitialized var warning 2009-09-03 16:07:46 -06:00
Brian Paul
9e711b6865 gallium/xlib: silence uninitialized var warning 2009-09-03 16:07:46 -06:00
Brian Paul
5a8e1ddf19 st/mesa: silence uninitialized var warnings 2009-09-03 16:07:46 -06:00
Brian Paul
f1ae72e9f2 docs: prep for 7.5.1 release 2009-09-03 16:07:46 -06:00
Brian Paul
a04e83ba15 docs: added news entry for 7.5.1 2009-09-03 16:07:46 -06:00
Brian Paul
4aee0dbf81 docs: update precompiled libs info 2009-09-03 16:07:46 -06:00
Brian Paul
7e2f01e0f1 docs: move SGI GLU link 2009-09-03 16:07:46 -06:00
Brian Paul
beb05393c8 st/mesa: fix glCopyPixels(GL_STENCIL_INDEX) inverted position
If the renderbuffer orientation is Y=0=TOP we need to invert the dstY
position.
2009-09-03 16:07:46 -06:00
Keith Whitwell
8fc945cd84 st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardware
State tracker currently backs GL_RGB textures with RGBA almost always.
This means we need to maintain A==1 in these textures to give correct GL_RGB
sampling results.

This change offloads the RGBA->RGB copy to hardware using the new writemask
version of u_blit_pixels.

More src/dstLogical/dstActual triples could be shifted to hardware by
this technique in future patches.
2009-09-03 16:07:45 -06:00
Keith Whitwell
862724d3c2 util: add version of u_blit_pixels which takes a writemask
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03 16:07:45 -06:00
Brian Paul
375a6b4c4a progs/tests: re-enable exit() call
See bug 21267.
2009-09-03 16:07:45 -06:00
Brian Paul
3b96db337d docs/: document cross-compile fix 2009-09-03 16:07:45 -06:00
Alex Deucher
6a97cca081 r600: rework cb/db setup
Setup the regs when we emit rather than during state setup.
In certain cases a proper CB target was never emitted.
This fixes bug 23658.
2009-09-03 18:04:47 -04:00
Zack Rusin
323440b3e2 st/xorg: add linear and radial gradient acceleration 2009-09-03 16:52:04 -04:00
Zack Rusin
007a843991 st/xorg: radial gradient shader 2009-09-03 16:52:04 -04:00
Zack Rusin
5571c4fe36 st/xorg: linear gradient shader 2009-09-03 16:52:04 -04:00
Alex Deucher
8c1d85cebe r600: make sure the active vertex shader bo is re-added to persistent list. 2009-09-03 15:23:18 -04:00
Brian Paul
dc60d0db52 glapi: fix incorrect/missing return types for glFenceSync(), glClientWaitSync() 2009-09-03 13:02:41 -06:00
Brian Paul
e059885ce3 mesa: rename gl_sync_object::Status to StatusFlag
There's a symbol collision with X11/Xlib.h #define Status int
in the Mesa xlib code.  This seems the simpliest way to work around this.
2009-09-03 12:47:25 -06:00
Ian Romanick
446a71d1f8 docs: Document new extension support for 7.6 release. 2009-09-03 11:22:47 -07:00
Eric Anholt
5e448a8d4d Add ARB_sync to the xorg sw dri driver. 2009-09-03 11:22:47 -07:00
Eric Anholt
d5ea2dce93 savage: Fix driver build post-ARB_sync.
Like s3v, clean up absurd use of Xlib in the driver, avoiding namespace
pollution.
2009-09-03 11:22:47 -07:00
Eric Anholt
19420f02d4 s3v: Fix driver build for ARB_sync.
This driver was including Xlibint.h to get the CARD32 typedef to use for
32-bit unsigned integers, which #defined Status to something.  CARD32 isn't
actually a 32-bit unsigned integer, so replacing with uint32_t usage should
fix bugs on 64-bit along with the build.
2009-09-03 11:22:47 -07:00
Eric Anholt
afd6141934 intel: Add support for ARB_sync.
We currently weasel out of supporting the timeout parameter, but otherwise
this extension looks ready, and should make the common case happy.
2009-09-03 11:22:47 -07:00
Ian Romanick
aee282faa7 ARB sync / swrast: Use GL_ARB_sync_functions instead of GL_ARB_sync. Oops. 2009-09-03 11:22:47 -07:00
Ian Romanick
0342dce226 Don't dereference function pointers in calls.
I'm apparently alone in prefering this calling convention, so I'll be
a team player. :p  Based on review comments by Brian Paul and Eric
Anholt.
2009-09-03 11:22:47 -07:00
Ian Romanick
18d3409571 Add syncobj.c to SConscript 2009-09-03 11:22:47 -07:00
Ian Romanick
6af24b6b03 Whitespace and include file clean-up.
Based on review comments by Brian Paul.
2009-09-03 11:22:47 -07:00
Ian Romanick
0f8fdd8198 Use MIN2 instead of open-coded version
Based on review comments by Brian Paul.
2009-09-03 11:22:47 -07:00
Ian Romanick
16b393d059 ARB sync: Fix delete behavior and context destruction behavior
I believe this resolves the outstanding issues WRT sync object
deletetion.  I have also added a large comment at the top of syncobj.c
describing the expected memory management behavior.  I'm still a
little uncertain about the locking on ctx->Shared.
2009-09-03 11:22:46 -07:00
Ian Romanick
f5a22721c5 Add dummy list node type 'struct simple_node' 2009-09-03 11:22:46 -07:00
Ian Romanick
f37070bab6 ARB sync: Add support for GL_ARB_sync to swrast
This isn't quite right yet.  The delete behavior and the context
clean-up needs some work.
2009-09-03 11:22:46 -07:00
Ian Romanick
96bdd993ec Eliminate trailing whitespace in extension_helper.c 2009-09-03 11:22:46 -07:00
Ian Romanick
064913430d ARB sync: Regenerate files from previous commit 2009-09-03 11:22:46 -07:00
Ian Romanick
10a09e49fc ARB sync: Add base infrastructure for GL_ARB_sync 2009-09-03 11:22:45 -07:00
Ian Romanick
10067e4641 ARB sync: Add infrastructure for glGetInteger64v 2009-09-03 11:22:45 -07:00
Brian Paul
d75a99edd6 mesa: fix typos in separable filter functions 2009-09-03 12:10:53 -06:00
Brian Paul
7a7d5879e2 mesa: compute tex env program key size based on nr_enabled_units
When no textures are enabled, the key size is 4 bytes.  If unit[0] is
enabled, the key size is 16 bytes.

Inspired by a patch from Chris Wilson.
2009-09-03 11:48:19 -06:00