Re: [Mesa-dev] [PATCH] nir: copy front interpolation when creating fake back color input

2017-07-08 Thread Rob Clark
On Fri, Jul 7, 2017 at 8:34 PM, Ilia Mirkin wrote: > Fixes a bunch of gl_BackColor interpolation tests that had explicit > interpolation specified on the fragment shader gl_Color. > > Signed-off-by: Ilia Mirkin (as mentioned on irc, but repeated here

[Mesa-dev] [Bug 99856] OpenCL Hello world returns "unsupported call to function get_local_size"

2017-07-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99856 EoD changed: What|Removed |Added CC||e...@xmw.de -- You are receiving

Re: [Mesa-dev] [PATCH 1/2] vbo: fix glPrimitiveRestartNV crash inside a display list

2017-07-08 Thread Andres Gomez
It looks like we could want this series into -stable (?) On Fri, 2017-07-07 at 08:10 -0600, Brian Paul wrote: > From: Olivier Lauffenburger > > glPrimitiveRestartNV crashes when it is called during the compilation > of a display list. > > There are two reasons: >

Re: [Mesa-dev] [PATCH] gallium: use "ull" number suffix to keep the QtCreator parser happy

2017-07-08 Thread Thomas Helland
Yes please! I find this much more intuitive, as a bonus =) Reviewed-by: Thomas Helland 2017-07-08 2:36 GMT+02:00 Marek Olšák : > From: Marek Olšák > > It can't parse "llu". > --- > src/gallium/drivers/r600/r600_state_common.c

[Mesa-dev] [PATCH] gallium/util: Remove unused keymap

2017-07-08 Thread Thomas Helland
This is not used anywhere in the codebase. It's a hashtable implementation that is based around cso_hash, and is therefore (and as mentioned in a comment in the source) quite similar to u_hash_table. CC: Brian Paul --- src/gallium/auxiliary/Makefile.sources | 2 -

[Mesa-dev] How to write using EGLImage?

2017-07-08 Thread Gurkirpal Singh
Hi, As a part of my GSoC project[1] I'm working on adding OMX_UseEGLImage support in gallium/st/omx. I have an egl_display[1] (OMX_NATIVE_WINDOWTYPE) and the EGLImage[2] in the H.264 decoder component. I'm looking some sort of method to get mesa pipe screen pointer (or some other pipe structure)

Re: [Mesa-dev] [PATCH] gallium: improve selection of pixel format

2017-07-08 Thread Andres Gomez
Olivier, Brian, do we want this into -stable? On Thu, 2017-07-06 at 17:08 +0200, Olivier Lauffenburger wrote: > Current selection of pixel format does not enforce the request of > stencil or depth buffer if the color depth is not the same as > requested. > For instance, GLUT requests a 32-bit

[Mesa-dev] [PATCH 3/4] docs: avoid overwrite of LD_LIBRARY_PATH during basic testing

2017-07-08 Thread Andres Gomez
The LD_LIBRARY_PATH environment variable could be already defined so we extend it and restore it rather than just overwriting it. Signed-off-by: Andres Gomez --- docs/releasing.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/releasing.html

[Mesa-dev] [PATCH 4/4] docs: update master's release notes, news and calendar commit

2017-07-08 Thread Andres Gomez
This reflects closer what we are actually doing. Signed-off-by: Andres Gomez --- docs/releasing.html | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/docs/releasing.html b/docs/releasing.html index 99235d8412..152f5cea73 100644 ---

[Mesa-dev] [PATCH 2/4] docs: remove redundant parameter for scons build basic testing

2017-07-08 Thread Andres Gomez
toolchain=crossmingw is the default option for platform=windows when invoking scons. Signed-off-by: Andres Gomez --- docs/releasing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releasing.html b/docs/releasing.html index ceb6e365e4..8e6e4d1a6d

[Mesa-dev] [PATCH 1/4] docs: add instructions to specify LLVM version for basic testing

2017-07-08 Thread Andres Gomez
The "Perform basic testing" section provides some instructions to do so. We add now some comments in order to use a recent enough LLVM version to test the distcheck and the automake generated binaries. Signed-off-by: Andres Gomez --- docs/releasing.html | 6 ++ 1 file

