[Mesa-dev] [Bug 41791] Civilization V + Wine = Bug

2011-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41791 --- Comment #3 from Marc Bessieres 2011-11-26 02:53:13 PST --- Created attachment 53862 --> https://bugs.freedesktop.org/attachment.cgi?id=53862 Xorg log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Mesa-dev] [Bug 41791] Civilization V + Wine = Bug

2011-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41791 --- Comment #4 from Marc Bessieres 2011-11-26 02:57:41 PST --- I have the same bug with all the games I tried with wine since I have updated my Opensuse Tumbleweed to 12.1. I put in attachment the Xorg.0.log in order to have the version of the X

Re: [Mesa-dev] reworking pipe_video_decoder / pipe_video_buffer

2011-11-26 Thread Andy Furniss
Maarten Lankhorst wrote: Testing interlaced videos that decode correctly with nvidia vdpau would help a lot to figure out what the proper way to handle interlacing would be, so if someone has a bunch that play with nvidia accelerated vdpau&mplayer correctly, could you please link them? ;)

Re: [Mesa-dev] [PATCH] mesa: add MESA_FORMAT_RGBX8888 and MESA_FORMAT_RGBX8888_REV

2011-11-26 Thread Brian Paul
On 11/24/2011 08:24 PM, Chia-I Wu wrote: From: Chia-I Wu MESA_FORMAT_RGBX_REV is one of the opaque pixel formats used on Android. Thanks to texture-from-pixmap, drivers may actually see texture images with this format on Android. MESA_FORMAT_RGBX is added only for completeness. --- sr

[Mesa-dev] [PATCH] mesa: fix frag shader generation for alpha test with no color buffers

2011-11-26 Thread Brian Paul
If alpha test is enabled and there's no color buffers we still need the fragment shader to emit a color. v2: add _NEW_COLOR flag in _mesa_update_state_locked() Fixes piglit fbo-alphatest-nocolor-ff failures with Gallium drivers. --- src/mesa/main/ff_fragment_shader.cpp |6 ++ src/mesa/ma

Re: [Mesa-dev] [PATCH] mesa: fix frag shader generation for alpha test with no color buffers

2011-11-26 Thread Brian Paul
On 11/24/2011 12:35 PM, Eric Anholt wrote: On Wed, 23 Nov 2011 15:08:23 -0800, Ian Romanick wrote: On 11/23/2011 02:35 PM, Brian Paul wrote: If alpha test is enabled and there's no color buffers we still need the fragment shader to emit a color. Fixes piglit fbo-alphatest-nocolor-ff failures

Re: [Mesa-dev] [PATCH 08/10] mesa: Use VERT_ATTRIB_* indexed array in gl_array_object

2011-11-26 Thread Brian Paul
On 11/23/2011 11:56 PM, Mathias Fröhlich wrote: Hi Brian, Thanks for looking into the changes. On Wednesday, November 23, 2011 17:24:23 Brian Paul wrote: I think there's a few places where we need to map GLenums for vertex arrays to VERT_ATTRIB_x values. Maybe there should be a helper functi

Re: [Mesa-dev] [PATCH] mesa: move ElementArrayBufferObj to gl_array_object

2011-11-26 Thread Brian Paul
On 11/23/2011 06:15 PM, Yuanhan Liu wrote: On Wed, Nov 23, 2011 at 08:25:59AM -0700, Brian Paul wrote: On 11/23/2011 02:26 AM, Yuanhan Liu wrote: According opengl spec 4.2.pdf table 6.12 (Vertex Array Object State) at page 515, the element buffer object is listed in vertex array object. So, mo

Re: [Mesa-dev] [PATCH] Allow glTexImage2D with a depth component cube map

2011-11-26 Thread Brian Paul
On 11/23/2011 05:14 PM, Anuj Phogat wrote: From: Anuj Phogat This is an updated patch to allow glTexImage2D with a depth component cube map. Patch was producing an expected ouput with depth-cube-map test (posted on piglit mailing list). But i'm getting an incorrect output since i updated my me

[Mesa-dev] [PATCH 1/3] mesa: handle MapTextureImage() failures in glTexImage code

2011-11-26 Thread Brian Paul
--- src/mesa/main/texstore.c | 199 -- 1 files changed, 123 insertions(+), 76 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index aae6b4b..d17a49b 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c @@ -

