Vinson Lee
9446fd8f69
glapi: s/strcpy/strncpy/
2010-05-01 15:34:47 -07:00
Vinson Lee
70c7531051
llvmpipe: Remove unused variable.
2010-05-01 15:12:45 -07:00
Jakob Bornecrantz
cd502e5f5c
swrastg: Use trace
2010-05-01 11:31:59 +01:00
Christoph Bumiller
f5a4d70189
nv50: raise constant buffers size to maximum
...
Removed the param heaps, haven't been using them for a long
time now.
2010-04-30 22:57:23 +02:00
Christoph Bumiller
75ee309ca9
nv50: relax restriction on surface_copy format equality a bit
2010-04-30 22:50:42 +02:00
Christoph Bumiller
6df1e5c4aa
nv50: don't segfault on OPCODE_END for empty programs
2010-04-30 22:50:31 +02:00
Brian Paul
d225221e70
llvmpipe: fix out-of-bounds texture sampling
...
If we're using a wrap mode in which border color sampling is possible
it means that texcoords may be outside of the texture image bounds.
Fetching the texel may result in a segfault.
Use the 'use_border' variable to catch such texcoords and replace
the texel offset with zero (which will be in bounds).
Fixes segfault in Lightsmark demo, fd.o bug 27877.
2010-04-30 13:59:07 -06:00
Brian Paul
3a757b722d
llvmpipe: added lp_build_sample_nop() for debugging
2010-04-30 13:59:07 -06:00
Roland Scheidegger
7662e3519b
Merge commit 'origin/master' into gallium-msaa
2010-04-30 15:27:13 +02:00
Brian Paul
7c769bef05
st/mesa: remove unused/disabled code
2010-04-29 15:50:30 -06:00
Brian Paul
421e9aa71c
mesa: added _mesa_print_framebuffer() for debugging
2010-04-29 15:50:30 -06:00
Eric Anholt
ee29b86129
i965: Reject shaders with uninlined function calls instead of hanging.
...
Most of the failure from using uninlined function calls ends up being
just bad rendering, but nested function calls in the VS currently hang
the GPU, so reject them and explain why.
2010-04-29 13:37:27 -07:00
Eric Anholt
07a248a366
mesa: Don't overwrite a driver's shader infolog with generic failure message.
2010-04-29 13:37:27 -07:00
Jakob Bornecrantz
f7cf8b4658
util: Update caps after helpfull input
...
In no particular order:
* Make list const
* Add function comments
* Clearly state that demo lists are not complete
* Fix whitespace
* Use __FUNCTION__ instead of __func__
* Add unimplemented check which always fail
Thanks Brian and Keith.
2010-04-29 17:59:47 +01:00
Jakob Bornecrantz
110a956a64
util: Add small caps checker helper
2010-04-29 17:00:21 +01:00
Jakob Bornecrantz
3865e3abd4
util: Format error format string as the rest of the pipe formats
2010-04-29 17:00:21 +01:00
Jakob Bornecrantz
c4e89d130f
softpipe & llvmpipe: Enable SM3 cap
2010-04-29 17:00:21 +01:00
Zack Rusin
b7618c89b1
draw llvm: stay in bounds even if fetch_count % 4 != 0
...
if fetch_count % 4 != 0 then on the last iteration we fetch garbage.
this patch makes sure we stay within bounds
2010-04-29 11:53:32 -04:00
Brian Paul
4ccee74725
cso: remove commented-out code, update function docs
2010-04-29 09:39:17 -06:00
Brian Paul
60a6bfefd1
gallivm: add some assertions in special-case sampler code
2010-04-29 09:39:17 -06:00
Eric Anholt
7d8f0fc282
i965: Fix cube map layouts on Ironlake.
...
We were doubling up the offsets for the mipmap levels for CPU access.
Instead of reimplementing i945_miptree_layout_2d with 6 cube images
separated by qpitch, share that function and provide the level offsets
later.
Fixes piglit cubemap and fbo-cubemap.
2010-04-29 08:34:15 -07:00
Eric Anholt
d05c35914d
i965: Implement VS MAX in a more obvious way.
...
This should be functionally equivalent, with the possible exception of
NaN handling.
2010-04-29 08:34:14 -07:00
Eric Anholt
084d8fdd36
i965: Use immediate float operands for some VS instructions.
...
We could use this to reduce constant register pressure, but for now it
makes the resulting program assembly much more readable.
2010-04-29 08:34:14 -07:00
Brian Paul
ba6d8448e1
llvmpipe: fix texture/display target memory leak
2010-04-29 09:10:05 -06:00
Jakob Bornecrantz
366798ac6f
st/xorg: Try hard to not touch hardware after dropping the master
2010-04-29 14:27:35 +01:00
Jakob Bornecrantz
d8f09ddf1e
st/xorg: Remove save and restore hw state
2010-04-29 14:27:35 +01:00
Jakob Bornecrantz
71d3961a47
st/xorg: Get new connection status from kernel
2010-04-29 14:27:34 +01:00
Chia-I Wu
bc73a6289f
egl: Link drivers back to libEGL.
...
Drivers need symbols from libEGL. Without back-linking, the build fails
on Cygwin.
2010-05-19 13:38:57 -06:00
Mathias Fröhlich
7f19b65b1a
gallium/docs: s/milli/nano/
2010-05-19 08:48:28 -06:00
Vinson Lee
da34757cd7
graw: Disable build of tests/graw.
...
The SCons build is failing in src/gallium/tests/graw.
2010-05-19 07:40:57 -07:00
Alan Coopersmith
beb5e1c807
fpclassify is available on C99-compliant Solaris releases too
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-19 08:29:12 -06:00
Vinson Lee
c85aa99904
util: Remove unused imports from Python scripts.
2010-05-19 06:53:49 -07:00
Vinson Lee
82049b9595
util: Remove unnecessary semicolons in Python scripts.
2010-05-19 06:43:14 -07:00
Keith Whitwell
431a51b9af
Merge commit 'origin/graw-tests'
2010-05-19 14:04:16 +01:00
Michal Krol
5a5a82d7e8
softpipe: Calculate slice_stride field in get_transfer().
2010-05-19 08:23:33 +02:00
Michal Krol
83826dac9b
tgsi: Implement OPCODE_DIV.
2010-05-19 08:23:33 +02:00
Kristian Høgsberg
4cd259ca59
dri2_glx: Put the invalidate b/c code back in
...
The backwards compatibility code calls the DRI driver invalidate hook
on swap buffer and flush front buffer. This lets the DRI driver rely
on invalidate callbacks and drop the glViewport() hack, even if the
server doesn't send invalidate events. This is essentially a revert
of 2d00d16da7 , except that we now also
pass the __DRI_USE_INVALIDATE extension even when the server doesn't
have DRI2 invalidate events.
2010-05-18 22:58:01 -04:00
Kristian Høgsberg
c8f407bcec
dri2_glx: Terminate loader extension list outside #ifdef
2010-05-18 22:58:01 -04:00
Nicolai Hähnle
1712643a29
r300/compiler: Implement constant folding
...
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-05-19 03:15:25 +02:00
Tom Stellard
19ea2eae91
r300/compiler: Emit 0.5 swizzle when necessary.
...
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-19 03:08:50 +02:00
Eric Anholt
81951393e1
i965: Remove constant or ignored-by-hw args from FF sync message setup.
2010-05-18 15:08:17 -07:00
Eric Anholt
dfb7b86e63
i965: Revert accidental debug change in 562e2d114e
2010-05-18 10:12:20 -07:00
Michel Dänzer
b0ba8d6f80
st/xorg: Don't advertise DRI2 version we don't actually support yet.
...
Fixes DRI2 initialization with current xserver Git.
2010-05-18 17:14:47 +02:00
Zou Nan hai
0f88ce1b0a
gen6 fix: fix a wrong bit in binding_table_pointer
2010-05-18 16:07:03 +08:00
Eric Anholt
64f5e9059b
i965: Fix point coordinate replacement after airlied's ffvertex changes.
...
This basically restores the previous state, where a vertex result slot
is set up for the texcoord to be replaced with point coord. Fixes
piglit point-sprite test.
Bug #27625
2010-05-17 17:47:07 -07:00
Eric Anholt
b8b2670fef
i965: Add SF program disasm under INTEL_DEBUG=sf.
2010-05-17 17:47:07 -07:00
Jakob Bornecrantz
b3f625f5e4
llvmpipe: Fix link order for test apps
...
When linking with --as-needed libgallium.a can't find the dl* symbols from
-ldl since order matters more with --as-needed.
Thanks to Nirbheek Chauhan and Adam Jackson
2010-05-17 22:33:35 +01:00
Kristian Høgsberg
2386d41648
intel: Call intel_draw_buffer() again after _mesa_make_current()
...
The initial call to intel_draw_buffers() happens when
intel->ctx.DrawBuffer is still NULL. Call it again after
calling _mesa_make_current().
https://bugs.freedesktop.org/show_bug.cgi?id=28112
2010-05-17 16:50:44 -04:00
Corbin Simpson
bb81f65b18
gallium/docs: Fix missing ref.
...
Can't ref in the middle of a paragraph.
2010-05-17 12:58:29 -07:00
Corbin Simpson
f1cf6b0d37
gallium/docs: Update for timer queries.
2010-05-17 12:05:18 -07:00