[Mesa-dev] [PATCH 0/4] docs: update basic testing on the releasing instructions

2017-07-08 Thread Andres Gomez
Some small update on the "Making a new release" section of the releasing instructions. Patches 1-3 add some small modifications for performing the basic testing. Patch 4 merges the section for updating the calendar into the previous one to reflect closer what we are actually doing. Andres Gomez

Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-08 Thread Matt Turner
On Sat, Jul 8, 2017 at 11:05 AM, Jason Ekstrand wrote: > On July 7, 2017 1:52:54 PM Chris Wilson wrote: > >> Quoting Jason Ekstrand (2017-07-07 21:37:29) >>> >>> The reason we were doing this was to ensure that the kernel did the >>> appropriate

Re: [Mesa-dev] [PATCH v2 10/27] i965/miptree: Add a colorspace parameter to create_for_dri_image

2017-07-08 Thread Chad Versace
On Thu 29 Jun 2017, Jason Ekstrand wrote: > The __DRI_FORMAT enums are all UNORM but we will frequently want sRGB > when creating miptrees for renderbuffers. This lets us specify. > --- > src/mesa/drivers/dri/i965/intel_fbo.c | 3 ++- > src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 24

Re: [Mesa-dev] [PATCH v2 09/27] main/formats: Add a get_linear_format_srgb helper

2017-07-08 Thread Chad Versace
Patch 9 is Reviewed-by: Chad Versace ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 08/27] main/formats: Autogenerate _mesa_get_srgb_format_linear

2017-07-08 Thread Chad Versace
On Thu 29 Jun 2017, Jason Ekstrand wrote: > --- > src/mesa/main/format_fallback.py | 46 +++ > src/mesa/main/formats.c | 117 > --- > 2 files changed, 46 insertions(+), 117 deletions(-) > > diff --git a/src/mesa/main/format_fallback.py

Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-08 Thread Jason Ekstrand
On July 7, 2017 1:52:54 PM Chris Wilson wrote: Quoting Jason Ekstrand (2017-07-07 21:37:29) The reason we were doing this was to ensure that the kernel did the appropriate cross-ring synchronization and flushing. However, the kernel only looks at EXEC_OBJECT_WRITE

Re: [Mesa-dev] [Mesa-stable] [PATCH] etnaviv: don't dereference etna_resource pointer if allocation fails

2017-07-08 Thread Andres Gomez
On Sat, 2017-07-08 at 18:45 +0200, Christian Gmeiner wrote: > 2017-07-08 14:42 GMT+02:00 Andres Gomez : > > It looks like we could want this into -stable (?) > > Forgot to add CC during push but I have nominated it for stable now. Great! Thanks a lot! ☺ -- Br, Andres

Re: [Mesa-dev] [Mesa-stable] [PATCH] mesa: Require mipmap completeness for glCopyImageSubData() at times.

2017-07-08 Thread Andres Gomez
On Sat, 2017-07-08 at 07:52 -0700, Kenneth Graunke wrote: > On Saturday, July 8, 2017 7:01:30 AM PDT Andres Gomez wrote: > > Kenneth, worth cherry-picking for -stable? > > I wouldn't - this patch just imposes additional restrictions, making > things we used to support illegal. That means it

Re: [Mesa-dev] [PATCH] etnaviv: don't dereference etna_resource pointer if allocation fails

2017-07-08 Thread Christian Gmeiner
2017-07-08 14:42 GMT+02:00 Andres Gomez : > It looks like we could want this into -stable (?) Forgot to add CC during push but I have nominated it for stable now. greets -- Christian Gmeiner, MSc https://christian-gmeiner.info ___

Re: [Mesa-dev] [PATCH] mesa: Require mipmap completeness for glCopyImageSubData() at times.

2017-07-08 Thread Kenneth Graunke
On Saturday, July 8, 2017 7:01:30 AM PDT Andres Gomez wrote: > Kenneth, worth cherry-picking for -stable? I wouldn't - this patch just imposes additional restrictions, making things we used to support illegal. That means it carries a risk of breaking existing applications, and really only

Re: [Mesa-dev] [PATCH] nir/spirv: Remove unnecessary comment.

