Re: [Mesa-dev] dri/nouveau: Fix build with --enable-shared-dricore.

2011-06-03 Thread Johannes Obermayr
Am Friday, 3. June 2011, 03:48:39 schrieb Sedat Dilek: > From [1]: > > --- a/configure.ac > +++ b/configure.ac > @@ -21,6 +21,7 @@ dnl Versions for external dependencies > LIBDRM_REQUIRED=2.4.24 > LIBDRM_RADEON_REQUIRED=2.4.24 > LIBDRM_INTEL_REQUIRED=2.4.24 > +LIBDRM_NOUVEAU_REQUIRED=0.6 > ... >

[Mesa-dev] nouveau_vieux problem?

2011-06-03 Thread son_of_the_osiris
When I try to enable kdewin effects I get crash and there is something like this in .xsesion-errors libEGL warning: DRI2: failed to find _glapi_get_proc_address libEGL fatal: DRI2: did not find extension DRI_IMAGE version 1 I am using current mesa and xorg-server and xf86-video-nouveau from git.

Re: [Mesa-dev] dri/nouveau: Fix build with --enable-shared-dricore.

2011-06-03 Thread Sedat Dilek
On Fri, Jun 3, 2011 at 12:19 PM, Johannes Obermayr wrote: > Am Friday, 3. June 2011, 03:48:39 schrieb Sedat Dilek: >> From [1]: >> >> --- a/configure.ac >> +++ b/configure.ac >> @@ -21,6 +21,7 @@ dnl Versions for external dependencies >> LIBDRM_REQUIRED=2.4.24 >> LIBDRM_RADEON_REQUIRED=2.4.24 >> L

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults when compiled with shared glapi

2011-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 ojab changed: What|Removed |Added CC||o...@ojab.ru -- Configure bugmail: https://bugs.

Re: [Mesa-dev] Optimize logbase2() function

2011-06-03 Thread Roland Scheidegger
Am 02.06.2011 14:43, schrieb Benjamin Bellec: > Hello, > > I performed several tests of the logbase2() function. > This function is defined and used in these files: btw you could probably make it faster if you'd just use the x86 BSR instruction - at least newer intel cpus handle that with a throu

Re: [Mesa-dev] Optimize logbase2() function

2011-06-03 Thread Matt Turner
On Fri, Jun 3, 2011 at 10:44 AM, Roland Scheidegger wrote: > Am 02.06.2011 14:43, schrieb Benjamin Bellec: >> Hello, >> >> I performed several tests of the logbase2() function. >> This function is defined and used in these files: > > btw you could probably make it faster if you'd just use the x86

[Mesa-dev] [PATCH] AST dump: fixed printing of conditionals.

2011-06-03 Thread Paul Berry
ast_expression::print() had an incorrect index into the subexpressions array, so (a ? b : c) was being incorrectly rendered as (a ? b : b). --- src/glsl/glsl_parser_extras.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_

Re: [Mesa-dev] [PATCH] AST dump: fixed printing of conditionals.

2011-06-03 Thread Brian Paul
On 06/03/2011 11:02 AM, Paul Berry wrote: ast_expression::print() had an incorrect index into the subexpressions array, so (a ? b : c) was being incorrectly rendered as (a ? b : b). --- src/glsl/glsl_parser_extras.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sr

[Mesa-dev] [PATCH] IR dump: fixed printing of structure constants.

2011-06-03 Thread Paul Berry
ir_print_visitor::visit(ir_constant *) was failing to index properly into ir->type->fields.structure, so the first field name was being reprinted for every field in the structure. --- src/glsl/ir_print_visitor.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/i

Re: [Mesa-dev] [PATCH] IR dump: fixed printing of structure constants.

2011-06-03 Thread Brian Paul
On 06/03/2011 12:23 PM, Paul Berry wrote: ir_print_visitor::visit(ir_constant *) was failing to index properly into ir->type->fields.structure, so the first field name was being reprinted for every field in the structure. --- src/glsl/ir_print_visitor.cpp |2 +- 1 files changed, 1 insertio

[Mesa-dev] [PATCH 1/2] i965/brw: Emit state for hiz and separate stencil buffers

2011-06-03 Thread Chad Versace
When emitting 3DSTATE_DEPTH_BUFFER, also emit 3DSTATE_HIER_DEPTH_BUFFER if there is a hiz buffer. Ditto for 3DSTATE_STENCIL_BUFFER and a separate stencil buffer. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/i965/brw_misc_state.c | 114 -- src/mesa/drivers/dri/i

[Mesa-dev] [PATCH 2/2] intel: Define span functions for S8 renderbuffers

