[Mesa-dev] [Bug 75226] Dark rendering of War for the Overworld

2014-03-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75226 Stepan Bakshaev changed: What|Removed |Added CC||step2back+freedesktop@gmail

[Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2014-03-02 Thread Dave Airlie
From: Dave Airlie At the moment to get an EGL image to a dma-buf file descriptor, you have to use EGL_MESA_drm_image, and then use libdrm to convert this to a file descriptor. This extension just provides an API modelled on EGL_MESA_drm_image, to return a dma-buf file descriptor. Signed-off-by:

Re: [Mesa-dev] [PATCH] gallium: fix build failure on powerpcspe

2014-03-02 Thread Michel Dänzer
On Son, 2014-03-02 at 19:58 +0100, Julien Cristau wrote: > From: Roland Stigge > > In the case of powerpc, mesa activates some altivec instructions > that are unknown on the powerpcspe architecture (see > https://wiki.debian.org/PowerPCSPEPort), causing a build failure as the > 'vand' opcode is n

[Mesa-dev] intel, dma-buf import and egl image external

2014-03-02 Thread Dave Airlie
There is a comment and two checks in the i965 dma-buf importer, * Images originating via EGL_EXT_image_dma_buf_import can be used only * with GL_OES_EGL_image_external only. however I can't find any reference to this in the spec txt, and removing the checks make my test app run fine using TEXTURE

[Mesa-dev] [PATCH 1/3] radeonsi: move translate_colorswap to common code

2014-03-02 Thread Marek Olšák
From: Marek Olšák Also translate the Y__X swizzle. --- src/gallium/drivers/radeon/r600_pipe_common.h | 1 + src/gallium/drivers/radeon/r600_texture.c | 54 ++ src/gallium/drivers/radeon/r600d_common.h | 5 +++ src/gallium/drivers/radeonsi/si_state.c | 56 +

[Mesa-dev] [PATCH 3/3] r600g: implement edge flags

2014-03-02 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/r600/evergreen_state.c | 1 + src/gallium/drivers/r600/r600_shader.c | 55 +++--- src/gallium/drivers/r600/r600_shader.h | 1 + 3 files changed, 53 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/eve

[Mesa-dev] [PATCH 2/2] st/mesa: fix edge flags for GLSL

2014-03-02 Thread Marek Olšák
From: Marek Olšák This fixes piglit/gl-2.0-edgeflag. Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/state_tracker/st_atom.c| 3 +-- src/mesa/state_tracker/st_program.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mesa/state_tracker/st_atom.c b/src/mesa/st

[Mesa-dev] [PATCH 1/2] mesa: fix the format of glEdgeFlagPointer

2014-03-02 Thread Marek Olšák
From: Marek Olšák Softpipe expects a float in the vertex shader, which is what glEdgeFlag generates. This fixes piglit/gl-2.0-edgeflag. Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/varray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/varray.

[Mesa-dev] [PATCH 2/3] r600g: port color buffer format conversion from radeonsi

2014-03-02 Thread Marek Olšák
From: Marek Olšák r600_translate_colorformat is rewritten to look like radeonsi. r600_translate_colorswap is shared with radeonsi. r600_colorformat_endian_swap is consolidated. This adds some formats which were missing. Future "plain" formats will automatically be supported. --- src/gallium/dri

Re: [Mesa-dev] [PATCH 1/2] configure: Remove more flags from llvm-config

2014-03-02 Thread Francisco Jerez
Bruno Jiménez writes: > This way, we are left with only the preprocessor flags and '-std=X' > --- > configure.ac | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Reviewed-by: Francisco Jerez > diff --git a/configure.ac b/configure.ac > index 5b86141..2378d00 100644 > --- a/co

Re: [Mesa-dev] [PATCH 2/2] clover: Fix building with latest llvm

2014-03-02 Thread Francisco Jerez
Bruno Jiménez writes: > --- > src/gallium/state_trackers/clover/Makefile.am | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Reviewed-by: Francisco Jerez > diff --git a/src/gallium/state_trackers/clover/Makefile.am > b/src/gallium/state_trackers/clover/Makefile.am > index ece2b

[Mesa-dev] [PATCH 1/2] configure: Remove more flags from llvm-config

2014-03-02 Thread Bruno Jiménez
This way, we are left with only the preprocessor flags and '-std=X' --- configure.ac | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5b86141..2378d00 100644 --- a/configure.ac +++ b/configure.ac @@ -1542,8 +1542,15 @@ strip_unwanted_llv

[Mesa-dev] [PATCH 2/2] clover: Fix building with latest llvm

2014-03-02 Thread Bruno Jiménez
--- src/gallium/state_trackers/clover/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index ece2b38..75eae86 100644 --- a/src/gallium/state_trackers/clover/Makefile.a

[Mesa-dev] [PATCH] gallium: fix build failure on powerpcspe

2014-03-02 Thread Julien Cristau
From: Roland Stigge In the case of powerpc, mesa activates some altivec instructions that are unknown on the powerpcspe architecture (see https://wiki.debian.org/PowerPCSPEPort), causing a build failure as the 'vand' opcode is not recognized by the assembler. This patch fixes this by preventing

[Mesa-dev] [Bug 75226] Dark rendering of War for the Overworld

2014-03-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75226 Vladimir Ysikov changed: What|Removed |Added CC||granti...@gmail.com -- You are receiv

Re: [Mesa-dev] [PATCH] clover: Fix building with latest llvm

2014-03-02 Thread Francisco Jerez
Ilia Mirkin writes: > On Sat, Mar 1, 2014 at 7:35 PM, Francisco Jerez wrote: >> Bruno Jiménez writes: >> >>> Recently, llvm has changed to use c++11, so we also should use it >>> --- >>> src/gallium/state_trackers/clover/Makefile.am | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH 1/2] st/vdpau: fix possible NULL dereference

2014-03-02 Thread Grigori Goronzy
--- src/gallium/state_trackers/vdpau/mixer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/mixer.c b/src/gallium/state_trackers/vdpau/mixer.c index 996fd8e..e6bfb8c 100644 --- a/src/gallium/state_trackers/vdpau/mixer.c +++ b/src/galli

[Mesa-dev] [PATCH 2/2] NV_vdpau_interop: fix IsSurfaceNV return type

2014-03-02 Thread Grigori Goronzy
The spec incorrectly used void as return type, when it should have been GLboolean. This has now been fixed. According to Nvidia, their implementation always used GLboolean. --- include/GL/glext.h | 2 +- src/mapi/glapi/gen/NV_vdpau_interop.xml | 1 + src/mesa/main/vdpau.c

Re: [Mesa-dev] [PATCH] clover: Fix building with latest llvm

2014-03-02 Thread Bruno Jimenez
On Sun, 2014-03-02 at 04:26 -0500, Ilia Mirkin wrote: > On Sat, Mar 1, 2014 at 7:35 PM, Francisco Jerez wrote: > > Bruno Jiménez writes: > > > >> Recently, llvm has changed to use c++11, so we also should use it > >> --- > >> src/gallium/state_trackers/clover/Makefile.am | 4 ++-- > >> 1 file ch

Re: [Mesa-dev] [PATCH] clover: Fix building with latest llvm

2014-03-02 Thread Ilia Mirkin
On Sat, Mar 1, 2014 at 7:35 PM, Francisco Jerez wrote: > Bruno Jiménez writes: > >> Recently, llvm has changed to use c++11, so we also should use it >> --- >> src/gallium/state_trackers/clover/Makefile.am | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/src/galliu

Re: [Mesa-dev] [PATCH] i965: Validate (and resolve) all the bound textures.

2014-03-02 Thread Chris Forbes
Will land this + the sampler key width change since they fix real bugs, and then follow up with a new series to improve performance. On Sun, Feb 23, 2014 at 9:25 AM, Kenneth Graunke wrote: > On 02/21/2014 09:09 PM, Chris Forbes wrote: >> BRW_MAX_TEX_UNIT is the static limit on the number of textu