Brian Paul
f27e39aa4e
mesa: change constant search behaviour in _mesa_add_unnamed_constant()
...
Only search for an existing, matching constant if swizzleOut is non-null.
We need to be able to disable constant consolidation when building an
array of constants which will be indexed indirectly.
2010-01-05 11:44:19 -07:00
José Fonseca
38d8b18003
svga: Remove stale references to delete shader results.
...
To ensure that a new result that happens to have the same address
of the old one will be detected as a change.
2010-01-05 17:56:26 +00:00
José Fonseca
8ebef37c7b
svga: Rebind shaders when tokens change.
...
Even shader ID doesn't change. Otherwise the token change is not
effective.
This reverts regression from commit
cdb445f3a9 . Regression could be seen in
Quake3's loading screen -- the upper right corner of the screen would
be black.
2010-01-05 17:32:53 +00:00
Brian Paul
ef1b942691
st/mesa: added PROGRAM_LOCAL_PARAM case in src_register()
...
Fixes piglit vpfp-generic arl.vpfp failure when using gallium.
2010-01-05 09:14:50 -07:00
Brian Paul
bd96b51303
mesa: bump version to 7.7.1-DEVEL
2010-01-05 07:59:29 -07:00
Brian Paul
6d84580858
mesa: add missing _mesa_lock_texture() call
2010-01-04 19:05:31 -07:00
Eric Anholt
b434a816d7
i915: Use _MaxLevel on principle in texture setup.
...
It was OK before because we proceed to clamp the value to hardware
limits, but given that other use of MaxLevel has been a trap, let's
avoid it.
2010-01-04 14:15:12 -08:00
Eric Anholt
19a26dfc47
intel: Fix CopyTexImage from tiled mipmap levels > 0.
...
Fixes piglit fbo-copyteximage.
2010-01-04 14:15:12 -08:00
Eric Anholt
63610fae4f
i965: Fix the surface offset calculation for tiled buffers.
...
If we ever had a non-tile-aligned tiled renderbuffer, the math was all
off. Use the existing x,y coordinates instead of trying to
reconstruct them from an incorrectly-calculated offset value.
2010-01-04 14:15:12 -08:00
Andre Maasikas
a160d1c27d
r600: support vertex_array_bgra
...
Use vertex program key mechanism and swizzle during vertex fetch - is there
a better way?
2010-01-04 16:16:43 -05:00
Brian Paul
82421c549f
mesa: added GL_DU8DV8_ATI in extract_float_rgba()
...
Fixes warning seen with Shadowgrounds. See bug 24016.
2010-01-04 14:01:19 -07:00
Vinson Lee
6130bb1391
mesa: Prevent possible array out-of-bounds access by _mesa_light.
2010-01-04 12:06:04 -08:00
Brian Paul
e661bf5018
mesa: regenerated enums.c file
2010-01-04 11:30:03 -07:00
Brian Paul
707faf65c8
glapi: comment-out TIMEOUT_IGNORED
...
This is not really a GLenum value.
2010-01-04 11:30:03 -07:00
Brian Paul
f52dd2ab33
glsl: use varName variable in _slang_gen_assignment()
2010-01-04 11:30:03 -07:00
Michel Dänzer
1e414df894
st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.
...
This was already done in st_TexImage() but was missed between incremental
changes to st_TexSubimage().
2010-01-04 16:54:29 +01:00
Michel Dänzer
acd1451393
svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.
2010-01-04 13:05:43 +01:00
Michel Dänzer
c114f000df
st/xorg: Proper calculation of screen pitch.
2010-01-04 13:04:05 +01:00
Michel Dänzer
8282185752
vmware/xorg: Fix SCons build.
2010-01-04 13:02:40 +01:00
Vinson Lee
d1e2fc19cc
r300: Use C-style comments.
2010-01-03 23:33:32 -08:00
Vinson Lee
b14cbfaebc
r300: Silence 'mixed declarations and code' warnings.
2010-01-03 20:51:23 -08:00
Vinson Lee
0214b7b3c1
r300: Silence 'mixed declarations and code' warning.
2010-01-03 20:16:59 -08:00
Vinson Lee
58531029e6
r300: Silence 'mixed declarations and code' warning.
2010-01-03 18:32:07 -08:00
Vinson Lee
3e196f433d
r300g: Silence 'mixed declarations and code' warning.
2010-01-03 18:05:12 -08:00
Vinson Lee
fe3ea299bf
r300g: Remove comma at end of enumerator list.
2010-01-03 15:07:35 -08:00
Vinson Lee
0bfc579bd4
llvmpipe: Remove comma at end of enumerator list.
2010-01-03 14:42:36 -08:00
José Fonseca
eb5d9e6f70
mesa: Cope with the degenerate case of zero length ranges.
...
Fixes assertion failures on glean's bufferObject test.
2010-01-03 20:00:19 +00:00
José Fonseca
f3739bdb60
gdi: Don't generate import libraries for opengl32.dll.
...
Both MinGW and MSVC include opengl32 import libraries, and its safer to
always use those.
2010-01-03 20:00:19 +00:00
Jeremy Huddleston
287cbba9b7
apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSX
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org >
2010-01-03 08:58:13 -05:00
Jeremy Huddleston
32305e3a9f
glxcmds: Fix comment about __DRI_ALLOCATE
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org >
2010-01-03 08:58:13 -05:00
Vinson Lee
1d95544446
trace: Remove comma at end of enumerator list.
2010-01-03 03:08:40 -08:00
José Fonseca
66c1de77ed
rtasm: Play nicely with Windows's Data Execution Prevention.
2010-01-03 11:03:13 +00:00
Vinson Lee
d27effbfd8
i810: Fix include recursion.
2010-01-02 21:05:06 -08:00
Vinson Lee
94c5faad26
sis: ifdef out unused variable.
...
Silences GCC warning.
2010-01-02 20:47:15 -08:00
Vinson Lee
d2758f3b74
st/xorg: Ensure null-terminated byte string.
2010-01-02 20:39:04 -08:00
Vinson Lee
be6fb5c083
r300g: Use C-style comments.
2010-01-02 20:17:43 -08:00
Vinson Lee
fe27b07b0f
glu/sgi: Initialize members of struct O_curve.
2010-01-02 20:04:00 -08:00
José Fonseca
cdb445f3a9
svga: Use a shader id as low as possible.
2010-01-03 00:50:13 +00:00
José Fonseca
904917dcc6
util: Minor enhancements/corrections to the bitmask logic.
2010-01-03 00:50:13 +00:00
José Fonseca
da6a80301b
svga: Rename error labels.
...
Make it easier to insert/remove error branches.
2010-01-03 00:50:12 +00:00
Vinson Lee
386f91eec3
glu/sgi: Initialize members of struct O_surface.
2010-01-02 15:46:11 -08:00
Vinson Lee
ba9dc26eec
glu/sgi: Initialize member of struct O_trim.
2010-01-02 15:29:25 -08:00
Vinson Lee
37e5626111
glu/sgi: Initialize member of struct Property.
2010-01-01 23:01:03 -08:00
Vinson Lee
2c64e4c50e
glu/sgi: Initialize member of struct Dlnode.
2010-01-01 17:25:16 -08:00
Vinson Lee
64a1961011
glu/sgi: Initialize members of struct O_nurbscurve.
2010-01-01 17:19:27 -08:00
Vinson Lee
fab161f287
x86: Silence printf format warnings.
2010-01-01 17:06:16 -08:00
Vinson Lee
3ae37da611
llvmpipe: Silence uninitialized variable warning.
2010-01-01 16:03:53 -08:00
Vinson Lee
fd237a879f
llvmpipe: Use C-style comment.
2010-01-01 15:38:19 -08:00
Vinson Lee
dac82c378a
gallium/util: Silence format warnings.
2010-01-01 15:32:52 -08:00
Vinson Lee
88bd32383a
ARB prog parser: Silence unused variable warnings.
2010-01-01 15:12:58 -08:00