Re: [Mesa-dev] [PATCH] i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats.

2012-07-30 Thread Kenneth Graunke
On 07/30/2012 03:28 PM, Brian Paul wrote: > On 07/30/2012 02:13 PM, Eric Anholt wrote: >> Fixes some failures in getteximage-formats. >> --- >> src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 14 ++ >> 1 file changed, 6 insertions(+), 8 deletions(-) >> >> diff --git a/src/mesa/d

Re: [Mesa-dev] How can I build a libGL.so library with i965 support.

2012-07-30 Thread Matt Turner
On Mon, Jul 30, 2012 at 8:26 PM, chris wrote: > In file of "src/gallium/state_trackers/egl/x11/native_dri2.c" > How can I enable the GLX_DIRECT_RENDERING definition in configure time. > GLX_DIRECT_RENDERING is defaultly no defined. so x11_create_dri2_display() > is empty. > > My OS is ubuntu 10.04

[Mesa-dev] How can I build a libGL.so library with i965 support.

2012-07-30 Thread chris
In file of "src/gallium/state_trackers/egl/x11/native_dri2.c" How can I enable the GLX_DIRECT_RENDERING definition in configure time. GLX_DIRECT_RENDERING is defaultly no defined. so x11_create_dri2_display() is empty. My OS is ubuntu 10.04 lucid. Can someone help me? __

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 Ernst Sjöstrand changed: What|Removed |Added CC||ern...@gmail.com -- Configure bugmail

Re: [Mesa-dev] [PATCH] i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats.

2012-07-30 Thread Brian Paul
On 07/30/2012 02:13 PM, Eric Anholt wrote: Fixes some failures in getteximage-formats. --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/

Re: [Mesa-dev] [PATCH v4 4/7] glsl: add support for using API_OPENGL_CORE

2012-07-30 Thread Kenneth Graunke
On 07/27/2012 02:45 PM, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > src/glsl/glsl_parser_extras.cpp | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) > > diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp > index df40459..7e85f41

Re: [Mesa-dev] [PATCH] i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats.

2012-07-30 Thread Kenneth Graunke
On 07/30/2012 01:13 PM, Eric Anholt wrote: > Fixes some failures in getteximage-formats. > --- > src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c > b/src/mes

[Mesa-dev] [PATCH] i965: Add support for GL_SKIP_DECODE_EXT on other SRGB formats.

2012-07-30 Thread Eric Anholt
Fixes some failures in getteximage-formats. --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 65ca2fc..

Re: [Mesa-dev] [PATCH v4 3/7] mesa: add support for using API_OPENGL_CORE

