Eric Anholt
46f5579826
intel: Remove leftover symlinks from DRI1 removal.
2010-01-07 11:21:29 -08:00
Brian Paul
7335d8006f
tgsi: add assertion to verify legal register file
...
This assertion fails with piglit glsl-vs-mov-after-deref test
because we're double freeing the memory. It seems there's some
confusion between what's placed in the hash table and what isn't.
2010-01-07 11:18:12 -07:00
Brian Paul
0c6794c46f
tgsi: fix incorrectly placed braces, add more braces to be clear
2010-01-07 10:57:33 -07:00
Brian Paul
16b5d2eba3
tgsi: move register checking code before check_register_usage()
...
check_register_usage() frees the scan_register *reg data so we were
reading from freed memory. This fixes a valgrind error found with
piglit's glsl-vs-mov-after-deref test.
2010-01-07 10:55:00 -07:00
Brian Paul
b841c2756e
swrast: fix color masking for glAccum(GL_RETURN)
...
Should fix fdo bug 25837.
2010-01-07 09:43:11 -07:00
Brian Paul
fa47eff55b
i810: use ColorMask[0]
2010-01-07 09:40:08 -07:00
Brian Paul
7c55fe9bfd
progs/fp: increase buffer size to read larger shaders
2010-01-07 09:20:48 -07:00
Brian Paul
c642c246d7
gallium/util: remove useless assertions
2010-01-07 09:20:48 -07:00
Brian Paul
c3e846af30
gallium/util: update comment: s/src_pitch/src_stride
2010-01-07 09:20:48 -07:00
Brian Paul
f39bae8e68
gallium/util: make src_y unsigned like the other x/y params
2010-01-07 09:20:48 -07:00
José Fonseca
8081c1eaa5
llvmpipe: Remove TGSI sampler pointers from JIT context too.
2010-01-07 16:16:45 +00:00
José Fonseca
12c6b871a3
llvmpipe: Remove more loose ends of TGSI exec sampling.
2010-01-07 16:10:04 +00:00
Kristian Høgsberg
27fe7a7303
configure: Fix matching for dri driver to actually work
...
The shell case statement obviously only evaluates the first matching
block. Thanks to Julien Cristau for spotting the bug.
2010-01-07 10:44:44 -05:00
Brian Paul
c9a210f158
makefile: added src/glsl/Makefile.template to tarball list
2010-01-07 08:43:24 -07:00
Keith Whitwell
150108024d
i965g: updates for draw retval
2010-01-07 15:37:41 +00:00
José Fonseca
7bd7e2da75
llvmpipe: Axe texture sampling code inherited from softpipe.
...
Was used only as a reference, since texture sampling is now code generated.
Already axed in the lp-binning branch too.
This fixes the llvmpipe build after recent sampling changes.
2010-01-07 15:35:24 +00:00
Brian Paul
2b7a4b2c0e
progs/fp: remove invalid tri-inv.c test
...
INV is not a valid instruction.
2010-01-07 08:22:39 -07:00
Michal Krol
4440428faa
gallium: Fix texture sampling with explicit LOD in softpipe.
2010-01-07 13:48:41 +01:00
Michal Krol
4bfe1c955f
gallium: Pass per-element (not per-quad) LOD bias values down to texture sampler.
2010-01-07 12:48:10 +01:00
Michal Krol
e313dabdc7
tgsi: Cleanup exec_tex().
2010-01-07 11:10:24 +01:00
Michal Krol
8d38ef4551
svga: Fix fs key size computation and key comparison.
...
This also allows us to have texture_target
back as a bitfield and save us a few bytes.
2010-01-07 07:58:07 +01:00
Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
2010-01-06 21:39:44 -08:00
Jakob Bornecrantz
61f7252448
Revert "pipebuffer: Multi-threading fixes for fencing."
...
This reverts commit 5b64d94390 .
2010-01-07 05:14:20 +01:00
Thomas Hellstrom
cb51f02678
Revert "st/dri: no need to request fake front buffer, only handle it being returned"
...
This reverts commit 1336989ec6 .
The commit breaks frontbuffer rendering and the possibility to do
on-demand frontbuffer requests on all Xservers prior to 1.7.
The commit should be conditioned on a dri2 version check.
I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian.
To be able to check the version from within the state tracker, we will
probably need another dri2 extension function that returns the server
version. The protocol has support for it.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-11 21:36:51 +01:00
Thomas Hellstrom
01eff0e6d2
util: Build u_bitmask.o when using make.
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-11 21:36:51 +01:00
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
2010-01-11 00:24:39 -08:00
Dave Airlie
efaba97eaa
radeon: fix prediction for r100 inline vert/elt emits.
...
On r100 we emit the indices inline so we need to account
for that in the emission size.
2010-01-11 13:27:20 +10:00
Dave Airlie
1294df9ca4
radeon: fix bug in realloc code.
...
This bug was fixed in libdrm ages ago, port to non-kms
2010-01-11 13:27:14 +10:00
Vinson Lee
4fe51c7447
glu/sgi: Initialize members of class Mesher.
2010-01-10 16:09:41 -08:00
Vinson Lee
1111b38a1b
glu/sgi: Initialize members of class Slicer.
2010-01-10 15:55:52 -08:00
Vinson Lee
b9bd96608c
glu/sgi: Include missing header file.
2010-01-10 03:03:14 -08:00
Vinson Lee
199dedd6dd
progs/demos: Check upper bounds of input in manywin.c.
2010-01-10 01:57:13 -08:00
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
2010-01-10 00:40:46 -08:00
Vinson Lee
9e98c1fbf6
glu/sgi: Initialize members of class Renderhints.
2010-01-10 00:14:33 -08:00
Vinson Lee
a5815c36f7
glu/sgi: Initialize members of class StoredVertex.
2010-01-09 23:55:05 -08:00
Vinson Lee
61afd1158f
glu/sgi: Include missing header file.
2010-01-09 23:53:54 -08:00
Vinson Lee
f8737bda37
glu/sgi: Initialize member of class O_pwlcurve.
2010-01-09 23:25:49 -08:00
Vinson Lee
683e3cb8db
progs/tests: Silence 'missing initializer' warnings.
2010-01-08 23:08:57 -08:00
Vinson Lee
223c8482ca
progs/glsl: Silence uninitialized variable warning.
2010-01-08 22:10:52 -08:00
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
2010-01-08 22:02:49 -08:00
Vinson Lee
4775723d2f
r300g: Silence unused variable warnings.
2010-01-08 21:43:54 -08:00
Vinson Lee
20d6360db7
tgsi: Silence uninitialized variable warnings.
2010-01-08 20:24:05 -08:00
Vinson Lee
45ac10fe6a
progs/xdemos: Check for string overflow.
2010-01-06 18:19:46 -08:00
Vinson Lee
25ffd76278
progs/xdemos: Check for string overflow.
2010-01-06 18:08:41 -08:00
Vinson Lee
468f270f3f
svga: Silence uninitialized variable warning.
2010-01-06 17:51:08 -08:00
Brian Paul
ef7eb62423
meta: remove F suffix from _mesa_Ortho() params
...
_mesa_Ortho() takes GLdoubles.
2010-01-06 18:22:06 -07:00
Brian Paul
73bd400016
docs: document a mipmap generation bug fix
2010-01-06 18:20:17 -07:00
Brian Paul
cb3cb96fbd
meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmap
...
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Brian Paul
06970b2ccb
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap
...
This fixes mipmap levels being clipped to the last viewport.
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Andre Maasikas
49653c01e8
r600: adjust after radeon mipmap changes in 7118db8700
...
R600_OUT_BATCH_RELOC doesn't really use offset so set it
in TEX_RESOURCE2
+ typo fix
2010-01-06 19:52:24 -05:00