[Mesa-dev] [PATCH 1/4] st/mesa: determine Const.MaxSamples in init_extensions

2011-07-28 Thread Christoph Bumiller
v2: Check for non-pow2 sample counts as well. --- src/mesa/state_tracker/st_extensions.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index b5f6d35..8e90093 100644 --- a/src/mesa

[Mesa-dev] [PATCH 2/4] gallium: extend resource_resolve to accommodate BlitFramebuffer

2011-07-28 Thread Christoph Bumiller
Resolve via glBlitFramebuffer allows resolving a sub-region of a renderbuffer to a different location in any mipmap level of some other texture, and, with a new extension, even scaling. Therefore, location and size parameters are needed. The mask parameter was added because resolving only depth or

[Mesa-dev] [PATCH 3/4] st/mesa: implement multisample resolve via BlitFramebuffer

2011-07-28 Thread Christoph Bumiller
--- src/mesa/state_tracker/st_cb_blit.c | 116 +-- 1 files changed, 111 insertions(+), 5 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index 416be19..a79c891 100644 --- a/src/mesa/state_tracker/st_cb_blit.c ++

[Mesa-dev] [PATCH 4/4] nv50: implement resource_resolve with custom blit

2011-07-28 Thread Christoph Bumiller
--- src/gallium/drivers/nv50/nv50_context.h|3 +- src/gallium/drivers/nv50/nv50_formats.c|4 +- src/gallium/drivers/nv50/nv50_screen.c |4 + src/gallium/drivers/nv50/nv50_screen.h |6 + src/gallium/drivers/nv50/nv50_shader_state.c | 11 +- src/ga

[Mesa-dev] [Bug 39619] New: When enabling d3d1x state tracker, dot dependency is not checked

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39619 Summary: When enabling d3d1x state tracker, dot dependency is not checked Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Sev

[Mesa-dev] [PATCH] mesa: fix format selection for meta CopyTexSubImage()

2011-07-28 Thread Brian Paul
When we do a glReadPixels into the temporary buffer, we don't want to use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will compute L=R+G+B which is not what we want. This bug has existed all along but was only exposed by the elimination of the driver hook for glCopyTexImage() in 58

[Mesa-dev] [Bug 39604] [regression bisected] ES2 conformance test copy_texture fails

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39604 --- Comment #1 from Brian Paul 2011-07-28 08:54:46 PDT --- I just posted a patch for review that should fix this. It fixed my new piglit test case (copyteximage). Can you test with GLES, Ian? -- Configure bugmail: https://bugs.freedesktop.or

[Mesa-dev] [Bug 39645] New: Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 Summary: Mesa crashes when trying to run an OpenGL ES 2 app Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium

Re: [Mesa-dev] [PATCH v3] i965: Check actual tile offsets in Gen4 miptree workaround.

2011-07-28 Thread Chad Versace
Comments below. On 07/27/2011 04:58 PM, Kenneth Graunke wrote: > The purpose of the (irb->draw_offset & 4095) != 0 check was to ensure > that we don't have XYy offsets into a tile, since Gen4 hardware doesn't > support that. However, it's insufficient: there are cases where > draw_offset & 4095 i

Re: [Mesa-dev] [PATCH v3] i965: Check actual tile offsets in Gen4 miptree workaround.

2011-07-28 Thread Eric Anholt
On Wed, 27 Jul 2011 16:58:41 -0700, Kenneth Graunke wrote: > The purpose of the (irb->draw_offset & 4095) != 0 check was to ensure > that we don't have XYy offsets into a tile, since Gen4 hardware doesn't > support that. However, it's insufficient: there are cases where > draw_offset & 4095 is 0

Re: [Mesa-dev] Mesa 7.11 release candidate 3

2011-07-28 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2011 07:54 PM, Ian Romanick wrote: > Mesa 7.11-rc3 has been released. This is a release candidate for the > 7.11 development release. > > The tag in the GIT repository for Mesa 7.11-rc3 is 'mesa-7.11-rc3'. I botched this a little bit. I fo

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 Chad Versace changed: What|Removed |Added CC||benjaminfranzke@googlemail.

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #2 from Bartosz Brachaczek 2011-07-28 13:19:25 PDT --- I am compiling Mesa through Gentoo Portage that automates the process. But I don't see anything looking like enabling gbm in its scripts. Here are the options: ./configure --pre

Re: [Mesa-dev] [PATCH] mesa: fix format selection for meta CopyTexSubImage()

2011-07-28 Thread Eric Anholt
On Thu, 28 Jul 2011 09:54:04 -0600, Brian Paul wrote: > When we do a glReadPixels into the temporary buffer, we don't want to > use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will > compute L=R+G+B which is not what we want. > > This bug has existed all along but was only exposed

[Mesa-dev] [PATCH] r600g: fix vs export count

2011-07-28 Thread Vadim Girlin
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39572 Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/evergreen_state.c |2 +- src/gallium/drivers/r600/r600_state.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_s

Re: [Mesa-dev] [PATCH] mesa: fix format selection for meta CopyTexSubImage()

2011-07-28 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/28/2011 08:54 AM, Brian Paul wrote: > When we do a glReadPixels into the temporary buffer, we don't want to > use GL_LUMINANCE, GL_LUMINANCE_ALPHA or GL_INTENSITY since they will > compute L=R+G+B which is not what we want. > > This bug has exis

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 Droste changed: What|Removed |Added CC||rea...@gmail.com --- Comment #3 from Droste 20

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 boris64 changed: What|Removed |Added CC||bugs.x...@boris64.net -- Configure bugmail: h

[Mesa-dev] Mesa 7.11 release candidate 4

2011-07-28 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mesa 7.11-rc4 has been released. This is a release candidate for the 7.11 development release. The tag in the GIT repository for Mesa 7.11-rc4 is 'mesa-7.11-rc4'. Mesa 7.11-rc4 is available for download at ftp://freedesktop.org/pub/mesa/7.11/ md5su

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #4 from Nikos Chantziaras 2011-07-28 16:28:06 PDT --- Same problem here. Here's my configure options along with the output from it: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share

[Mesa-dev] [Bug 39604] [regression bisected] ES2 conformance test copy_texture fails

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39604 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #5 from Alex Deucher 2011-07-28 17:00:09 PDT --- You may be using the classic driver. Try removing --with-dri-drivers=,swrast,r600 from your configure list to build only the gallium driver. -- Configure bugmail: https://bugs.freede

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #6 from Nikos Chantziaras 2011-07-28 17:04:14 PDT --- (In reply to comment #5) > You may be using the classic driver. Try removing > --with-dri-drivers=,swrast,r600 from your configure list to build only the > gallium driver. glxin

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #7 from Droste 2011-07-28 17:54:45 PDT --- The bug only occurs with drm platform. With x11 everything should work fine. A workaround would be a) Setting EGL_PLATFORM=x11 b) Don't build drm platform, so that x11 is chosen by default.

[Mesa-dev] [Bug 39645] Mesa crashes when trying to run an OpenGL ES 2 app

2011-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39645 --- Comment #8 from Nikos Chantziaras 2011-07-28 18:18:01 PDT --- (In reply to comment #7) > The bug only occurs with drm platform. With x11 everything should work fine. > A workaround would be > a) Setting EGL_PLATFORM=x11 > b) Don't build drm