Brian Paul
e4b7d9ea35
i965: fix invalid assertion in emit_xpd(), again
2010-01-06 07:18:09 -07:00
José Fonseca
5b64d94390
pipebuffer: Multi-threading fixes for fencing.
...
I had this patch on my hard drive for long time. It doesn't fully
address SVGA multi-threading issues, but causes no regressions, so decided
to commit while it still applies cleanly.
Attention: merging this into master will cause issues due to recent
changes in reference counting to fix strict aliasing rules violation.
2010-01-06 12:18:16 +00:00
Brian Paul
e555146fa3
i965: fix invalid assertion in emit_xpd()
...
Invalid assertion found by Roel Kluin <roel.kluin@gmail.com>
2010-01-05 15:53:05 -07:00
Roel Kluin
766f3ccbda
tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()
...
This can never be true.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
2010-01-05 14:42:28 -07:00
Brian Paul
9f544394c1
st/mesa: fix broken translation of negative register indexes
...
A src register's index can be negative if we're doing indirect
addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3]
This fixes the piglit vp-arl-neg-array.vpfp test.
Before this change we were going out of bounds of the t->constants[]
array and getting garbage that later triggered an assertion.
2010-01-05 11:44:19 -07:00
Brian Paul
487a14b476
ARB prog parser: regenerated parser file
2010-01-05 11:44:19 -07:00
Brian Paul
f0f68b1e4c
ARB prog parser: fix parameter binding type
...
References to program local and enviroment parameters are put into the
unified program parameters list as PROGRAM_STATE_VAR entries which point
into the local or environment arrays. So the param_binding_type field
should be PROGRAM_STATE_VAR.
This fixes the piglit vpfp-generic vp-arl-env-array.vpfp and
vp-arl-local-array.vpfp test failures.
2010-01-05 11:44:19 -07:00
Brian Paul
e3514b7338
ARB prog parser: regenerated parser files
2010-01-05 11:44:19 -07:00
Brian Paul
7c6ae4c6c8
ARB prog parser: add allowSwizzle param to initialize_symbol_from_const()
...
We need to disable constant consolidation when building an array of
constants which might be indexed indirectly.
Fixes regression in piglit vpfp-generic vp-arl-constant-array.vpfp
test caused by earlier constant consolidation patch.
2010-01-05 11:44:19 -07:00
Brian Paul
37f6929d29
mesa: whitespace changes and comments
2010-01-05 11:44:19 -07:00
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
Brian Paul
01bf004d8b
docs: initial release notes for 7.7.1
2010-01-04 14:01:18 -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
8a29e3f8e8
progs/egl: Silence uninitialized variable warnings.
2010-01-03 21:39:20 -08:00
Vinson Lee
3ea5a95078
progs/samples: Silence compiler warnings.
2010-01-03 21:29:33 -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
1da47ac20e
progs/vp: Ensure null-terminated byte string.
2010-01-03 02:38:22 -08:00
Vinson Lee
c9c6e9a39e
progs/tests: Silence uninitialized variable warning.
2010-01-02 21:58:40 -08:00
Vinson Lee
32d18924df
progs/tests: Silence warn_unused_result warning.
2010-01-02 21:52:51 -08: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