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),

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 v...@freedesktop.org --- 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

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 :

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 bri...@vmware.com 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

[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 rsalvate...@gmail.com changed: What|Removed |Added CC|

[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 deathsim...@vodafone.de --- 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

[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 deathsim...@vodafone.de --- src/gallium/drivers/radeonsi/radeonsi_shader.c |6 +- src/gallium/drivers/radeonsi/si_state.c| 43 +++-- src/gallium/drivers/radeonsi/si_state.h

[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 deathsim...@vodafone.de --- src/gallium/drivers/radeonsi/r600.h| 21 ++ src/gallium/drivers/radeonsi/r600_buffer.c | 12 ++--

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

2012-07-30 Thread Christian König
Signed-off-by: Christian König deathsim...@vodafone.de --- 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

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

2012-07-30 Thread Christian König
Signed-off-by: Christian König deathsim...@vodafone.de --- 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 ---

[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 deathsim...@vodafone.de --- 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 ---

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

2012-07-30 Thread Christian König
Signed-off-by: Christian König deathsim...@vodafone.de --- 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

[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 deathsim...@vodafone.de --- src/gallium/drivers/radeonsi/r600_resource.h |1 - src/gallium/drivers/radeonsi/r600_texture.c | 22 --

[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] [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 chith...@gentoo.org changed: What|Removed |Added See Also|

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 deathsim...@vodafone.de --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c

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 ppaala...@gmail.com wrote: On Tue, 24 Jul 2012 11:31:59 -0600 Brian Paul bri...@vmware.com 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

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 baggett.patr...@gmail.com wrote: On Mon, Jul 30, 2012 at 4:31 AM, Pekka Paalanen ppaala...@gmail.com wrote: On Tue, 24 Jul 2012 11:31:59 -0600 Brian Paul bri...@vmware.com wrote: When computing a matrix inverse, if the determinant is too

[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: 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 v...@freedesktop.org wrote: Fixes Coverity wrong sizeof argument defect. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/mesa/math/m_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/math/m_matrix.c

[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 brian.e.p...@gmail.com changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop.

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 brian.e.p...@gmail.com wrote: On Sun, Jul 29, 2012 at 6:54 PM, Vinson Lee v...@freedesktop.org wrote: Fixes Coverity wrong sizeof argument defect. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/mesa/math/m_matrix.c | 2 +- 1 file changed,

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 v...@freedesktop.org wrote: Fixes Coverity wrong sizeof argument defect. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/mesa/math/m_matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

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 mar...@gmail.com wrote: On Tue, Jul 17, 2012 at 7:58 PM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com 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

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 kwangwoong@lge.com --- src/gbm/Makefile.am |1 + 1 file changed, 1 insertion(+) diff --git a/src/gbm/Makefile.am

[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

[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

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

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne gwenole.beauche...@intel.com --- 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

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

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne gwenole.beauche...@intel.com --- 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 -

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

2012-07-30 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne gwenole.beauche...@intel.com --- 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 ---

[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 gwenole.beauche...@intel.com --- 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

[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 mathieu.ber...@crans.org changed: What|Removed |Added CC|

[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 mathieu.ber...@crans.org 2012-07-30 18:42:51 UTC --- I'm also affected. On two different machines (both radeon based): * Evergreen * RS780 -- Configure bugmail:

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.

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

2012-07-30 Thread Eric Anholt
Jordan Justen jordan.l.jus...@intel.com 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

[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

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

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 jordan.l.jus...@intel.com --- 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

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

[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 ern...@gmail.com changed: What|Removed |Added CC||ern...@gmail.com --

[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?

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 wwzbw...@163.com 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

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