[Mesa-dev] [PATCH 2/3] mesa: handle MapTextureImage() failures in glGetTexImage code

2011-11-26 Thread Brian Paul
--- src/mesa/main/texgetimage.c | 267 +-- 1 files changed, 153 insertions(+), 114 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 0650659..ae0d51f 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texge

[Mesa-dev] [PATCH 3/3] mesa: handle MapTextureImage() failures in mipmap generation code

2011-11-26 Thread Brian Paul
And handle potential malloc failures too. --- src/mesa/main/mipmap.c | 81 +-- 1 files changed, 57 insertions(+), 24 deletions(-) diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index 461de9d..c621800 100644 --- a/src/mesa/main/mipmap.c +

[Mesa-dev] [PATCH] image: fix legal types for packed integer formats.

2011-11-26 Thread Dave Airlie
From: Dave Airlie After reading ARB_texture_rgb10_a2ui it appears the packed formats for integer types are only specified via this extension, and not via the original ones. So condition the checks on this. Hopefully some can take a quick read of that spec and confirm I'm doing the right thing he

Re: [Mesa-dev] [PATCH 2/2] mesa: add hard limits for the number of varyings and uniforms for the linker

2011-11-26 Thread Marek Olšák
On Fri, Nov 25, 2011 at 1:46 AM, Kenneth Graunke wrote: >> another, no driver should be crippled ever. I know you couldn't care >> less about anything except your driver, but there are people who care. >> >> Marek > > I'm honestly shocked to read this, Marek.  We "deliberately want [your] > driver

[Mesa-dev] [Bug 23525] Software rendering on QEMU guests badly broken

2011-11-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=23525 Bernhard M. Wiedemann changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXE

Re: [Mesa-dev] reworking pipe_video_decoder / pipe_video_buffer

2011-11-26 Thread Maarten Lankhorst
Hey Andy, On 11/26/2011 01:44 PM, Andy Furniss wrote: > Maarten Lankhorst wrote: > >> Testing interlaced videos that decode correctly with nvidia vdpau would >> help >> a lot to figure out what the proper way to handle interlacing would be, >> so if >> someone has a bunch th

Re: [Mesa-dev] [PATCH 2/2] mesa: add hard limits for the number of varyings and uniforms for the linker

2011-11-26 Thread Jose Fonseca
- Original Message - > People are being more honest on > IRC than here. I read some of the IRC logs from the past days, and there were several saddening statements made in there by several people. But I wonder if IRC does really bring the most honest side out of people, or simply their

Re: [Mesa-dev] [PATCH] Allow glTexImage2D with a depth component cube map

2011-11-26 Thread Anuj Phogat
Hi Brian, >> This is an updated patch to allow glTexImage2D with a depth component >> cube map. Patch >> was producing an expected ouput with depth-cube-map test (posted on >> piglit mailing list). >> But i'm getting an incorrect output since i updated my mesa branch >> with git://anongit.freedesk

Re: [Mesa-dev] [PATCH] [EGL/GLX driver] Try first a default lookup for glXGetProcAddress before loading dynamic lib.

2011-11-26 Thread Chia-I Wu
On Fri, Nov 25, 2011 at 6:58 PM, Beren Minor wrote: > GLX functions are sometimes directly available in the current binary. In such > cases, we do not need any alternate library loaded using dlopen. Otherwise, > dlopen may find the wrong libGL library and get functions that conflicts with > the cu

Re: [Mesa-dev] [PATCH] mesa: fix frag shader generation for alpha test with no color buffers

2011-11-26 Thread Eric Anholt
On Sat, 26 Nov 2011 08:55:01 -0700, Brian Paul wrote: > If alpha test is enabled and there's no color buffers we still need the > fragment shader to emit a color. > > v2: add _NEW_COLOR flag in _mesa_update_state_locked() > > Fixes piglit fbo-alphatest-nocolor-ff failures with Gallium drivers.

Re: [Mesa-dev] [PATCH 3/3] mesa: handle MapTextureImage() failures in mipmap generation code

2011-11-26 Thread Eric Anholt
On Sat, 26 Nov 2011 09:23:38 -0700, Brian Paul wrote: > And handle potential malloc failures too. > --- > src/mesa/main/mipmap.c | 81 +-- > 1 files changed, 57 insertions(+), 24 deletions(-) > > diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mi