2011-06-03 Thread Chad Versace
Since the stencil buffer is interleaved, the generic Mesa renderbuffer accessors do not suffice. Custom span functions are necessary. Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_span.c | 64 +++ 1 files changed, 64 insertions(+), 0 deletions(-)

Re: [Mesa-dev] [PATCH 1/2] meta: Don't do srgb to linear decode when blitting srgb textures.

2011-06-03 Thread Eric Anholt
On Thu, 02 Jun 2011 14:41:06 -0700, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/01/2011 01:17 PM, Eric Anholt wrote: > > Fixes the GL_SRGB8_ALPHA8 -> GL_RGBA8 blits in fbo-srgb-blit.c > > --- > > src/mesa/drivers/common/meta.c | 10 ++ > > 1 files ch

[Mesa-dev] [Bug 37862] Mesa 7.11-devel implementation error: _mesa_texstore_null() is called

2011-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37862 --- Comment #2 from Pepi 2011-06-03 15:13:50 PDT --- (In reply to comment #1) > Using what driver? I've played the game without problems with i965, r300g and > r600g. If I'm in right place: System Tools - System Settings - Graphics: Driver: Gall

[Mesa-dev] [Bug 37862] Mesa 7.11-devel implementation error: _mesa_texstore_null() is called

2011-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37862 --- Comment #3 from Marek Olšák 2011-06-03 15:23:25 PDT --- Please try the latest Mesa git (that is at least 6491e9593d5cbc5644eb02593a2f562447efdcbb). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are r

Re: [Mesa-dev] [PATCH 1/2] i965/brw: Emit state for hiz and separate stencil buffers

2011-06-03 Thread Kenneth Graunke
On 06/03/2011 12:47 PM, Chad Versace wrote: When emitting 3DSTATE_DEPTH_BUFFER, also emit 3DSTATE_HIER_DEPTH_BUFFER if there is a hiz buffer. Ditto for 3DSTATE_STENCIL_BUFFER and a separate stencil buffer. Signed-off-by: Chad Versace Overall, looks good...a few comments inline. --- src/mes

Re: [Mesa-dev] [PATCH 2/2] intel: Define span functions for S8 renderbuffers

2011-06-03 Thread Kenneth Graunke
On 06/03/2011 12:47 PM, Chad Versace wrote: Since the stencil buffer is interleaved, the generic Mesa renderbuffer accessors do not suffice. Custom span functions are necessary. Signed-off-by: Chad Versace I know you had done this with handwritten functions at one point, rather than using ste

Re: [Mesa-dev] [PATCH 1/2] i965/brw: Emit state for hiz and separate stencil buffers

2011-06-03 Thread Eric Anholt
On Fri, 3 Jun 2011 12:47:58 -0700, Chad Versace wrote: > When emitting 3DSTATE_DEPTH_BUFFER, also emit 3DSTATE_HIER_DEPTH_BUFFER if > there is a hiz buffer. Ditto for 3DSTATE_STENCIL_BUFFER and a separate > stencil buffer. > > Signed-off-by: Chad Versace both: Reviewed-by: Eric Anholt I've b

[Mesa-dev] [PATCH 1/4] Gallium: fix indentation in u_blitter.c

2011-06-03 Thread Stéphane Marchesin
--- src/gallium/auxiliary/util/u_blitter.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index a4c3990..528f344 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxilia

[Mesa-dev] [PATCH 2/4] dri2: protect dri2FlushFrontBuffer against NULL buffers.

2011-06-03 Thread Stéphane Marchesin
--- src/glx/dri2_glx.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index b9f6f7f..942f7fc 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -457,6 +457,12 @@ static void dri2FlushFrontBuffer(__DRIdrawable *driDraw

[Mesa-dev] [PATCH 3/4] i915g: add missing and unsupported PIPE_CAPs to avoid debug messages.

2011-06-03 Thread Stéphane Marchesin
--- src/gallium/drivers/i915/i915_screen.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index da96b42..c86baa5 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/driv

[Mesa-dev] [PATCH 4/4] i915g: handle varyings properly.

2011-06-03 Thread Stéphane Marchesin
--- src/gallium/drivers/i915/i915_fpc_translate.c | 10 +++- src/gallium/drivers/i915/i915_state_derived.c | 26 ++-- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_trans

[Mesa-dev] [PATCH] i915g: implement TGSI_OPCODE_SEQ.

2011-06-03 Thread Stéphane Marchesin
--- src/gallium/drivers/i915/i915_fpc_translate.c | 28 + 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c index 9f3c766..695a396 100644 --- a/src/gallium/drivers