[Mesa-dev] [PATCH 00/10] intel: Support s8z24 texture renderbuffers when using separate stencil

2011-06-23 Thread Chad Versace
I hope you like these patches. They were made with sweat and blood at the 11th hour. This adds all the infrastructure needed to support s8z24 texture renderbuffers. The patch series lives on my hiz branch. On gen5 there are no Piglit regressions, with and without separate stencil enabled. Undoub

[Mesa-dev] [PATCH 01/10] intel: Add fields to intel_texture for faking s8z24 with separate stencil

2011-06-23 Thread Chad Versace
Add the fields depth_rb and stencil_rb, and put hooks in place to release the renderbuffers in intelFreeTextureImageData and intelTexImage. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_tex.c |9 +++ src/mesa/drivers/dri/intel/intel_tex_image.c | 13 +--

[Mesa-dev] [PATCH 02/10] intel: Define functions intel_texture_s8z24_scatter/gather

2011-06-23 Thread Chad Versace
... which copy the stencil bits between intel_image->depth_rb and intel_image->stencil_rb. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_tex_image.c | 70 ++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/in

[Mesa-dev] [PATCH 03/10] intel: Perform gather on s8z24 texture images during glGetTexImage

2011-06-23 Thread Chad Versace
Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_tex_image.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index 6065238..4a29bc5 100644 --- a/src/mesa/dr

[Mesa-dev] [PATCH 04/10] intel: Change signature of intel_create_wrapped_renderbuffer

2011-06-23 Thread Chad Versace
Redeclare as non-static because intel_tex_image_s8z24_create_renderbuffers will use it. Remove the 'wrapper' parameter, because there is no wrapper for intel_texture_image.depth_rb and stencil_rb. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_fbo.c | 30

[Mesa-dev] [PATCH 05/10] intel: Declare some functions in intel_fbo.c as non-static

2011-06-23 Thread Chad Versace
... because they will be needed by intel_tex_image_s8z24_create_renderbuffers. Redeclared functions are: intel_alloc_renderbuffer_storage intel_renderbuffer_set_draw_offsets Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_fbo.c |4 ++-- src/mesa/drivers/dri/intel/in

[Mesa-dev] [PATCH 06/10] intel: During glTexImage, allocate renderbuffers for faking s8z24 textures

2011-06-23 Thread Chad Versace
... when using separate stencil. Define function intel_tex_image_x8z24_create_renderbuffers and call it in intelTexImage after the miptree has been created and filled with data. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_tex_image.c | 62 ++ 1 fil

[Mesa-dev] [PATCH 07/10] intel: Factor region updates out of intel_update_wrapper

2011-06-23 Thread Chad Versace
... and into new function intel_update_tex_wrapper_regions. This prevents code duplication in the next commit. Also add a note explaining that the hiz region is broken for mipmapped depth textures. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_fbo.c | 18 ++

[Mesa-dev] [PATCH 08/10] intel: In intel_update_wrapper, support s8z24 textures when using separate stencil

2011-06-23 Thread Chad Versace
Also, in order to coerce intel_update_tex_wrapper_regions() to allocate the hiz region, alter intel_update_tex_wrapper_regions() to examine the renderbuffer format instead of the texture image format. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_fbo.c | 41 +

[Mesa-dev] [PATCH 09/10] intel: Change framebuffer validation criteria

2011-06-23 Thread Chad Versace
Since all infrastructure is now in place to support packed depth/stencil renderbuffers when using separate stencil, there is no need for special cases when separate stencil is enabled. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_fbo.c | 13 +++-- 1 files changed, 3

[Mesa-dev] [PATCH 10/10] intel: Fix workaround for _mesa_update_framebuffer

2011-06-23 Thread Chad Versace
In intel_draw_buffer, there exists a workaround to prevent _mesa_update_framebuffer from creating a swrast depth wrapper when using separate stencil. This commit fixes the workaround, which was incomplete for s8z24 texture renderbuffers. Fixes fbo-blit-d24s8 on gen5 with separate stencil manually

