[Mesa-dev] [PATCH] i965: Enable SIMD16 mode for shaders with loops on Gen6+.

2012-03-08 Thread Kenneth Graunke
The hardware supports it; there's no reason not to. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.c

[Mesa-dev] [Bug 47124] libEGL.la fails during linking

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47124 Mike Lothian changed: What|Removed |Added Platform|Other |x86 (IA32) OS/Version|All

[Mesa-dev] [Bug 47124] New: libEGL.la fails during linking

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47124 Bug #: 47124 Summary: libEGL.la fails during linking Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Seve

[Mesa-dev] [PATCH] mesa: fix GL_LUMINANCE handling in glGetTexImage

2012-03-08 Thread Brian Paul
There are several cases in which we need to explicity "rebase" colors (ex: set G=B=0) when getting GL_LUMINANCE textures: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance Fixes https:

[Mesa-dev] [Bug 37274] Crash in draw_llvm_shader23 (r300g, rs690, in warzone2100)

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37274 --- Comment #6 from rodrigo2kpere...@gmail.com 2012-03-08 18:22:09 PST --- Created attachment 58214 --> https://bugs.freedesktop.org/attachment.cgi?id=58214 RS740 debug info Same bug on radeon 2100 integrated video (RS740). I don't know how I c

Re: [Mesa-dev] [PATCH 6/7] mesa: Skip looking at debug environment variables when setuid.

2012-03-08 Thread Jose Fonseca
FWIW, I think that debug builds of Mesa should allow debugging options all the time. Secure installs should use release builds. The added code lines are not portable, so they need to be compiled conditionally . At least #if !defined(_WIN32) ... #endif . Jose - Original Message - > Whe

Re: [Mesa-dev] [PATCH 5/9] vl/video_buffer: add YUYV and UYVY support

2012-03-08 Thread Jose Fonseca
- Original Message - > This gets xine working with VDPAU. > > v2: some minor bugfixes. > v3: create the resource with the subsampled > format to avoid tilling problems > > Signed-off-by: Christian König [...] > @@ -269,18 +307,21 @@ vl_video_buffer_sampler_view_components(struct >

[Mesa-dev] [PATCH] drirc: Add force_glsl_extensions_warn workaround for Unigine Heaven.

2012-03-08 Thread Kenneth Graunke
Unfortunately, Unigine Heaven 3.0 still needs this. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/common/drirc |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/driv

Re: [Mesa-dev] [PATCH 1/9] u_format: add util_format_is_subsampled helper function

2012-03-08 Thread Jose Fonseca
The comment fix is good. But I rather not having more of these helper functions. More details shortly.. Jose - Original Message - > Also fix comment about subsampled formats. > > Signed-off-by: Christian König > --- > src/gallium/auxiliary/util/u_format.h |9 - > 1 files

[Mesa-dev] [PATCH 3/3] st/egl: Use DRI2SwapBuffers in the X11 backend

2012-03-08 Thread Fredrik Höglund
--- src/gallium/state_trackers/egl/x11/native_dri2.c | 27 +++-- src/gallium/state_trackers/egl/x11/x11_screen.c | 11 + src/gallium/state_trackers/egl/x11/x11_screen.h |5 3 files changed, 40 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trac

[Mesa-dev] [PATCH 2/3] st/egl: Implement eglSwapInterval in the X11 backend

2012-03-08 Thread Fredrik Höglund
--- src/gallium/state_trackers/egl/x11/native_dri2.c | 20 +--- src/gallium/state_trackers/egl/x11/x11_screen.c |8 src/gallium/state_trackers/egl/x11/x11_screen.h |4 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_tracke

[Mesa-dev] [PATCH 1/3] st/egl: Hook up eglSwapInterval

2012-03-08 Thread Fredrik Höglund
--- .../state_trackers/egl/common/egl_g3d_api.c| 21 src/gallium/state_trackers/egl/common/native.h |5 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_api.c b/src/gallium/state_trackers/egl/

[Mesa-dev] [Bug 46679] glReadPixels on a luminance texture returns the wrong values

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46679 Anuj Phogat changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|mesa-dev@lists

Re: [Mesa-dev] [PATCH 1/9] st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities

2012-03-08 Thread Andy Furniss
Christian König wrote: mplayer sw decode + yuy2 vdpau output is corrupted. Yeah, still working on that. The problem is tilling related, just disable 2D tilling and it works like a charm. I think I've found the problem right now and going to send out some fixed patches in the next couple of minu

[Mesa-dev] [Bug 47066] glxinfo says "nouveau" on dual seat when on a monitor drived by a radeon card

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47066 --- Comment #13 from diego.abele...@gmail.com 2012-03-08 10:48:23 PST --- Ok, So when I start "DISPLAY=:0 glxinfo" I get both screens first the nouveau screen (0) then the radeon one (1). when I start "DISPLAY=:0.0 glxinfo -b" I get "33" when I st

[Mesa-dev] [Bug 45277] [bisected] Shading not working properly in Heroes of Newerth

2012-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45277 Damien Grassart changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH] svga: Check vs and fs pointer when updating states.