2012-07-30 Thread Eric Anholt
Jordan Justen writes: > diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c > index 15de321..2a39693 100644 > --- a/src/mesa/main/get.c > +++ b/src/mesa/main/get.c > @@ -391,6 +391,7 @@ extra_NV_read_buffer_api_gl[] = { > #define API_OPENGL_BIT (1 << API_OPENGL) > #define API_OPENGLES_BIT (1

Re: [Mesa-dev] [Intel-gfx] [PATCH 1/5] intel gen4/5: fix GL_VERTEX_PROGRAM_TWO_SIDE.

2012-07-30 Thread Olivier Galibert
On Mon, Jul 30, 2012 at 10:30:57AM -0700, Eric Anholt wrote: > I'm perfectly fine with the VUE containing slots for both when the app > has gone out of its way to ask for deprecated two-sided color > rendering. Are you also ok with recompiler the shaders when that enable is switched? OG. _

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 --- Comment #16 from Mathieu Bérard 2012-07-30 18:42:51 UTC --- I'm also affected. On two different machines (both radeon based): * Evergreen * RS780 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are re

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 Mathieu Bérard changed: What|Removed |Added CC||mathieu.ber...@crans.org -- Configure

Re: [Mesa-dev] [Intel-gfx] [PATCH 1/5] intel gen4/5: fix GL_VERTEX_PROGRAM_TWO_SIDE.

2012-07-30 Thread Eric Anholt
Olivier Galibert writes: > On Tue, Jul 17, 2012 at 07:37:43AM -0700, Paul Berry wrote: >> If possible, I would still like to think of a way to address this situation >> that (a) doesn't require modifying both fragment shader back-ends and the >> SF program, and (b) helps all Mesa drivers, not jus

[Mesa-dev] [PATCH 3/5] wayland: support EGL_TEXTURE_STRUCTURE_WL queries for wl_buffer.

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- include/EGL/eglmesaext.h|5 + src/egl/drivers/dri2/egl_dri2.c | 15 +++ 2 files changed, 20 insertions(+) diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h index d476d18..d08ba09 100644 --- a/include/EGL/eglmesaex

[Mesa-dev] [PATCH 2/5] wayland: handle picture structure.

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/egl/drivers/dri2/egl_dri2.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index f86ed0b..4ae2856 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +

[Mesa-dev] [PATCH 5/5] intel: implement picture structure.

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- include/GL/internal/dri_interface.h |1 + src/mesa/drivers/dri/i965/brw_defines.h |2 ++ src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 22 - src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 15 +

[Mesa-dev] [PATCH 1/5] wayland-drm: add picture structure.

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/egl/wayland/wayland-drm/wayland-drm.c | 22 +- src/egl/wayland/wayland-drm/wayland-drm.h | 10 ++ src/egl/wayland/wayland-drm/wayland-drm.xml | 19 +++ 3 files changed, 50 insertions(+), 1 deletion(-)

[Mesa-dev] [PATCH 0/5] wayland: handle interlaced pictures

2012-07-30 Thread Gwenole Beauchesne
Hi, Here is series of patches that brings support for interlaced surfaces in Wayland. Current implementation involves Intel GenX driver. Patch 1 makes it possible to attach a "picture-structure" property to Wayland/DRM buffers. The way to do so has the benefit of allowing this property to RGB sur

[Mesa-dev] [PATCH 4/5] __DRIimage: version 6, add new picture structure.

2012-07-30 Thread Gwenole Beauchesne
The addition in version 6 enables creating EGLImages with different picture structure for supporting interlaced textures. The new flags are only valid in createSubImage() format field. Should the driver support those, it should report version as 6, and determe the underlying picture format by maski

Re: [Mesa-dev] [PATCH] gbm : Fix build for wayland include

2012-07-30 Thread Kristian Høgsberg
On Thu, Jul 19, 2012 at 01:54:05PM +0900, Elvis Lee wrote: > backends/gbm_dri.c fails to find wayland-server.h. Thanks, pushed. > Signed-off-by: Elvis Lee > --- > src/gbm/Makefile.am |1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am > index 5

Re: [Mesa-dev] [PATCH 1/2] r600g: add htile support v9

2012-07-30 Thread Jerome Glisse
On Sun, Jul 29, 2012 at 1:50 PM, Marek Olšák wrote: > On Tue, Jul 17, 2012 at 7:58 PM, wrote: >> From: Jerome Glisse >> >> htile is used for HiZ and HiS support and fast Z/S clears. >> This commit just adds the htile setup and Fast Z clear. >> We don't take full advantage of HiS with that patch

Re: [Mesa-dev] [PATCH] mesa: Fix wrong sizeof argument in _math_matrix_copy.

2012-07-30 Thread Brian Paul
On Mon, Jul 30, 2012 at 8:17 AM, Brian Paul wrote: > On Mon, Jul 30, 2012 at 7:59 AM, Brian Paul wrote: >> On Sun, Jul 29, 2012 at 6:54 PM, Vinson Lee wrote: >>> Fixes Coverity wrong sizeof argument defect. >>> >>> Signed-off-by: Vinson Lee >>> --- >>> src/mesa/math/m_matrix.c | 2 +- >>> 1 fi

Re: [Mesa-dev] [PATCH] mesa: Fix wrong sizeof argument in _math_matrix_copy.

2012-07-30 Thread Jose Fonseca
- Original Message - > On Sun, Jul 29, 2012 at 6:54 PM, Vinson Lee > wrote: > > Fixes Coverity wrong sizeof argument defect. > > > > Signed-off-by: Vinson Lee > > --- > > src/mesa/math/m_matrix.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/mesa/math

Re: [Mesa-dev] [PATCH] mesa: Fix wrong sizeof argument in _math_matrix_copy.

2012-07-30 Thread Brian Paul
On Mon, Jul 30, 2012 at 7:59 AM, Brian Paul wrote: > On Sun, Jul 29, 2012 at 6:54 PM, Vinson Lee wrote: >> Fixes Coverity wrong sizeof argument defect. >> >> Signed-off-by: Vinson Lee >> --- >> src/mesa/math/m_matrix.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/

[Mesa-dev] [Bug 52970] Requesting to be added to the mesa and nouveau groups

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52970 Brian Paul changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |sitewranglers@lists.freedes

Re: [Mesa-dev] [PATCH] mesa: Fix wrong sizeof argument in _math_matrix_copy.

2012-07-30 Thread Brian Paul
On Sun, Jul 29, 2012 at 6:54 PM, Vinson Lee wrote: > Fixes Coverity wrong sizeof argument defect. > > Signed-off-by: Vinson Lee > --- > src/mesa/math/m_matrix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c > index 40

[Mesa-dev] [Bug 52970] New: Requesting to be added to the mesa and nouveau groups

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52970 Bug #: 52970 Summary: Requesting to be added to the mesa and nouveau groups Classification: Unclassified Product: Mesa Version: unspecified Platform: Other OS/Version: All

Re: [Mesa-dev] [PATCH] mesa: loosen small matrix determinant check

2012-07-30 Thread Brian Paul
On Mon, Jul 30, 2012 at 7:39 AM, Patrick Baggett wrote: > > > On Mon, Jul 30, 2012 at 4:31 AM, Pekka Paalanen wrote: >> >> On Tue, 24 Jul 2012 11:31:59 -0600 >> Brian Paul wrote: >> >> > When computing a matrix inverse, if the determinant is too small we >> > could hit >> > a divide by zero. Th

Re: [Mesa-dev] [PATCH] mesa: loosen small matrix determinant check

2012-07-30 Thread Patrick Baggett
On Mon, Jul 30, 2012 at 4:31 AM, Pekka Paalanen wrote: > On Tue, 24 Jul 2012 11:31:59 -0600 > Brian Paul wrote: > > > When computing a matrix inverse, if the determinant is too small we > could hit > > a divide by zero. There's a check to prevent this (we basically give up > on > > computing th

Re: [Mesa-dev] [PATCH 4/8] radeonsi: fix dummy export in shaders

2012-07-30 Thread Michel Dänzer
On Mon, 2012-07-30 at 12:31 +0200, Christian König wrote: > Signed-off-by: Christian König > --- > src/gallium/drivers/radeonsi/radeonsi_shader.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c > b/src/gallium/drivers

[Mesa-dev] [Bug 52962] gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52962 Chi-Thanh Christopher Nguyen changed: What|Removed |Added See Also||https://bugs.gentoo.org/sh

[Mesa-dev] [Bug 52962] New: gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52962 Bug #: 52962 Summary: gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’ Classification: Unclassified Product: Mesa Version: git Platform:

[Mesa-dev] [PATCH 8/8] radeonsi: fix db and stencil setup v2

2012-07-30 Thread Christian König
v2: fix tiling for small pitches, that finally makes glxgears and readPixSanity work Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/r600_resource.h |1 - src/gallium/drivers/radeonsi/r600_texture.c | 22 -- src/gallium/drivers/radeonsi/si_state.c | 102 +

[Mesa-dev] [PATCH 7/8] radeonsi: fix stencil op mapping

2012-07-30 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c | 74 ++- 1 file changed, 34 insertions(+), 40 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 3da236c..b2dabf5 100644 --- a

[Mesa-dev] [PATCH 6/8] radeonsi: fix assertion in si_bind_vs_sampler

2012-07-30 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index a80e169..3da236c 100644 --- a/src/gallium/drivers/radeonsi/si_

[Mesa-dev] [PATCH 5/8] radeonsi: fix shader binding

2012-07-30 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index c417c9c..a80e169 100644 --- a/src/gallium/drivers/ra

[Mesa-dev] [PATCH 4/8] radeonsi: fix dummy export in shaders

2012-07-30 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 66050d3..67a5465 100644 --- a/src/galli

[Mesa-dev] [PATCH 1/8] radeonsi: rename r600_resource to si_resource

2012-07-30 Thread Christian König
Also split it into seperate header and add some helper functions. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/r600.h| 21 ++ src/gallium/drivers/radeonsi/r600_buffer.c | 12 ++-- src/gallium/drivers/radeonsi/r600_hw_context.c | 23 +++

[Mesa-dev] [PATCH 3/8] radeonsi: fix vertex buffer and elements

2012-07-30 Thread Christian König
Let's just use the T# descriptors until we get a fetch shader. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |6 +- src/gallium/drivers/radeonsi/si_state.c| 43 +++-- src/gallium/drivers/radeonsi/si_state.h|9 +-- src/gallium/

[Mesa-dev] [PATCH 2/8] radeonsi: fix shader size and handling

2012-07-30 Thread Christian König
We should always upload the shader here. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 26 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeon

[Mesa-dev] [Bug 52140] Ubuntu Unity - Launcher and switcher icons disappeared

2012-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52140 Rui Salvaterra changed: What|Removed |Added CC||rsalvate...@gmail.com -- Configure bug

Re: [Mesa-dev] [PATCH] mesa: loosen small matrix determinant check

2012-07-30 Thread Pekka Paalanen
On Tue, 24 Jul 2012 11:31:59 -0600 Brian Paul wrote: > When computing a matrix inverse, if the determinant is too small we could hit > a divide by zero. There's a check to prevent this (we basically give up on > computing the inverse and return the identity matrix.) This patches loosens > this

Re: [Mesa-dev] some radeon/r200 cleanup/fixes

2012-07-30 Thread Barto
I did the tests in piglit (glean tests ) with my radeon 9000 ( rv250 ), all is Ok, I have the same results with Roland's patches and without Roland's patches, I see no regressions, these patches for the r200 driver seem safe 5 Roland's patches start here : http://lists.freedesktop.org/archives/

Re: [Mesa-dev] [PATCH] mesa: Fix wrong sizeof argument in _math_matrix_copy.

2012-07-30 Thread Jose Fonseca
Good catch. Jose - Original Message - > Fixes Coverity wrong sizeof argument defect. > > Signed-off-by: Vinson Lee > --- > src/mesa/math/m_matrix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c > index 40f9

Re: [Mesa-dev] [PATCH] gallium/util: Use GCC built-in functions for NaN and infinity.

2012-07-30 Thread Jose Fonseca
Looks good. Jose - Original Message - > This patch fixes this build failure with Intel Compiler. > > src/gallium/auxiliary/util/u_format_tests.c(903): error: > floating-point operation result is out of range > {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0x), > PACKED_1x16(0x7c01),