[Mesa-dev] [Bug 38599] New: THe value of WGL_PBUFFER_HEIGHT_ARB is returned as width in wglQueryPbufferARB

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38599 Summary: THe value of WGL_PBUFFER_HEIGHT_ARB is returned as width in wglQueryPbufferARB Product: Mesa Version: 7.10 Platform: x86 (IA32) OS/Version: Windows (All) S

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Benjamin Franzke
2011/6/23 Chia-I Wu : > On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke > wrote: >> Hi List, >> >> This series adds a graphics buffer management library which is >> targeted to be used as native (drm) platform for egl on kms or openwfd, >> and thus replaces the current mechanism of using a fd a

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Chia-I Wu
On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke wrote: > 2011/6/23 Chia-I Wu : >> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke >> wrote: >>> Hi List, >>> >>> This series adds a graphics buffer management library which is >>> targeted to be used as native (drm) platform for egl on kms or o

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Benjamin Franzke
2011/6/23 Chia-I Wu : > On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke > wrote: >> 2011/6/23 Chia-I Wu : >>> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke >>> wrote: Hi List, This series adds a graphics buffer management library which is targeted to be used as native (

Re: [Mesa-dev] Error building on Windows with SCons

2011-06-23 Thread Brede Johansen
> Known working configurations (from git!) are: > - mingw crosscompilation from linux (x86 only) > - MSVC 2008 (requires cygwin flex & bison in the PATH), x86 or x64 Can anyone confirm that Mesa with LLVM enabled works on Visual Studio 2010. I have updated scons and made some changes to llvm.py an

[Mesa-dev] [Bug 38602] New: [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 Summary: [bisected] Wrong display after "prefer native texture formats when possible" commit Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #1 from Jure Repinc 2011-06-23 05:03:42 PDT --- Created an attachment (id=48330) --> (https://bugs.freedesktop.org/attachment.cgi?id=48330) kde-ok,png -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #2 from Jure Repinc 2011-06-23 05:04:25 PDT --- Created an attachment (id=48331) --> (https://bugs.freedesktop.org/attachment.cgi?id=48331) kde-bad.png -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #3 from Jure Repinc 2011-06-23 05:05:55 PDT --- I forgot to mention: the graphics card used is ATI Mobility Radeon HD 5470 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mai

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #4 from Jure Repinc 2011-06-23 05:16:23 PDT --- Created an attachment (id=48332) --> (https://bugs.freedesktop.org/attachment.cgi?id=48332) Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #5 from Jure Repinc 2011-06-23 05:18:03 PDT --- Created an attachment (id=48333) --> (https://bugs.freedesktop.org/attachment.cgi?id=48333) dmesg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Yo

[Mesa-dev] [PATCH] r600g: Add R8G8B8A8_UNORM to evergreen colorswap table

2011-06-23 Thread Benjamin Franzke
Fixes broken glTexImage2D with format=GL_RGBA since 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 The origin for this behaviour is that r600_is_format_supported checks only against r600_state_inline.h tables not evergreens. --- src/gallium/drivers/r600/eg_state_inlines.h |1 + 1 files changed, 1 i

[Mesa-dev] [Bug 38599] THe value of WGL_PBUFFER_HEIGHT_ARB is returned as width in wglQueryPbufferARB

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

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #6 from Brian Paul 2011-06-23 06:38:21 PDT --- Created an attachment (id=48334) View: https://bugs.freedesktop.org/attachment.cgi?id=48334 Review: https://bugs.freedesktop.org/review?bug=38602&attachment=48334 try to undo the damag

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-23 Thread Jerome Glisse
On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote: > On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger > wrote: >> Am 21.06.2011 20:59, schrieb Sven Arvidsson: >>> This change broke a whole lot of stuff on r600g, for example Unigine >>> Heaven: >>> >>>       shader uses too many varying co

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #7 from Brian Paul 2011-06-23 07:18:13 PDT --- BTW, I've added a new piglit test that catches the regression from the commit in question: texture-packed-formats -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=em

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-23 Thread Roland Scheidegger
Am 23.06.2011 16:09, schrieb Jerome Glisse: > On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote: >> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger >> wrote: >>> Am 21.06.2011 20:59, schrieb Sven Arvidsson: This change broke a whole lot of stuff on r600g, for example Unigine He

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-23 Thread Jerome Glisse
On Thu, Jun 23, 2011 at 10:38 AM, Roland Scheidegger wrote: > Am 23.06.2011 16:09, schrieb Jerome Glisse: >> On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote: >>> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger >>> wrote: Am 21.06.2011 20:59, schrieb Sven Arvidsson: > This cha

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-23 Thread Alex Deucher
On Thu, Jun 23, 2011 at 10:38 AM, Roland Scheidegger wrote: > Am 23.06.2011 16:09, schrieb Jerome Glisse: >> On Wed, Jun 22, 2011 at 10:49 PM, Alex Deucher wrote: >>> On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger >>> wrote: Am 21.06.2011 20:59, schrieb Sven Arvidsson: > This cha

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #8 from Brian Paterni 2011-06-23 08:13:44 PDT --- (In reply to comment #6) > Created an attachment (id=48334) View: https://bugs.freedesktop.org/attachment.cgi?id=48334 Review: https://bugs.freedesktop.org/review?bug=38602&attachme

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-23 Thread Christoph Bumiller
On 23.06.2011 04:12, Roland Scheidegger wrote: > Am 21.06.2011 20:59, schrieb Sven Arvidsson: >> This change broke a whole lot of stuff on r600g, for example Unigine >> Heaven: >> >> shader uses too many varying components (36 > 32) > It looks like the r600g driver claims to only support 10 va

[Mesa-dev] [Bug 38610] New: [regression] 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 broke ETQW

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38610 Summary: [regression] 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 broke ETQW Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity:

[Mesa-dev] [Bug 38610] [regression] 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 broke ETQW

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38610 --- Comment #1 from Chris Bandy 2011-06-23 10:18:24 PDT --- bug 38602 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.

[Mesa-dev] [Bug 38610] [regression] 1a339b6c71ebab6e1a64f05b2e133022d3bbcd15 broke ETQW

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38610 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 Sven Arvidsson changed: What|Removed |Added CC||s...@whiz.se --- Comment #9 from Sven A

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #10 from Sven Arvidsson 2011-06-23 10:29:24 PDT --- FWIW, the same commit causes the game ETQW to segfault on start, and log these errors: EE eg_state_inlines.h:388 r600_translate_colorswap - unsupported colorswap format 67 [...] Mes

Re: [Mesa-dev] [PATCH 2/2] glsl: never enable unsupported extensions (bug 38015)

2011-06-23 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/2011 04:26 PM, Paul Berry wrote: > For some extensions, _mesa_glsl_process_extension() only checked > whether the extension was supported *after* enabling it. Modified the > logic to always check first, and only enable supported extensions. >

Re: [Mesa-dev] [PATCH 00/10] intel: Support s8z24 texture renderbuffers when using separate stencil

2011-06-23 Thread Chad Versace
On Thu, 23 Jun 2011 02:23:53 -0700, Chad Versace wrote: > On gen5 there are no Piglit regressions, with and without separate stencil > enabled. Correction: There are no Piglit regressions except those caused by the stencil write mystery. - Chad ___ mes

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 --- Comment #11 from Sven Arvidsson 2011-06-23 12:49:29 PDT --- fa5478c5fe88e9c07d30203984b712925de84d2e with the patch takes care of the problems with ETQW. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

Re: [Mesa-dev] Upcoming Mesa releases

2011-06-23 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2011 12:13 PM, Ian Romanick wrote: > We've accumulated a lot of fixes in the 7.10 branch, so it seems like we > should do a 7.10.3 release soon. How do Friday (6/10) or Monday (6/13) > sound? > > There's also a huge number of changes sitting

Re: [Mesa-dev] [PATCH 1/2] vbo: Don't bother checking for stride == 0 for "any varying in a VBO".

2011-06-23 Thread Eric Anholt
On Fri, 17 Jun 2011 14:43:21 -0600, Brian Paul wrote: > On 06/17/2011 02:36 PM, Eric Anholt wrote: > > We would still want to consider that data as being in a VBO even if we > > managed to produce this case, which as far as I know we can't. > > --- > > src/mesa/vbo/vbo_rebase.c |3 +-- > >

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

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

[Mesa-dev] [Bug 38602] [bisected] Wrong display after "prefer native texture formats when possible" commit

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38602 Brian Paul changed: What|Removed |Added CC||v...@vmware.com --- Comment #13 from Brian

[Mesa-dev] [Bug 38622] New: [bisected] EGL assertion failure in many ES2 applications

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38622 Summary: [bisected] EGL assertion failure in many ES2 applications Product: Mesa Version: git Platform: All OS/Version: All Status: NEW Severity: major

[Mesa-dev] [Bug 38622] [bisected] EGL assertion failure in many ES2 applications

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38622 Ian Romanick changed: What|Removed |Added CC||i...@freedesktop.org, |

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Chia-I Wu
On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke wrote: > 2011/6/23 Chia-I Wu : >> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke >> wrote: >>> 2011/6/23 Chia-I Wu : On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke wrote: > Hi List, > > This series adds a graphics buf

[Mesa-dev] [Bug 38626] New: vbo: Don't discount stride breaks piglit on softpipe/r600g

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38626 Summary: vbo: Don't discount stride breaks piglit on softpipe/r600g Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: norma

[Mesa-dev] [Bug 38626] vbo: Don't discount stride breaks piglit on softpipe/r600g

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38626 --- Comment #1 from Brian Paul 2011-06-23 17:39:18 PDT --- Created an attachment (id=48361) View: https://bugs.freedesktop.org/attachment.cgi?id=48361 Review: https://bugs.freedesktop.org/review?bug=38626&attachment=48361 restore the old vbo_a

[Mesa-dev] [PATCH] indices: fix conversion of PIPE_PRIM_POLYGON to lines

2011-06-23 Thread Brian Paul
When the fill mode is PIPE_POLYGON_MODE_LINE we were basically converting the polygon into triangles, then drawing the outline of all the triangles. But we really only want to draw the lines around the perimeter of the polygon, not the interior lines. NOTE: This is a candidate for the 7.10 branch

[Mesa-dev] [Bug 38626] vbo: Don't discount stride breaks piglit on softpipe/r600g

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38626 --- Comment #2 from Rafael Monica 2011-06-23 17:57:06 PDT --- Yeah, the patch fixes the regression. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the ass

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-23 Thread Brian Paul
On 06/22/2011 08:51 PM, Bryan Cain wrote: On 06/16/2011 12:43 PM, Brian Paul wrote: On 06/16/2011 10:34 AM, Bryan Cain wrote: On Thu, Jun 16, 2011 at 9:08 AM, Brian Paulmailto:bri...@vmware.com>> wrote: Looks like nice work, Bryan. Just a few minor questions/comments for now:

[Mesa-dev] RFC: ctx->Driver.Map/UnmapTextureImage() hooks

2011-06-23 Thread Brian Paul
I'd like to overhaul the part of Mesa related to texture memory reading/writing. The basic idea would be to add two new driver functions: /** * Map a 2D slice of a texture image into user space. * (x,y,w,h) defines a region of interest (ROI). Reading/writing * texels outside of the ROI is

[Mesa-dev] [Bug 38629] New: openarena textures blacked out

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38629 Summary: openarena textures blacked out Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Co

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Chia-I Wu
On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote: > On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke > wrote: >> 2011/6/23 Chia-I Wu : >>> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke >>> wrote: 2011/6/23 Chia-I Wu : > On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke > wrot

[Mesa-dev] [PATCH 1/4] mesa: remove unused function _mesa_new_depthstencil_renderbuffer

2011-06-23 Thread Marek Olšák
--- src/mesa/main/renderbuffer.c | 23 --- src/mesa/main/renderbuffer.h |3 --- 2 files changed, 0 insertions(+), 26 deletions(-) diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index fa884c0..c36175c 100644 --- a/src/mesa/main/renderbuffer.c +++

[Mesa-dev] [PATCH 2/4] mesa: fix texstore of DEPTH24_STENCIL8 if srcFormat is STENCIL_INDEX

2011-06-23 Thread Marek Olšák
NOTE: This is a candidate for the 7.10 branch. --- src/mesa/main/texstore.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 6da3e4e..5c925a3 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore

[Mesa-dev] [PATCH 3/4] mesa: fix a memory leak in _mesa_unpack_depth_span

2011-06-23 Thread Marek Olšák
NOTE: This is a candidate for the 7.10 branch. --- src/mesa/main/pack.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index d6470e3..7d541dc 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -4782,6 +4782,7 @@ _me

[Mesa-dev] [PATCH 4/4] mesa: don't allocate memory in _mesa_unpack_depth_span if we don't need it

2011-06-23 Thread Marek Olšák
--- src/mesa/main/pack.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 7d541dc..a232a51 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -4683,7 +4683,7 @@ _mesa_unpack_depth_span( struct gl_co

[Mesa-dev] [PATCH] mesa/program: split reference program into hot/cold paths.

2011-06-23 Thread Dave Airlie
From: Dave Airlie inline the hotpath of the reference remaining the same, this shouldn't penalise the slow path at all but improve the hot path so we don't have to jump to the function. It also moves some assert checks under an #ifndef NDEBUG. Signed-off-by: Dave Airlie --- src/mesa/program/p

[Mesa-dev] [Bug 38622] [bisected] EGL assertion failure in many ES2 applications

2011-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38622 --- Comment #1 from Benjamin Franzke 2011-06-23 23:13:16 PDT --- I can't reproduce this with the egl x11 demos from mesa/demos. Also I dont see what could effect that in the bisected commit. Anyway, would give more information about which confi

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-23 Thread Benjamin Franzke
2011/6/24 Chia-I Wu : > On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote: >> On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke >> wrote: >>> 2011/6/23 Chia-I Wu : On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke wrote: > 2011/6/23 Chia-I Wu : >> On Wed, Jun 22, 2011 at 10:30 P