2012-03-08 Thread Vic Lee
Hi Brian, Please the the gdb backtrace if I only add vs check. Maybe you have a better idea on this issue. I am using the git 8.0 branch. vic@debian:~/mesa/src/gallium$ git diff diff --git a/src/gallium/drivers/svga/svga_state_need_swtnl.c b/src/gallium/driver

[Mesa-dev] [PATCH 9/9] vl: handle DRI2GetBuffers reply with multiple buffers

2012-03-08 Thread Christian König
This fixes a crash in XBMC, but we still doesn't see a picture. Signed-off-by: Christian König --- src/gallium/winsys/g3dvl/dri/dri_winsys.c | 33 1 files changed, 23 insertions(+), 10 deletions(-) diff --git a/src/gallium/winsys/g3dvl/dri/dri_winsys.c b/src/gall

[Mesa-dev] [PATCH 8/9] vl/mpeg12: make bitstream decoder more robust

2012-03-08 Thread Christian König
Just another xine workaround. Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c |2 ++ src/gallium/auxiliary/vl/vl_vlc.h |1 - 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c b/src

[Mesa-dev] [PATCH 7/9] st/vdpau: fix two small memory leaks

2012-03-08 Thread Christian König
Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/device.c |4 ++-- src/gallium/state_trackers/vdpau/output.c |4 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c in

[Mesa-dev] [PATCH 6/9] st/vdpau: add xine workaround

2012-03-08 Thread Christian König
For reasons I don't understand xine tries to set the surface format by using a zero pitch. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/surface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gal

[Mesa-dev] [PATCH 5/9] vl/video_buffer: add YUYV and UYVY support

2012-03-08 Thread Christian König
This gets xine working with VDPAU. v2: some minor bugfixes. v3: create the resource with the subsampled format to avoid tilling problems Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_video_buffer.c | 53 --- 1 files changed, 47 insertions(+), 6 del

[Mesa-dev] [PATCH 4/9] r600g: add support for subsampled rgb formats

2012-03-08 Thread Christian König
v2: r600 formats are msb first! Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_texture.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 923efce..ce6

[Mesa-dev] [PATCH 2/9] gallium: add R8G8_R8B8 and G8R8_B8R8 formats

2012-03-08 Thread Christian König
v2: simplify implementation by using correct swizzle v3: fix mix with successor patch Signed-off-by: Christian König --- src/gallium/auxiliary/util/u_format.csv |2 + src/gallium/auxiliary/util/u_format_yuv.c | 48 + src/gallium/auxiliary/util/u_format_yuv.h |

[Mesa-dev] [PATCH 3/9] gallivm: add support for R8G8_R8B8 and G8R8_B8R8 formats

2012-03-08 Thread Christian König
Just to keep lp_test_format happy. Signed-off-by: Christian König --- src/gallium/auxiliary/gallivm/lp_bld_format_yuv.c | 42 + 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_yuv.c b/src/gallium/auxiliary/gallivm

[Mesa-dev] [PATCH 1/9] u_format: add util_format_is_subsampled helper function

2012-03-08 Thread Christian König
Also fix comment about subsampled formats. Signed-off-by: Christian König --- src/gallium/auxiliary/util/u_format.h |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index b9ae7c1..3f47e

Re: [Mesa-dev] [PATCH] i915: fallback when point sprite is enabled while handling varying inputs

2012-03-08 Thread Yuanhan Liu
On Thu, Mar 08, 2012 at 02:30:30PM +0800, Yuanhan Liu wrote: > The current code would use tex coord to implement varying inputs. If > point sprite is enabled(always enabled in chrome and firefox), the tex > coord would be replaced with the value (x, y, 0, 1) where x and y vary > from 0 to 1. Thus y

Re: [Mesa-dev] [PATCH 1/9] st/vdpau: fix chroma_format handling in VideoSurfaceQueryGetPutBitsYCbCrCapabilities

2012-03-08 Thread Christian König
On 08.03.2012 00:19, Andy Furniss wrote: Emeric Grange wrote: With today series I get that output : http://img807.imageshack.us/img807/5593/cran07032012184105.png I see the same as you - xine works, but can be made to fail. Well, thanks for testing. Emerics comment that the problem with your