Re: [Mesa-dev] [PATCH] st/dri: enable 32-bit RGBX/RGBA formats only on Android

2017-07-29 Thread Marek Olšák
Hi Tomasz, This is for 17.2 only. Not master. I have a different fix for master. Reviewed-by: Marek Olšák Marek On Sat, Jul 29, 2017 at 5:02 PM, Tomasz Figa wrote: > X/GLX can't handle them. This removes almost 500 GLX visuals that were > incorrectly exposed. > > This replaces the revert ori

[Mesa-dev] [PATCH mesa] util/ra: fix memory leak

2017-07-29 Thread Eric Engestrom
CID: 1415909 Fixes: 7a34a0e8903249c41fae "ra: Add a callback for selecting a register from what's available." Signed-off-by: Eric Engestrom --- src/util/register_allocate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/register_allocate.c b/src/util/reg

[Mesa-dev] [PATCH mesa 2/3] egl: split enums to make use of -Wswitch

2017-07-29 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/main/eglconfig.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c index f747c33184..f057b0bfe8 100644 --- a/src/egl/main/eglconfig.c +++ b/src/egl/main/eglconfig.c

Re: [Mesa-dev] [PATCH] st/dri: enable 32-bit RGBX/RGBA formats only on Android

2017-07-29 Thread Tomasz Figa
On Sun, Jul 30, 2017 at 6:51 AM, Marek Olšák wrote: > Hi Tomasz, > > This is for 17.2 only. Not master. I have a different fix for master. Right, we don't need this in master, but according to https://www.mesa3d.org/submittingpatches.html, the "Criteria for accepting patches to the stable branch"

Re: [Mesa-dev] [PATCH 5/6] mesa: Implement a new GL_MESA_tile_raster_order extension.

2017-07-29 Thread Jason Ekstrand
On Thu, Jul 27, 2017 at 7:30 PM, Eric Anholt wrote: > The intent is to use this extension on vc4 to allow X11 to do overlapping > CopyArea() within a pixmap without first blitting the pixmap to a > temporary. With associated glamor patches, improves x11perf > -copywinwin100 performance on a Rasp

[Mesa-dev] [PATCH] st/dri: enable 32-bit RGBX/RGBA formats only on Android

2017-07-29 Thread Tomasz Figa
X/GLX can't handle them. This removes almost 500 GLX visuals that were incorrectly exposed. This replaces the revert originally requested by Marek and has the benefit of keeping Android running, while eliminating the risk of breaking X/GLX, until we provide a proper solution to deal with these for

[Mesa-dev] [Bug 101971] Mesa fails to build when Wayland and EGL support enabled due to missing C++ lib from mesautil

2017-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101971 Bug ID: 101971 Summary: Mesa fails to build when Wayland and EGL support enabled due to missing C++ lib from mesautil Product: Mesa Version: git Hardware: x86 (IA32)

[Mesa-dev] [PATCH mesa 3/3] egl: remove unnecessary empty array element

2017-07-29 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/egl/main/egldriver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index b9b21dec5e..60753bb22e 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -63,7 +63,6

[Mesa-dev] [PATCH mesa 1/3] egl: use designated initaliser for _eglGlobal

2017-07-29 Thread Eric Engestrom
Turn comments into actual code, that the compiler can check for us :) (Speaking of, one of the comments had a typo. Challenge: find it) Signed-off-by: Eric Engestrom --- src/egl/main/eglglobals.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/egl/main/

[Mesa-dev] [PATCH] radeonsi: ensure that temp array allocas are in the entry block

2017-07-29 Thread Nicolai Hähnle
From: Nicolai Hähnle Otherwise, code generation fails. This has become necessary since some shaders are wrapped in control flow. Fixes: 081ac6e5c6d2 ("radeonsi/gfx9: always wrap GS and TCS in an if-block (v2)") Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/radeonsi/si_shader_tg

Re: [Mesa-dev] [PATCH 5/6] mesa: Implement a new GL_MESA_tile_raster_order extension.

2017-07-29 Thread Nicolai Hähnle
On 28.07.2017 18:26, Eric Anholt wrote: Nicolai Hähnle writes: On 28.07.2017 04:30, Eric Anholt wrote: The intent is to use this extension on vc4 to allow X11 to do overlapping CopyArea() within a pixmap without first blitting the pixmap to a temporary. With associated glamor patches, improv

Re: [Mesa-dev] [Mesa-stable] [PATCH v2 2/5] radeonsi/gfx9: always wrap GS and TCS in an if-block (v2)

2017-07-29 Thread Nicolai Hähnle
Thanks. I think I know what the issue is, testing a fix now. Cheers, Nicolai On 28.07.2017 20:16, Marek Olšák wrote: Hi Nicolai, FYI, this patch breaks 30 piglit tests on GFX9. Non-monolithic and monolithic variants fail in different ways: 1) Non-monolithic: R600_DEBUG=nooptvariant ../pig