Nicolai Hähnle
f02f63997c
Merge branch 'master' into r300-compiler
...
Conflicts:
src/gallium/drivers/r300/r300_tgsi_to_rc.c
2009-09-06 13:15:04 +02:00
Nicolai Hähnle
e95e76e125
r300/compiler: New dataflow structures and passes
...
This replaces the old NQSSADCE code with the same functionality, but quite
different design. Instead of doing a single integerated pass, we now build
explicit data structures representing the dataflow.
This will enable analysis of flow control instruction, and could potentially
open an avenue for several dataflow based optimizations, such as peephole
optimization, fusing MUL+ADD to MAD, and so on.
2009-09-06 11:47:40 +02:00
Cooper Yuan
9778731732
r300g: update the value of register VAP_VF_MAX_VTX_INDX
...
according to actual vertex index count.
2009-09-05 20:58:32 +08:00
Cooper Yuan
80ea03bd17
r300g: update rs_block state after changing rasterizer
2009-09-05 14:26:39 +08:00
Cooper Yuan
8f990f928b
r300g: need to validate scissor and viewport state if bind new rasterizer
2009-09-05 10:26:39 +08:00
Alex Deucher
9ab19a3900
r600: add support for EXT_texture_sRGB
2009-09-04 18:46:16 -04:00
Alex Deucher
60ca65c016
r300: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Alex Deucher
8fd7586bcc
r600: Add support for GL_EXT_provoking_vertex
2009-09-04 18:46:15 -04:00
Eric Anholt
0612ad4f19
i965: Don't set the complete field when there is more VUE yet to come.
...
This should help with things like lightsmark, but I don't have a testcase
for this commit.
2009-09-04 14:20:09 -07:00
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