2017-07-08 Thread Jason Ekstrand
Rb On July 8, 2017 5:22:01 AM Andres Gomez wrote: It should have been removed after 00c47e111c. Cc: Jason Ekstrand Cc: Connor Abbott Signed-off-by: Andres Gomez --- src/compiler/spirv/spirv_to_nir.c | 5

Re: [Mesa-dev] [PATCH 03/14] gallium/radeon: fix a possible crash for buffer exports

2017-07-08 Thread Andres Gomez
Marek, do we want this into -stable? On Thu, 2017-06-29 at 21:47 +0200, Marek Olšák wrote: > From: Marek Olšák > > --- > src/gallium/drivers/radeon/r600_texture.c | 24 +++- > 1 file changed, 15 insertions(+), 9 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH 1/2] st/mesa: check for incomplete texture in st_finalize_texture()

2017-07-08 Thread Andres Gomez
Brian, it looks like we could want this series into -stable (?) On Wed, 2017-06-28 at 16:12 -0600, Brian Paul wrote: > Return early from st_finalize_texture() if we have an incomplete > texture. This avoids trying to create a texture resource with invalid > parameters (too many mipmap levels

Re: [Mesa-dev] [PATCH] mesa: Require mipmap completeness for glCopyImageSubData() at times.

2017-07-08 Thread Andres Gomez
Kenneth, worth cherry-picking for -stable? On Wed, 2017-06-28 at 02:44 -0700, Kenneth Graunke wrote: > This patch makes glCopyImageSubData require mipmap completeness when the > texture object's built-in sampler object has a mipmapping MinFilter. > This is apparently the de facto behavior and

Re: [Mesa-dev] [PATCH] drirc: Add glsl_correct_derivatives_after_discard for The Witcher 2

2017-07-08 Thread Andres Gomez
Related to my previous mail, do we try to pick this for -stable? On Wed, 2017-06-21 at 22:40 +0200, Edmondo Tommasina wrote: > This fixes the long-standing problem with black transitions in The Wicher 2. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98238 > --- > This patch depends

Re: [Mesa-dev] [PATCH 0/5] Gallium: Passing drirc options to create_screen() and fixing Rocket League

2017-07-08 Thread Andres Gomez
Marek, is it worth the effort of trying to bring this series into -stable? On Wed, 2017-06-21 at 00:54 +0200, Marek Olšák wrote: > Hi, > > This series updates pipe loaders so that flags such as drirc options > can be passed to create_screen(). I have compile-tested everything > except clover. >

Re: [Mesa-dev] [PATCH] etnaviv: don't dereference etna_resource pointer if allocation fails

2017-07-08 Thread Andres Gomez
It looks like we could want this into -stable (?) On Thu, 2017-07-06 at 11:35 +0200, Aleksander Morgado wrote: > The check for the pointer being non-NULL was being done too late. > > Signed-off-by: Aleksander Morgado > --- >

[Mesa-dev] [PATCH] nir/spirv: Remove unnecessary comment.

2017-07-08 Thread Andres Gomez
It should have been removed after 00c47e111c. Cc: Jason Ekstrand Cc: Connor Abbott Signed-off-by: Andres Gomez --- src/compiler/spirv/spirv_to_nir.c | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [Mesa-dev] [PATCH] [rfc] radv: offset images by a differing amount.

2017-07-08 Thread Marek Olšák
On Jul 8, 2017 1:59 PM, "Christian König" wrote: Am 08.07.2017 um 00:27 schrieb Marek Olšák: > On Fri, Jul 7, 2017 at 9:37 PM, Dave Airlie wrote: > >> On 8 July 2017 at 04:07, Christian König wrote: >> >>> Am 07.07.2017 um

Re: [Mesa-dev] [PATCH] [rfc] radv: offset images by a differing amount.

2017-07-08 Thread Christian König
Am 08.07.2017 um 00:27 schrieb Marek Olšák: On Fri, Jul 7, 2017 at 9:37 PM, Dave Airlie wrote: On 8 July 2017 at 04:07, Christian König wrote: Am 07.07.2017 um 18:51 schrieb Marek Olšák: On Fri, Jul 7, 2017 at 11:18 AM, Christian König