Christian König
10dbabc481
r600g: fully implement barrier handling
2011-01-07 18:26:51 +01:00
Christian König
3a49b567cf
r600g: rearange exports
2010-12-28 23:45:46 +01:00
Christian König
c099fcd28a
r600g: optimize unneeded alu moves
2010-12-28 13:09:54 +01:00
Christian König
f23dce0532
r600g: fix gpr usage intersection and add conditiona code handling
2010-12-27 20:50:05 +01:00
Christian König
22de93b435
r600g: implement register remapping
2010-12-27 17:58:00 +01:00
Christian König
2191d8064e
[g3dvl] fix merge conflicts
2010-12-22 21:38:48 +01:00
Christian König
e179a8bf34
Merge remote branch 'origin/master' into pipe-video
2010-12-22 21:12:24 +01:00
Christian König
1b03996b12
r600g: remove some unneded barriers
2010-12-22 20:50:16 +01:00
Christian König
f853ea0078
[g3dvl] move code around for more optimal shader generation
2010-12-22 20:01:39 +01:00
Christian König
26127d6a2f
r600g: rework literal handling
2010-12-22 17:45:51 +01:00
Vinson Lee
38c8b034e2
i915g: Remove unnecessary header.
2010-12-22 00:57:52 -08:00
Vinson Lee
442fcd0620
llvmpipe: Remove unnecessary headers.
2010-12-22 00:55:41 -08:00
Vinson Lee
013fc33462
r300g: Remove unnecessary headers.
2010-12-22 00:52:05 -08:00
Vinson Lee
f39d0c791a
svga: Remove unnecessary header.
2010-12-22 00:42:23 -08:00
Vinson Lee
a91128030e
st/vega: Remove unnecessary headers.
2010-12-22 00:38:42 -08:00
Henri Verbeet
ca8b4ca478
r600g: Remove the unused "pframebuffer" field from r600_pipe_context.
2010-12-22 09:19:48 +01:00
Henri Verbeet
2fd718d560
r600g: r600_new() and r600_delete() are unused.
2010-12-22 09:19:48 +01:00
Zhenyu Wang
4374703a9b
i965: explicit tell header present for fb write on sandybridge
...
Determine header present for fb write by msg length is not right
for SIMD16 dispatch, and if there're more output attributes, header
present is not easy to tell from msg length. This explicitly adds
new param for fb write to say header present or not.
Fixes many cases' hang and failure in GL conformance test.
2010-12-22 11:08:51 -05:00
Chia-I Wu
445cb9e53b
st/egl: Assorted fixes for dri2_display_get_configs.
...
Set window_bit only when the visual id is greater than zero. Correct
visual types. Skip slow configs as they are not relevant. Finally, do
not return duplicated configs.
2010-12-22 16:05:27 +08:00
Alex Deucher
341d048e45
r600g: remove useless switch statements
...
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-12-22 01:30:41 -05:00
Chia-I Wu
a31e2e3312
st/egl: Fix eglCopyBuffers.
...
Flush before presenting.
2010-12-22 14:21:47 +08:00
Chia-I Wu
18bc427ade
st/egl: Plug pbuffer leaks.
...
Unreference validated resources or remove unnecessary validations.
2010-12-22 14:12:33 +08:00
Chia-I Wu
0fb2dcc98f
st/egl: Allow single-buffered pixmaps.
...
All single-buffered configs were ignored before to make sure
EGL_RENDER_BUFFER is settable for window surfaces. It is better to
allow single-buffered configs and set EGL_WINDOW_BIT only for
double-buffered ones. This way there can be single-buffered pixmaps.
2010-12-22 14:12:33 +08:00
Dave Airlie
f431e0452b
r600g: drop unused code in evergreen.
...
this code was pretty much duplicated, thanks to Henri Verbeet on irc for
pointing it out.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22 15:58:29 +10:00
Chia-I Wu
975b7ef92a
st/egl: Remove native_config::samples.
...
Multisample buffers are never requested.
2010-12-22 13:22:36 +08:00
Chia-I Wu
3a93c34828
st/egl: Remove native_config::slow_config.
...
In direct rendering scenario, it is not needed until an EGLDisplay can
support both HW and SW pipe screens.
2010-12-22 13:22:36 +08:00
Chia-I Wu
0364c08d7f
st/egl: Remove unnecessary egl_g3d_find_pixmap_config.
...
It was used to find a compatible config for a given pixmap. Now that a
config is optional for pixmap surface creation, the function is not
needed.
2010-12-22 13:22:36 +08:00
Chia-I Wu
af767ee113
st/egl: Make config optional for create_pixmap_surface.
...
eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface
without a config. Make it just work without relying on
is_pixmap_supported.
2010-12-22 13:22:36 +08:00
Dave Airlie
2dd189a824
r600g: fix evergreen segfaults.
...
evergreen was crashing running even gears here.
This is a 7.10 candidate if its broken the same.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-22 14:54:17 +10:00
Marek Olšák
cb4f367b26
r300g: fix precision issues with B10G10R10A2
2010-12-22 03:39:37 +01:00
Marek Olšák
2a95542088
r300g: support B10G10R10A2 render targets only with DRM 2.8.0 or later versions
2010-12-22 03:39:37 +01:00
Eric Anholt
4fe78d3e12
i965: Avoid using float type for raw moves, to work around SNB issue.
...
The SNB alt-mode math does the denorm and inf reduction even for a
"raw MOV" like we do for g0 message header setup, where we are moving
values that aren't actually floats. Just use UD type, where raw MOVs
really are raw MOVs.
Fixes glxgears since c52adfc2e1 , but no
piglit tests had regressed(!)
2010-12-21 13:06:15 -08:00
Christian König
adf89a3329
r600g: fix bug created by 120a558624
2010-12-21 21:27:57 +01:00
Jerome Glisse
fa62cf7450
r600g: avoid segfault
...
Candidates 7.10
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-21 10:51:32 -05:00
Chris Wilson
8b9570e685
intel: Check for unsupported texture when finishing using as a render target
...
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21 11:58:35 +00:00
Vinson Lee
c1f0f90a97
st/mesa: Clean up header file inclusion in st_format.h.
2010-12-21 01:25:04 -08:00
Vinson Lee
3d03b4d839
st/mesa: Clean up header file inclusion in st_draw.h.
2010-12-21 01:17:37 -08:00
Christian König
ac5b174706
r600g: merge alu groups
2010-12-20 22:09:09 +01:00
Ben Skeggs
5c102dd94f
nouveau: fix includes for latest libdrm
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-21 06:28:08 +10:00
Tom Fogal
cd9ed3da68
Regenerate gl_mangle.h.
...
NOTE: This is a candidate for the 7.10 branch.
2010-12-20 19:29:48 -07:00
Jerome Glisse
abe9ffc25c
r600g: properly unset vertex buffer
...
Fix bug http://bugs.freedesktop.org/show_bug.cgi?id=32455
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-12-20 15:33:28 -05:00
Vinson Lee
a14f79f801
st/python: remove unused 'buf' parameter in pipe_buffer_unmap
...
This is a follow-up to commit ec51092a72 .
Fixes SCons build.
2010-12-20 11:40:54 -08:00
Marek Olšák
ec51092a72
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
2010-12-20 17:42:55 +01:00
Vinson Lee
c451aade88
st/mesa: Remove comment cruft from st_context.h.
...
This was unintentionally added by commit
1525fb4afe .
2010-12-20 01:24:26 -08:00
Vinson Lee
2dd788663a
st/mesa: Clean up header file inclusion in st_cb_texture.h.
2010-12-20 01:15:04 -08:00
Vinson Lee
10eb0c39d5
st/mesa: Clean up header file inclusion in st_cb_readpixels.h.
2010-12-20 01:00:26 -08:00
Marek Olšák
237880463d
r300g: optimize the fallback for misaligned ushort indices
2010-12-19 04:05:34 +01:00
Christian König
7b0cc9bd38
r600g: implement replacing gpr with pv and ps
2010-12-18 21:32:16 +01:00
Christian König
79f881156f
r600g: rework bank swizzle code
2010-12-18 17:56:36 +01:00
Christian König
f6c47f686d
r600g: fix alu slot assignment
2010-12-18 13:57:18 +01:00