[Mesa-dev] [Bug 54142] Mesa: User error: GL_INVALID_OPERATION

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54142 --- Comment #2 from Laurent carlier 2012-08-28 06:34:54 UTC --- When adding more verbosity: Loading shaders/first.frag 0:45(11): error: assignment to read-only variable 'lightDir' error: linking with uncompiled shaderLoading shaders/second.vert

[Mesa-dev] [Bug 54142] Mesa: User error: GL_INVALID_OPERATION

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54142 --- Comment #1 from Laurent carlier 2012-08-28 06:33:53 UTC --- Created attachment 66199 --> https://bugs.freedesktop.org/attachment.cgi?id=66199 The culprit shader -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

[Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-27 Thread Anuj Phogat
This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen < 4. I'll send out a separate patch to avoid enabling _mesa_meta_GenerateMipmap() in those chips. No regressions observed in all.tests with this patch. Need more t

[Mesa-dev] [Bug 54142] New: Mesa: User error: GL_INVALID_OPERATION

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54142 Bug #: 54142 Summary: Mesa: User error: GL_INVALID_OPERATION Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

Re: [Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-27 Thread Stéphane Marchesin
On Mon, Aug 27, 2012 at 2:48 PM, Kenneth Graunke wrote: > On 08/27/2012 10:49 AM, Eric Anholt wrote: >> Saves 26.5MB of wasted memory allocation in the l4d2 demo. >> --- >> src/mesa/drivers/dri/i965/brw_context.h | 15 --- >> src/mesa/drivers/dri/i965/brw_fs.cpp|2 -- >>

Re: [Mesa-dev] Mesa (master): i965: Double the size of the state cache.

2012-08-27 Thread Stéphane Marchesin
On Mon, Aug 27, 2012 at 8:58 PM, Kenneth Graunke wrote: > On 08/27/2012 03:00 PM, Stéphane Marchesin wrote: >> On Mon, Aug 27, 2012 at 2:24 PM, Kenneth Graunke >> wrote: >>> Module: Mesa >>> Branch: master >>> Commit: 87cdefed405da1a57a006737297d20ba0c25fa1b >>> URL: >>> http://cgit.freedeskt

Re: [Mesa-dev] Mesa (master): i965: Double the size of the state cache.

2012-08-27 Thread Kenneth Graunke
On 08/27/2012 03:00 PM, Stéphane Marchesin wrote: > On Mon, Aug 27, 2012 at 2:24 PM, Kenneth Graunke > wrote: >> Module: Mesa >> Branch: master >> Commit: 87cdefed405da1a57a006737297d20ba0c25fa1b >> URL: >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=87cdefed405da1a57a006737297d20ba0c25fa

[Mesa-dev] [PATCH 6/6] mesa: convert a few more macros to inline functions

2012-08-27 Thread Brian Paul
From: Brian Paul --- src/mesa/main/macros.h | 45 ++--- 1 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h index bc4d1a6..5af9487 100644 --- a/src/mesa/main/macros.h +++ b/src/mesa/main/macros

[Mesa-dev] [PATCH 5/6] mesa: remove COPY_4V_CAST() macro

2012-08-27 Thread Brian Paul
From: Brian Paul Only used in one place, and not really needed. --- src/mesa/main/clear.c |2 +- src/mesa/main/macros.h |9 - 2 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c index 7cc204b..cfb0600 100644 --- a/src/mes

[Mesa-dev] [PATCH 4/6] mesa: convert a bunch of math macros to inline functions

2012-08-27 Thread Brian Paul
From: Brian Paul --- src/mesa/main/macros.h | 142 +--- 1 files changed, 86 insertions(+), 56 deletions(-) diff --git a/src/mesa/main/macros.h b/src/mesa/main/macros.h index d1df2ce..411b16d 100644 --- a/src/mesa/main/macros.h +++ b/src/mesa/main/mac

[Mesa-dev] [PATCH 3/6] tnl: use INTERP_4F() instead of four INTERP_F() calls

2012-08-27 Thread Brian Paul
From: Brian Paul --- src/mesa/tnl/t_vertex_generic.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/mesa/tnl/t_vertex_generic.c b/src/mesa/tnl/t_vertex_generic.c index 7b7f511..44d6250 100644 --- a/src/mesa/tnl/t_vertex_generic.c +++ b/src/mesa/tnl/t_vertex_gene

[Mesa-dev] [PATCH 2/6] swrast: fix wrong assignments in _swrast_add_spec_terms_line()

2012-08-27 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_lines.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index 2078be4..cfd3e6f 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -188,8 +188,8 @@ _swra

[Mesa-dev] [PATCH 1/6] mesa: test for GL_EXT_framebuffer_sRGB in glPopAttrib()

2012-08-27 Thread Brian Paul
From: Brian Paul To avoid spurious GL_INVALID_ENUM errors if the extension isn't supported. --- src/mesa/main/attrib.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 1a04eeb..8cb2a68 100644 --- a/src/mesa/main/attr

[Mesa-dev] [Bug 54140] [llvmpipe] GL_EXT_texture_compression_s3tc is no longer enabled even when libtxc_dxtn is available.

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54140 --- Comment #1 from Matt Turner 2012-08-28 03:53:17 UTC --- (In reply to comment #0) > $ scons Looks like gallium.py needs to be modified to check for dlopen and define HAVE_DLOPEN. It can probably be added in the same spot where _GNU_SOURCE is

[Mesa-dev] [Bug 54140] New: [llvmpipe] GL_EXT_texture_compression_s3tc is no longer enabled even when libtxc_dxtn is available.

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54140 Bug #: 54140 Summary: [llvmpipe] GL_EXT_texture_compression_s3tc is no longer enabled even when libtxc_dxtn is available. Classification: Unclassified Product: Mesa Version: git

Re: [Mesa-dev] [PATCH 1/7] i965: Drop manual hiz resolves in span rendering.

2012-08-27 Thread Ian Romanick
Nice work. Patches 1 & 2 are Acked-by: Ian Romanick and patches 3 through 7 are Reviewed-by: Ian Romanick On 08/26/2012 04:46 PM, Eric Anholt wrote: swrast uses MapRenderbuffer, which leads to intel_miptree_map, which does the depth resolve. --- src/mesa/drivers/dri/intel/intel_span.c |

[Mesa-dev] [PATCH] u_vbuf: avoid unnecessary update of the vertex elements

2012-08-27 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- Improves performance for Lightsmark (and probably other apps). src/gallium/auxiliary/util/u_vbuf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c index 4141ba5..52d

Re: [Mesa-dev] [PATCH 3/7] r600g: fix evergreen 8x MSAA sample positions

2012-08-27 Thread Paul Berry
On 26 August 2012 18:04, Marek Olšák wrote: > On Thu, Aug 23, 2012 at 11:39 PM, Paul Berry > wrote: > > On 23 August 2012 10:42, Marek Olšák wrote: > >> > >> On Thu, Aug 23, 2012 at 6:42 PM, Paul Berry > >> wrote: > >> > On 22 August 2012 18:54, Marek Olšák wrote: > >> >> > >> >> The original

Re: [Mesa-dev] Mesa (master): i965: Double the size of the state cache.

2012-08-27 Thread Stéphane Marchesin
On Mon, Aug 27, 2012 at 2:24 PM, Kenneth Graunke wrote: > Module: Mesa > Branch: master > Commit: 87cdefed405da1a57a006737297d20ba0c25fa1b > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=87cdefed405da1a57a006737297d20ba0c25fa1b > > Author: Kenneth Graunke > Date: Sun Aug 26 00:07:

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-27 Thread Matt Turner
On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke wrote: > A while back, we split off GLw into a separate repository. The rationale > was that GLw should be maintained and released independently from > Mesa/Gallium since it hardly ever changes and isn't closely tied to the core > GL and drivers. >

Re: [Mesa-dev] [PATCH 3/3] i965: Make the param pointer arrays for the VS dynamically sized.

2012-08-27 Thread Kenneth Graunke
On 08/27/2012 11:40 AM, Ian Romanick wrote: > On 08/27/2012 10:49 AM, Eric Anholt wrote: >> Saves 96MB of wasted memory in the l4d2 demo. >> --- >> src/mesa/drivers/dri/i965/brw_context.h |4 ++-- >> src/mesa/drivers/dri/i965/brw_state_cache.c |2 ++ >> src/mesa/drivers/dri/i965/brw

Re: [Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-27 Thread Kenneth Graunke
On 08/27/2012 10:49 AM, Eric Anholt wrote: > Saves 26.5MB of wasted memory allocation in the l4d2 demo. > --- > src/mesa/drivers/dri/i965/brw_context.h | 15 --- > src/mesa/drivers/dri/i965/brw_fs.cpp|2 -- > src/mesa/drivers/dri/i965/brw_state_cache.c |7 + > src

Re: [Mesa-dev] [PATCH 3/7] i965: Drop support for forcing drawing through sw fallbacks.

2012-08-27 Thread Kenneth Graunke
On 08/26/2012 04:46 PM, Eric Anholt wrote: > It turns out it hasn't worked since at least 8.0. Patches 3-7 are: Reviewed-by: Kenneth Graunke I'm not planning on reviewing 1 and 2. I'll leave that to Chad. ___ mesa-dev mailing list mesa-dev@lists.freed

Re: [Mesa-dev] [PATCH 06/10] i965/fs: Assume shadow sampler swizzling is .

2012-08-27 Thread Kenneth Graunke
On 08/27/2012 01:38 PM, Eric Anholt wrote: > Kenneth Graunke writes: > >> Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth >> textures. There are no Y, Z, or W components. > > Seems like this doesn't even need to be shadow-sampler-dependent, just > whether the baseformat is

Re: [Mesa-dev] [PATCH 02/10] i965: Don't set vp_outputs_written in the WM program key on Gen6+.

2012-08-27 Thread Kenneth Graunke
On 08/27/2012 01:28 PM, Eric Anholt wrote: > Kenneth Graunke writes: > >> It's only used by the old backend on pre-Sandybridge hardware. > > It's also used by the new backend on pre-snb hw. Uh...yeah. I don't know how I missed that. Thanks. I'll update the commit message. __

Re: [Mesa-dev] i965 precompile improvements

2012-08-27 Thread Eric Anholt
Kenneth Graunke writes: > Here's a follow-up to my last series. Now that the FS precompile > doesn't completely keel over in the face of texturing, I figured I'd > try to fix it up. > > The result is pretty good: we now guess correctly most of the time. > On Sandybridge, my L4D2 timedemo has onl

Re: [Mesa-dev] [PATCH 06/10] i965/fs: Assume shadow sampler swizzling is .

2012-08-27 Thread Eric Anholt
Kenneth Graunke writes: > Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth > textures. There are no Y, Z, or W components. Seems like this doesn't even need to be shadow-sampler-dependent, just whether the baseformat is depth/depthstencil. pgpZ545VALtEo.pgp Description: P

Re: [Mesa-dev] [PATCH 02/10] i965: Don't set vp_outputs_written in the WM program key on Gen6+.

2012-08-27 Thread Eric Anholt
Kenneth Graunke writes: > It's only used by the old backend on pre-Sandybridge hardware. It's also used by the new backend on pre-snb hw. pgp55zBgY0vyF.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lis

[Mesa-dev] [Bug 53942] [bug] Weston-DRM segv after start-up from weston_output_finish_frame (in gbm_bo_write)

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53942 U. Artie Eoff changed: What|Removed |Added CC||mesa-dev@lists.freedesktop.

Re: [Mesa-dev] [PATCH 7/7] i965: Disable the swrast context setup on GL 3.1 core.

2012-08-27 Thread Chad Versace
On 08/26/2012 04:46 PM, Eric Anholt wrote: > I've reviewed the code, and the swrast callsites remaining are all in > drawpixels/copypixels/bitmap/accum, or _swrast_BlitFramebuffer that shouldn't > be hit. A piglit run with the context setup disabled on legacy GL and GLES2 > showed regressions only

Re: [Mesa-dev] [PATCH 2/7] i965: Move depth resolve for span fallbacks to a simpler place.

2012-08-27 Thread Chad Versace
On 08/26/2012 04:46 PM, Eric Anholt wrote: > --- > src/mesa/drivers/dri/intel/intel_span.c | 28 > --- > src/mesa/drivers/dri/intel/intel_tex_validate.c |3 +++ > 2 files changed, 3 insertions(+), 28 deletions(-) > > diff --git a/src/mesa/drivers/dri/intel/intel

Re: [Mesa-dev] [PATCH 1/7] i965: Drop manual hiz resolves in span rendering.

2012-08-27 Thread Chad Versace
On 08/26/2012 04:46 PM, Eric Anholt wrote: > swrast uses MapRenderbuffer, which leads to intel_miptree_map, which does the > depth resolve. > --- > src/mesa/drivers/dri/intel/intel_span.c | 10 -- > 1 file changed, 10 deletions(-) Reviewed-by: Chad Versace _

Re: [Mesa-dev] [PATCH 1/6] gbm: Use libkms to replace DRI cursor images

2012-08-27 Thread Dave Airlie
On Wed, Aug 22, 2012 at 8:14 AM, Jakob Bornecrantz wrote: > Uses libkms instead of dri image cursor. Since this is the only user of the > DRI > cursor and the write interface we can remove cursor surfaces entirely from the > DRI interface and as a consequence also from the Gallium interface as we

Re: [Mesa-dev] [PATCH 1/3] glsl: Count builtin uniforms against uniform component limits.

2012-08-27 Thread Ian Romanick
Other than the one nit in patch 3, this series is Reviewed-by: Ian Romanick On 08/27/2012 10:49 AM, Eric Anholt wrote: We don't fully process the builtin uniforms, but at least num_uniform_components reflects reality now. --- src/glsl/link_uniforms.cpp |5 - 1 file changed, 4 insert

Re: [Mesa-dev] [PATCH 3/3] i965: Make the param pointer arrays for the VS dynamically sized.

2012-08-27 Thread Ian Romanick
On 08/27/2012 10:49 AM, Eric Anholt wrote: Saves 96MB of wasted memory in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h |4 ++-- src/mesa/drivers/dri/i965/brw_state_cache.c |2 ++ src/mesa/drivers/dri/i965/brw_vs.c | 32 +++ src/mes

[Mesa-dev] [Bug 53884] gl_FragCoord gets corrupted in some camera angles

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53884 --- Comment #8 from Lauri Kasanen 2012-08-27 18:40:02 UTC --- fglrx shows the same behavior. Progress - I found it's an ordering bug. 1. Render scene to rttFinal 2. Bind and clear to gray rttTMP 3. Multiply rttTMP into rttFINAL using blending

Re: [Mesa-dev] [PATCH 5/5] mesa/es: Validate glRenderbufferStorage internalFormat in Mesa code rather than the ES wrapper

2012-08-27 Thread Ian Romanick
On 08/25/2012 11:00 AM, Eric Anholt wrote: Ian Romanick writes: On 08/24/2012 02:46 PM, Eric Anholt wrote: Ian Romanick writes: case GL_RED: case GL_R8: + return ctx->API != API_OPENGLES && ctx->Extensions.ARB_texture_rg + ? GL_RED : 0; R8 should have the gles3 su

[Mesa-dev] [PATCH 3/3] i965: Make the param pointer arrays for the VS dynamically sized.

2012-08-27 Thread Eric Anholt
Saves 96MB of wasted memory in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h |4 ++-- src/mesa/drivers/dri/i965/brw_state_cache.c |2 ++ src/mesa/drivers/dri/i965/brw_vs.c | 32 +++ src/mesa/drivers/dri/i965/brw_vs.h |1 + 4

[Mesa-dev] [PATCH 1/3] glsl: Count builtin uniforms against uniform component limits.

2012-08-27 Thread Eric Anholt
We don't fully process the builtin uniforms, but at least num_uniform_components reflects reality now. --- src/glsl/link_uniforms.cpp |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp index eef9025..aa8a8b3 100644 ---

[Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-27 Thread Eric Anholt
Saves 26.5MB of wasted memory allocation in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h | 15 --- src/mesa/drivers/dri/i965/brw_fs.cpp|2 -- src/mesa/drivers/dri/i965/brw_state_cache.c |7 + src/mesa/drivers/dri/i965/brw_wm.c | 38 +++

[Mesa-dev] [Bug 53179] libOSMesa / libdricore not linked well

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53179 --- Comment #2 from Matt Turner 2012-08-27 17:43:18 UTC --- You don't even want OSMesa linked against glapi at all, do you? If you link against glapi, can you use that OSMesa binary with, say, the nvidia proprietary drivers? -- Configure bugmai

[Mesa-dev] [Bug 53179] libOSMesa / libdricore not linked well

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53179 --- Comment #1 from Rafał Mużyło 2012-08-27 17:17:01 UTC --- Created attachment 66184 --> https://bugs.freedesktop.org/attachment.cgi?id=66184 patch that sems to clean up unresolved symbols in libOSMesa (for mesa 8.1) While I'm not 100% sure t

Re: [Mesa-dev] [PATCH] gallium/util: implement tile code for PIPE_FORMAT_Z32_FLOAT

2012-08-27 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > --- > src/gallium/auxiliary/util/u_tile.c | 36 > +++ > 1 files changed, 36 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_tile.c > b/src/gallium/auxiliary/util/u_tile.c > index

Re: [Mesa-dev] [PATCH] r600g: fix relative addressing on RS880

2012-08-27 Thread Alex Deucher
On Mon, Aug 27, 2012 at 11:54 AM, Michel Dänzer wrote: > On Mon, 2012-08-27 at 14:14 +0200, Marek Olšák wrote: >> On Mon, Aug 27, 2012 at 10:37 AM, Michel Dänzer wrote: >> > On Mon, 2012-08-27 at 02:27 +0200, Marek Olšák wrote: >> >> This sets AR_HANDLE_NORMAL for RS880. I've added RS780 too, bec

Re: [Mesa-dev] [PATCH v2 2/3] glapi/glx: call __glEmptyImage if USE_XCB, not memcpy directly

2012-08-27 Thread Brian Paul
On 08/23/2012 07:27 AM, Julien Cristau wrote: On Sat, Jul 28, 2012 at 13:04:56 +0200, Julien Cristau wrote: On Fri, Jul 20, 2012 at 11:09:19 +0200, Julien Cristau wrote: From: Julien Cristau We were stomping on the caller's buffer by ignoring their alignment requests and other pixel store mo

Re: [Mesa-dev] [PATCH] st/mesa: use fallback path for glCopyTexSubImage(GL_TEXTURE_1D_ARRAY)

2012-08-27 Thread Jose Fonseca
Sounds good to me. Jose - Original Message - > Fixes many failing cases in piglit copyteximage test. > --- > src/mesa/state_tracker/st_cb_texture.c | 10 ++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/state_tracker/st_cb_texture.c > b/src/mesa

Re: [Mesa-dev] [PATCH] r600g: fix relative addressing on RS880

2012-08-27 Thread Michel Dänzer
On Mon, 2012-08-27 at 14:14 +0200, Marek Olšák wrote: > On Mon, Aug 27, 2012 at 10:37 AM, Michel Dänzer wrote: > > On Mon, 2012-08-27 at 02:27 +0200, Marek Olšák wrote: > >> This sets AR_HANDLE_NORMAL for RS880. I've added RS780 too, because I > >> thought > >> it was a similar GPU, but I cannot

[Mesa-dev] [PATCH] gallium/util: implement tile code for PIPE_FORMAT_Z32_FLOAT

2012-08-27 Thread Brian Paul
--- src/gallium/auxiliary/util/u_tile.c | 36 +++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index ea4b91f..48e73c4 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++

[Mesa-dev] [PATCH] st/mesa: use fallback path for glCopyTexSubImage(GL_TEXTURE_1D_ARRAY)

2012-08-27 Thread Brian Paul
Fixes many failing cases in piglit copyteximage test. --- src/mesa/state_tracker/st_cb_texture.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 3de96ad..ed3bbc7 100644 --- a/s

Re: [Mesa-dev] [PATCH 0/5] MSAA on R6xx

2012-08-27 Thread Török Edwin
On 08/27/2012 05:09 PM, Marek Olšák wrote: > I think the forward compatible contexts can only be created with > OpenGL 3.1 and later versions, but I am not 100% sure. According to comments in GLFW it appears that forward compat. contexts should work with 3.0: // Context profiles are only defined

Re: [Mesa-dev] r300g broken

2012-08-27 Thread Tom Stellard
> >Please run "git clean -fdX" in the Mesa repository and then > >reconfigure and rebuild. > > Almost the same, even with this change: r300/compiler: Use variable > lists in the rename_regs pass > > When I run opera with HW enabled in valgrind I see something like this: > > r300: DRM version: 2.1

Re: [Mesa-dev] r300g broken

2012-08-27 Thread Marek Olšák
I tested r300g yesterday and there were no issues. Please double-check that the versions of libglapi, libdricore, and r300_dri match, i.e. they are compiled from the same git commit. Marek On Mon, Aug 27, 2012 at 11:43 AM, wrote: >>Please run "git clean -fdX" in the Mesa repository and then >>r

Re: [Mesa-dev] [PATCH 0/5] MSAA on R6xx

2012-08-27 Thread Marek Olšák
I think the forward compatible contexts can only be created with OpenGL 3.1 and later versions, but I am not 100% sure. Marek On Mon, Aug 27, 2012 at 3:47 PM, Török Edwin wrote: > On 08/27/2012 12:33 PM, Török Edwin wrote: >> On 08/27/2012 05:00 AM, Marek Olšák wrote: >>> This series implements

Re: [Mesa-dev] [PATCH 0/5] MSAA on R6xx

2012-08-27 Thread Török Edwin
On 08/27/2012 12:33 PM, Török Edwin wrote: > On 08/27/2012 05:00 AM, Marek Olšák wrote: >> This series implements MSAA for the R6xx family of GPUs. >> >> The only problem is that the depth decompression doesn't work with MSAA >> depth buffers, which means for the GL user that depth-stencil blittin

Re: [Mesa-dev] [PATCH] radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

2012-08-27 Thread Michel Dänzer
On Mon, 2012-08-27 at 14:54 +0200, Christian König wrote: > On 27.08.2012 14:46, Michel Dänzer wrote: > > On Fre, 2012-08-24 at 12:18 -0400, Alex Deucher wrote: > >> On Fri, Aug 24, 2012 at 11:37 AM, Michel Dänzer wrote: > >>> From: Michel Dänzer > >>> > >>> It should be initialized by the kerne

Re: [Mesa-dev] [PATCH] radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

2012-08-27 Thread Christian König
On 27.08.2012 14:46, Michel Dänzer wrote: On Fre, 2012-08-24 at 12:18 -0400, Alex Deucher wrote: On Fri, Aug 24, 2012 at 11:37 AM, Michel Dänzer wrote: From: Michel Dänzer It should be initialized by the kernel as necessary. Does this patch work ok after powering off the system to make sure

Re: [Mesa-dev] [PATCH] radeonsi: Don't write to the PA_SC_RASTER_CONFIG register.

2012-08-27 Thread Michel Dänzer
On Fre, 2012-08-24 at 12:18 -0400, Alex Deucher wrote: > On Fri, Aug 24, 2012 at 11:37 AM, Michel Dänzer wrote: > > From: Michel Dänzer > > > > It should be initialized by the kernel as necessary. > > Does this patch work ok after powering off the system to make sure > there is no state in the

Re: [Mesa-dev] [PATCH] r600g: fix relative addressing on RS880

2012-08-27 Thread Marek Olšák
On Mon, Aug 27, 2012 at 10:37 AM, Michel Dänzer wrote: > On Mon, 2012-08-27 at 02:27 +0200, Marek Olšák wrote: >> This sets AR_HANDLE_NORMAL for RS880. I've added RS780 too, because I thought >> it was a similar GPU, but I cannot test it. >> >> I don't really know if this fix is correct. All I can

Re: [Mesa-dev] [PATCH 0/5] MSAA on R6xx

2012-08-27 Thread Török Edwin
On 08/27/2012 05:00 AM, Marek Olšák wrote: > This series implements MSAA for the R6xx family of GPUs. > > The only problem is that the depth decompression doesn't work with MSAA depth > buffers, which means for the GL user that depth-stencil blitting and > depth-stencil resolve don't work, altho

Re: [Mesa-dev] [PATCH] r600g: fix relative addressing on RS880

2012-08-27 Thread Michel Dänzer
On Mon, 2012-08-27 at 02:27 +0200, Marek Olšák wrote: > This sets AR_HANDLE_NORMAL for RS880. I've added RS780 too, because I thought > it was a similar GPU, but I cannot test it. > > I don't really know if this fix is correct. All I can say is that either > AR_HANDLE_RV6XX is broken (unlikely, b

Re: [Mesa-dev] r300g broken

2012-08-27 Thread son_of_the_osiris
>Please run "git clean -fdX" in the Mesa repository and then >reconfigure and rebuild. Almost the same, even with this change: r300/compiler: Use variable lists in the rename_regs pass When I run opera with HW enabled in valgrind I see something like this: r300: DRM version: 2.17.0, Name: ATI

[Mesa-dev] Fwd: GLX_INTEL_swap_event crashes driver when swapping window buffers

2012-08-27 Thread Daniel Manjarres
Hi, I'm just forwarding this message that I sent to debian upstream to you guys too. Have great day! Original Message Subject:GLX_INTEL_swap_event crashes driver when swapping window buffers Date: Sun, 19 Aug 2012 12:30:30 -0700 From: Daniel Manjarres To: sub.

[Mesa-dev] [Bug 54106] New: Fix a memory leak in dri2_terminate()

2012-08-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54106 Bug #: 54106 Summary: Fix a memory leak in dri2_terminate() Classification: Unclassified Product: Mesa Version: git Platform: All OS/Version: All Status: NEW