Marek Olšák
88ddfc57e4
r300g: mention ATI in the renderer string
2010-11-10 15:14:25 +01:00
Keith Whitwell
9a04eca2f8
ws/r600: match bo_busy shared/fence logic in bo_wait
...
Fixes crash in piglit depthrange-clear.
2010-11-10 11:04:38 +00:00
Vinson Lee
5b8ed2f6d2
mesa: Clean up header file inclusion in pixelstore.h.
2010-11-10 00:49:53 -08:00
Vinson Lee
700add5707
mesa: Clean up header file inclusion in pixel.h.
2010-11-10 00:46:27 -08:00
Zhenyu Wang
65972f992f
Revert "i965: VS use SPF mode on sandybridge for now"
...
This reverts commit 9c39a9fcb2 .
Remove VS SPF mode, conditional instruction works for VS now.
2010-11-10 08:17:45 -05:00
Zhenyu Wang
9249af17b8
i965: fix dest type of 'endif' on sandybridge
...
That should also be immediate value for type W.
2010-11-10 08:17:29 -05:00
Eric Anholt
f289dcd849
i965: Add support for math on constants in gen6 brw_wm_glsl.c path.
...
Fixes 10 piglit cases that were assertion failing.
2010-11-09 20:20:00 -08:00
Ian Romanick
ad8cb131d8
ir_to_mesa: Refactor code for emitting DP instructions
2010-11-09 18:09:41 -08:00
Eric Anholt
f00929cbdd
i965: Allow OPCODE_SWZ to put immediates in the first arg.
...
Fixes assertion failure with texture swizzling in the GLSL path when
it's triggered (such as gen6 FF or ARB_fp shadow comparisons).
Fixes:
texdepth
texSwizzle
fp1-DST test
fp1-LIT test 3
2010-11-09 17:18:52 -08:00
Kenneth Graunke
afb6fb9a92
glsl: Remove unnecessary "unused variable" warning suppression.
...
The "instructions" variable -is- used, so the cast to void can go away.
2010-11-09 15:55:40 -08:00
Peter Clifton
efb0417040
intel: Add assert check for blitting alignment.
...
Also fixup code comment to reflect that the GPU requires DWORD
alignment, but in this case does not actually pass the value "in
DWORDs" as I previously stated.
2010-11-09 14:35:28 -08:00
Eric Anholt
00391c7941
Revert "intel: Fix the client-side swapbuffers throttling."
...
This reverts commit 76360d6abc . On
second thought, it turned out that sync objects also used the
wait_rendering API like this, and would need the same treatment, and
so wait_rendering itself is fixed in libdrm now.
2010-11-09 14:03:04 -08:00
Eric Anholt
76360d6abc
intel: Fix the client-side swapbuffers throttling.
...
We were asking for a wait to GTT read (all GPU rendering to it
complete), instead of asking for all GPU reading from it to be
complete. Prevents swapbuffers-based apps from running away with
rendering, and produces a better input experience.
2010-11-09 13:30:27 -08:00
Ian Romanick
956ae44dcf
glsl: Fix incorrect gl_type of sampler2DArray and sampler1DArrayShadow
...
NOTE: this is a candidate for the 7.9 branch.
2010-11-09 13:05:07 -08:00
José Fonseca
10740acf46
gallivm: Allocate TEMP/OUT arrays only once.
2010-11-09 20:36:28 +00:00
Zack Rusin
528c3cd241
gallivm: implement indirect addressing of the output registers
2010-11-09 20:36:28 +00:00
Vinson Lee
520140a6c9
winsys/xlib: Add cygwin to SConscript.
...
Fixes SCons NameError exception on Cygwin.
2010-11-09 12:31:11 -08:00
Keith Whitwell
63c3e3a3dc
r600: fix my pessimism about PIPE_TRANSFER_x flags
...
For some reason I though we needed the _DISCARD flag to avoid
readbacks, which isn't true at all. Now write operations should
pipeline properly, gives a good speedup to demos/tunnel.
2010-11-09 20:12:46 +00:00
Keith Whitwell
9f7ec103e2
r600g: translate ARR instruction
2010-11-09 20:12:46 +00:00
Keith Whitwell
c2c55547dc
r600g: attempt to turn on DXTn formats
...
Seems to sort-of work for non-mipmapped textures. Better than just
black anyway.
2010-11-09 20:12:46 +00:00
Keith Whitwell
e3ea4aec03
r600g: avoid recursion with staged uploads
...
Don't use an intermediate for formats which don't support hardware
blits under u_blitter.c, as these will recursively attempt to create a
transfer.
2010-11-09 20:12:46 +00:00
Brian Paul
6e2e136428
mesa: no-op glBufferSubData() on size==0
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439
NOTE: this is a candidate for the 7.9 branch
2010-11-09 12:24:51 -07:00
Brian Paul
61ea76c8da
softpipe: can't no-op depth test stage when occlusion query is enabled
...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479
2010-11-09 11:44:34 -07:00
Chia-I Wu
5b6ec5a553
st/dri: Add support for surfaceless current contexts.
...
Tested with Wayland.
2010-11-10 02:01:04 +08:00
Vinson Lee
3e6a05b1aa
mesa: Clean up header file inclusion in nvprogram.h.
2010-11-09 06:22:25 -08:00
Vinson Lee
0c123679fc
mesa: Clean up header file inclusion in multisample.h.
2010-11-09 06:08:29 -08:00
Vinson Lee
c509bf91ec
mesa: Clean up header file inclusion in matrix.h.
2010-11-09 06:00:01 -08:00
Vinson Lee
e09800432b
mesa: Clean up header file inclusion in lines.h.
2010-11-09 05:47:17 -08:00
Vinson Lee
a20e440c65
mesa: Clean up header file inclusion in light.h.
2010-11-09 05:35:24 -08:00
Vinson Lee
934fc80b06
mesa: Add missing header and forward declarations in dd.h.
2010-11-09 05:13:48 -08:00
Vinson Lee
90394b2d96
mesa: Clean up header file inclusion in image.h.
2010-11-09 05:00:44 -08:00
Thomas Hellstrom
24c6c41bd0
gallium/targets: Trivial crosscompiling fix
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com >
2010-11-09 12:50:12 +01:00
Thomas Hellstrom
0d5b4b320c
svga/drm: Optionally resolve calls to powf during link-time
...
When linked with certain builds of libstdc++, it appears like powf is resolved
by a symbol in that library. Other builds of libstdc++ doesn't contain that
symbol resulting in a linker / loader error. Optionally
resolve that symbol and replace it with calls to logf and expf.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com >
2010-11-09 12:31:25 +01:00
Thomas Hellstrom
8e630fad72
st/egl: Fix build for include files in nonstandard places
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com >
2010-11-09 12:31:24 +01:00
Thomas Hellstrom
6af2a7fe2c
mesa: Add talloc includes for gles
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com >
2010-11-09 12:31:24 +01:00
Thomas Hellstrom
675aec8178
egl: Add an include for size_t
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com >
2010-11-09 12:31:24 +01:00
Zack Rusin
9d9df964c4
scons: build the xorg state trackers only when env includes drm
2010-11-09 10:41:59 +00:00
Vinson Lee
d79d942b2e
mesa: Clean up header file inclusion in histogram.h.
2010-11-09 01:14:55 -08:00
Vinson Lee
5b3d6bd39e
mesa: Clean up header file inclusion in hint.h.
2010-11-09 01:12:34 -08:00
Vinson Lee
63f1740a5d
mesa: Clean up header file inclusion in framebuffer.h.
2010-11-09 01:04:22 -08:00
Vinson Lee
b35d3b33e7
mesa: Clean up header file inclusion in fog.h.
2010-11-09 00:58:46 -08:00
Vinson Lee
08354667a3
mesa: Clean up header file inclusion in ffvertex_prog.h.
2010-11-09 00:56:02 -08:00
Vinson Lee
6121730e74
mesa: Clean up header file inclusion in fbobject.h.
2010-11-09 00:52:49 -08:00
Chad Versace
b62c1c4595
glsl: Fix ir_expression::constant_expression_value()
...
When the type of the ir_expression is error_type, return NULL.
This fixes bug 31371.
2010-11-09 00:50:54 -08:00
Johann Rudloff
d7855ee332
radeon: Implement GL_OES_EGL_image
...
agd5f: add support to radeon/r200/r300 as well
2010-11-08 19:59:53 -05:00
Johann Rudloff
b42e562a11
radeon: Implement __DRI_IMAGE and EGL_MESA_image_drm
2010-11-08 19:59:53 -05:00
Alex Deucher
4990b771de
egl_dri2: Add radeon chip ids
2010-11-08 19:59:53 -05:00
Johann Rudloff
f9b5201dbd
radeon: Implement EGL_MESA_no_surface_extension
2010-11-08 19:59:53 -05:00
Kenneth Graunke
a457ca7844
ir_dead_functions: Actually free dead functions and signatures.
...
This makes linked shaders use around 36k less memory since the
built-in prototypes are now freed.
2010-11-08 16:22:15 -08:00
Vinson Lee
ef6967ddc2
graw: Add struct pipe_surface forward declaration.
...
Fixes this GCC warning.
graw.h:93: warning: 'struct pipe_surface' declared inside parameter list
graw.h:93: warning: its scope is only this definition or declaration,
which is probably not what you want
2010-11-08 11:55:30 -08:00