Re: [Mesa-dev] [PATCH] mesa: free current ComputeProgram state in _mesa_free_context_data

2017-09-20 Thread Samuel Pitoiset
Oh right. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Samuel Pitoiset On 09/20/2017 08:29 AM, Tapani Pälli wrote: This is already done for other programs stages, fixes a leak when using compute programs. Signed-off-by: Tapani Pälli

[Mesa-dev] [Bug 102891] [radv] glitches on rpcs3 emulator (green zones)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102891 Bug ID: 102891 Summary: [radv] glitches on rpcs3 emulator (green zones) Product: Mesa Version: 17.2 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [Mesa-dev] [PATCH 13/14] vl/compositor: convert RGB buffer to YUV with color conversion

2017-09-20 Thread Christian König
Am 19.09.2017 um 21:05 schrieb Leo Liu: --- src/gallium/auxiliary/vl/vl_compositor.c | 71 src/gallium/auxiliary/vl/vl_compositor.h | 12 ++ 2 files changed, 83 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c

Re: [Mesa-dev] [PATCH] ac/nir: fixup layer/viewport export for GFX9.

2017-09-20 Thread Juan A. Suarez Romero
On Wed, 2017-08-23 at 22:07 +0300, Andres Gomez wrote: > Hi Dave, > > This patch landed tagged for 17.2 only. Was it, then, not nominated for > 17.1 intentionally ? > As we are preparing a new 17.1 release, gently pinging. J.A. > Br. > > On Thu, 2017-08-17 at 14:27 +1000, Dave

Re: [Mesa-dev] [PATCH 1/3] mesa: GL_TEXTURE_BORDER_COLOR exists in OpenGL 1.0, so don't depend on GL_ARB_texture_border_clamp

2017-09-20 Thread Juan A. Suarez Romero
On Sat, 2017-07-08 at 02:03 +0300, Andres Gomez wrote: > Ian, it looks like we could want this patch (and the others from the > series when they land) in -stable (?) > As we are preparing a new stable 17.1 release, gently pinging. J.A. > On Tue, 2017-06-27 at 10:09 -0700, Ian Romanick

Re: [Mesa-dev] [PATCH] glsl: silence signed/unsigned comparison warning

2017-09-20 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 09/20/2017 04:22 AM, Brian Paul wrote: --- src/compiler/glsl/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 49db56e..18bf1eb 100644 ---

Re: [Mesa-dev] [PATCH 2/2] st/va: Implement vaExportSurfaceHandle()

2017-09-20 Thread Christian König
Am 20.09.2017 um 00:01 schrieb Mark Thompson: This is a new interface in libva2 to support wider use-cases of passing surfaces to external APIs. In particular, this allows export of NV12 and P010 surfaces. First of all thanks a lot for taking care of this. Signed-off-by: Mark Thompson

[Mesa-dev] [PATCH] mesa: free current ComputeProgram state in _mesa_free_context_data

2017-09-20 Thread Tapani Pälli
This is already done for other programs stages, fixes a leak when using compute programs. Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102844 --- src/mesa/main/context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [Mesa-dev] [PATCH] mesa: free current ComputeProgram state in _mesa_free_context_data

2017-09-20 Thread Timothy Arceri
Please cc stable. Otherwise: Reviewed-by: Timothy Arceri On 20/09/17 16:29, Tapani Pälli wrote: This is already done for other programs stages, fixes a leak when using compute programs. Signed-off-by: Tapani Pälli Bugzilla:

[Mesa-dev] [Bug 102891] [radv] glitches on rpcs3 emulator (green zones)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102891 --- Comment #1 from jdr...@gmail.com --- Created attachment 134354 --> https://bugs.freedesktop.org/attachment.cgi?id=134354=edit Correct rendering with OpenGl on moving water -- You are receiving this mail because: You are the assignee for

Re: [Mesa-dev] [PATCH 1/3] etnaviv: support tile aligned RS blits

2017-09-20 Thread Lucas Stach
Am Dienstag, den 19.09.2017, 16:24 +0200 schrieb Wladimir J. van der Laan: > On Fri, Sep 15, 2017 at 06:00:52PM +0200, Lucas Stach wrote: > > The RS can blit abitrary tile aligned subregions of a resource by > > adjusting the buffer offset. > > Thanks for doing this. > > Comments inline, > > >

[Mesa-dev] [Bug 102891] [radv] glitches on rpcs3 emulator (green zones)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102891 --- Comment #2 from Grazvydas Ignotas --- Can you make a renderdoc capture? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 --- Comment #4 from Eric Engestrom --- (In reply to Alex Granni from comment #3) > Created attachment 134347 [details] [review] > Scons 3.0.0 compatibility patch I sent the same patch (and more) on the list yesterday

[Mesa-dev] [PATCH mesa v2] scons: use python3-compatible exceptions

2017-09-20 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- scons/crossmingw.py | 2 +- scons/dxsdk.py | 2 +- scons/llvm.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scons/crossmingw.py b/scons/crossmingw.py index

Re: [Mesa-dev] [PATCH] ac/nir: fixup layer/viewport export for GFX9.

2017-09-20 Thread Dave Airlie
On 20 Sep. 2017 18:13, "Juan A. Suarez Romero" wrote: On Wed, 2017-08-23 at 22:07 +0300, Andres Gomez wrote: > Hi Dave, > > This patch landed tagged for 17.2 only. Was it, then, not nominated for > 17.1 intentionally ? > As we are preparing a new 17.1 release, gently

[Mesa-dev] [Bug 102891] [radv] glitches on rpcs3 emulator (green zones)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102891 --- Comment #3 from jdr...@gmail.com --- Hope that's fine (1st use of renderdoc here). I captured the frame with vulkan. With renderdoc, I'm seeing warning messages on the console spirv/spirv_to_nir.c:2763 WARNING: Unsupported SPIR-V capability:

[Mesa-dev] [PATCH 13/15] vl/csc: add a RGB to YUV CSC matrix

2017-09-20 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_csc.c | 9 + src/gallium/auxiliary/vl/vl_csc.h | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/vl/vl_csc.c b/src/gallium/auxiliary/vl/vl_csc.c index e4395d0..861eda6 100644 ---

[Mesa-dev] [PATCH 14/15] vl/compositor: convert RGB buffer to YUV with color conversion

2017-09-20 Thread Leo Liu
--- src/gallium/auxiliary/vl/vl_compositor.c | 69 src/gallium/auxiliary/vl/vl_compositor.h | 12 ++ 2 files changed, 81 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index c084de9..67ad7f5

Re: [Mesa-dev] [PATCH] egl/wayland: Make wayland_drm_init declaration match the implementation

2017-09-20 Thread Emil Velikov
Hi Jason, Krzysztof Sobiecki (sobkas) provided a more elaborate fix on IRC, which I've applied ~15 minutes before this patch went out. Sorry about breaking things :-( Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] amd/addrlib: fix missing va_end() after va_copy()

2017-09-20 Thread Eric Engestrom
On Wednesday, 2017-09-20 14:48:46 +, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > There's no reason to use va_copy here. You're right, I didn't think about the code, I just checked that coverity wasn't wrong and went with its proposal, but this whole code is

[Mesa-dev] [Bug 102518] [apitrace, backtrace] Crash in _mesa_is_bufferobj during load of "XCOM 2: War of the Chosen"

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102518 --- Comment #9 from Marc Di Luzio --- Quick update, this has now been pushed live. Apologies for the long wait on that. -- You are receiving this mail because: You are the assignee for the bug. You are the QA

Re: [Mesa-dev] [PATCH] r600: fork and import gallium/radeon

2017-09-20 Thread Marek Olšák
FYI, I'm without my computer until Sunday, so I won't be able to push anything until then. Marek On Sep 20, 2017 7:36 AM, "Nicolai Hähnle" wrote: Looks good to me. I guess Emil didn't find any problems either. Feel free to push with Reviewed-by: Nicolai Hähnle

Re: [Mesa-dev] [Intel-gfx] [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids

2017-09-20 Thread Anuj Phogat
Dropping this patch. On Tue, Sep 12, 2017 at 5:31 PM, Rodrigo Vivi wrote: > On Tue, Sep 12, 2017 at 08:30:47PM +, Paulo Zanoni wrote: >> Em Seg, 2017-09-11 às 10:10 -0700, Rodrigo Vivi escreveu: >> > On Mon, Sep 11, 2017 at 04:11:33PM +, Anuj Phogat wrote: >> > >

Re: [Mesa-dev] [PATCH mesa 1/6] scons: use python3-compatible print()

2017-09-20 Thread Jose Fonseca
On 19/09/17 15:14, Eric Engestrom wrote: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102852 Reported-by: Alex Granni Signed-off-by: Eric Engestrom --- SConstruct | 8 scons/gallium.py

Re: [Mesa-dev] [PATCH] glsl/linker: fix output variable overlap check

2017-09-20 Thread Mark Janes
This patch regressed piglit and gl cts tests for the i965 driver https://bugs.freedesktop.org/show_bug.cgi?id=102904 Nicolai Hähnle writes: > From: Nicolai Hähnle > > Prevent an overflow caused by too many output variables. To limit the > scope of

Re: [Mesa-dev] [PATCH mesa 6/6] scons: use python3-compatible string-check

2017-09-20 Thread Jose Fonseca
On 19/09/17 15:14, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- scons/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/custom.py b/scons/custom.py index 0767ba936d410167116d..978ee5f9ec7c23a74cb9 100644 ---

[Mesa-dev] [Bug 102904] piglit and gl45 cts linker tests regressed

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102904 --- Comment #2 from Kenneth Graunke --- In fs-out-overlap.shader_test, we have this: layout(location = 0) out vec2 a; // consumes Z/W components layout(location = 0, component = 1) out vec2 b; Before the

Re: [Mesa-dev] [PATCH 1/5] intel/genxml: Convert a not-present-or-"1" dict to a set.

2017-09-20 Thread Kenneth Graunke
On Tuesday, September 19, 2017 11:06:08 AM PDT Eric Anholt wrote: > I was implementing the same enum support in broadcom's gen_pack_header.py, > and did this same simplification there. > --- > src/intel/genxml/gen_pack_header.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >

Re: [Mesa-dev] [PATCH mesa 3/6] scons: use python3-compatible lists

2017-09-20 Thread Jose Fonseca
On 19/09/17 15:14, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- SConstruct | 3 +-- scons/custom.py | 8 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/SConstruct b/SConstruct index

Re: [Mesa-dev] [Libclc-dev] opencl-example: didn't compile (run) with latest LLVM git (for some days)

2017-09-20 Thread Jan Vesely
adding mesa-dev. This is not really related to libclc. On Wed, 2017-09-20 at 12:50 +0200, Dieter Nützel via Libclc-dev wrote: > Worked OK with older version (for me latest was #6c9f36933c5) but with > your 'clover: Fix build after LLVM r313390' reverted. > > Now I get this during compilation

[Mesa-dev] [Bug 102904] piglit and gl45 cts linker tests regressed

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102904 --- Comment #1 from Mark Janes --- bisected to mesa 15cae12804ef288c7fb4cb9a38f7e32e6d8c4dc1 -- You are receiving this mail because: You are the QA Contact for the bug.___

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-20 Thread Lionel Landwerlin
On 19/09/17 20:02, Jason Ekstrand wrote: +   if (image->shadow_surface.isl.size > 0 && +       isl_format_is_compressed(view.format) && +       (flags & ANV_IMAGE_VIEW_STATE_TEXTURE_OPTIMAL)) { +      assert(isl_format_is_compressed(surface->isl.format));

Re: [Mesa-dev] [PATCH 7/9] wayland-drm: static inline wayland_drm_buffer_get

2017-09-20 Thread Daniel Stone
Hi Emil, On 19 September 2017 at 11:25, Emil Velikov wrote: > On 15 September 2017 at 16:41, Daniel Stone wrote: >> On 15 September 2017 at 16:13, Emil Velikov wrote: >>> Right, I'm looking through both functions and I'm

[Mesa-dev] [PATCH] ac/surface: handle error when choosing preferred swizzle mode

2017-09-20 Thread Nicolai Hähnle
From: Nicolai Hähnle CID: 1418140 Fixes: c4ac522511d2 ("ac/surface: handle S8 on gfx9") --- src/amd/common/ac_surface.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index

Re: [Mesa-dev] [PATCH 2/5] gallium: Weaken assertion about u_mm's align2 field.

2017-09-20 Thread Nicolai Hähnle
On 19.09.2017 20:06, Eric Anholt wrote: vc5 MMU mappings are access-controlled at a 128kb boundary, so the 4kb here was too small for that purpose. Allowing any valid align2 value that u_mm's 32-bit addressing can represent will still catch most cases of people passing in a byte alignment.

Re: [Mesa-dev] [PATCH 12/12] anv: Advertise VK_KHR_maintenance2

2017-09-20 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: --- src/intel/vulkan/anv_extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py index acec785..52390fe

Re: [Mesa-dev] [PATCH mesa v2] scons: use python3-compatible exceptions

2017-09-20 Thread Eric Engestrom
Apologies, I didn't double-check what I was sending, and sent the wrong patch... please disregard. On Wednesday, 2017-09-20 10:13:27 +, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > scons/crossmingw.py | 2 +- > scons/dxsdk.py | 2 +- >

Re: [Mesa-dev] Vulkan extensions

2017-09-20 Thread Romain Failliot
I could, but for now I'll stick to what features.txt tells me, it's easier and more doable considering the time I can invest in mesamatrix. But I think, in the future, users might be interested in knowing which of the extensions are implemented in each driver. Especially since it doesn't seem

Re: [Mesa-dev] [PATCH 2/2] i965: Only set planar_format if it's actually one

2017-09-20 Thread Daniel Stone
Hi, On 19 September 2017 at 12:10, Jason Ekstrand wrote: > On Tue, Sep 19, 2017 at 6:40 AM, Daniel Stone wrote: >> The planar_format image property was always set even for >> non-planar formats. This was breaking CCS support as >> intel_from_planar

Re: [Mesa-dev] Vulkan extensions

2017-09-20 Thread Romain Failliot
Le 14 sept. 2017 6:11 PM, "Bas Nieuwenhuizen" a écrit : For vulkan, because 1.0 is the initial version, there are no extensions to implement to get to that version, so having an extensions list would be nonsensical. I don't think it is nonsensical, say the nouveau

[Mesa-dev] [PATCH] Scons: LLVM 5.0 support

2017-09-20 Thread Liviu Prodea
Signed-off-by: Prodea Alexandru-LiviuBugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102318 1 new required library - LLVMBinaryFormat --- diff --git a/scons/llvm.py b/scons/llvm.py index 928fc97..eefb131 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -104,7 +104,27 @@ def generate(env):

Re: [Mesa-dev] Vulkan extensions

2017-09-20 Thread Romain Failliot
2017-09-14 19:19 GMT-04:00 Bas Nieuwenhuizen : > Also you can implement 0% of the feature list and still be vulkan 1.0 > compliant ;) > Oh... is that so? Thanks for all your answers, I apparently didn't understand what "being Vulkan 1.0" meant ;) So if I understand

Re: [Mesa-dev] [PATCH] r600: fork and import gallium/radeon

2017-09-20 Thread Nicolai Hähnle
Looks good to me. I guess Emil didn't find any problems either. Feel free to push with Reviewed-by: Nicolai Hähnle On 18.09.2017 18:08, Marek Olšák wrote: On Thu, Sep 14, 2017 at 4:52 PM, Nicolai Hähnle wrote: On 14.09.2017 16:19, Emil Velikov

Re: [Mesa-dev] [PATCH 11/12] anv/image: Use RENDER_SURFACE_STATE::X/Y Offset on SKL+

2017-09-20 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: The Broadawell method of handling uncompressed views of compressed s/Broadawell/Broadwell/ textures was to make the texture linear and have a tiled shadow copy. This isn't needed on Sky

Re: [Mesa-dev] [PATCH 08/12] anv/image: Support creating uncompressed views of compressed images

2017-09-20 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 15/09/17 17:01, Jason Ekstrand wrote: In order to get support everywhere, this gets a bit complicated. On Sky Lake and later, everything is fine because HALIGN/VALIGN are specified in surface elements and are required to be at

[Mesa-dev] [Bug 102904] piglit and gl45 cts linker tests regressed

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102904 Bug ID: 102904 Summary: piglit and gl45 cts linker tests regressed Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [PATCH] amd/addrlib: fix missing va_end() after va_copy()

2017-09-20 Thread Nicolai Hähnle
From: Nicolai Hähnle There's no reason to use va_copy here. CID: 1418113 --- I have a slight preference for this variant. -- src/amd/addrlib/core/addrobject.cpp | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[Mesa-dev] [Bug 102597] [Regression] mpv, high rendering times (two to three times higher)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102597 --- Comment #8 from Cris --- Well? Thousands of mpv users rely on mesa's now incorrect behaviour to diagnose performance issues. Are you going to revert that commit in accordance with the spec or are you going to be

[Mesa-dev] [PATCH mesa v2] scons: use python3-compatible generator

2017-09-20 Thread Eric Engestrom
Suggested-by: Ilia Mirkin Signed-off-by: Eric Engestrom --- v2: use generator instead of list comprehension (Ilia) --- src/gallium/drivers/swr/SConscript | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[Mesa-dev] [Bug 102908] Add account for Thomas Helland

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102908 --- Comment #1 from Thomas Helland --- Created attachment 134386 --> https://bugs.freedesktop.org/attachment.cgi?id=134386=edit GPG public key -- You are receiving this mail because: You are the QA Contact for the

Re: [Mesa-dev] [PATCH 2/2] glsl: merge loop_controls.cpp with loop_unroll.cpp

2017-09-20 Thread Thomas Helland
I've only skimmed this, but it looks trivial and correct. This patch series is: Reviewed-by: Thomas Helland I like the idea of getting rid of some of the walks over the IR, and have a set of patches sitting locally doing just that. I think I got most of them reviewed,

[Mesa-dev] [PATCH] Revert "intel: Remove unused Kabylake pci ids

2017-09-20 Thread Anuj Phogat
drm-intel is in favor of keeping the unused pci-id's which are still listed in the h/w specs. To keep it uniform across multiple gfx stack components, I'm reverting below Mesa patches: b2dae9f8fd310c19e66b161a7ee9845af78f73e0 ebc5ccf3cc88990248695e833d9ff11e10d91240. Signed-off-by: Anuj Phogat

[Mesa-dev] [Bug 102908] Add account for Thomas Helland

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102908 Kenneth Graunke changed: What|Removed |Added QA Contact|mesa-dev@lists.freedesktop. |

Re: [Mesa-dev] [RFC 1/4] intel: use a flag instead of setting PYTHONPATH

2017-09-20 Thread Dylan Baker
Quoting Kenneth Graunke (2017-09-20 13:44:58) > On Wednesday, September 20, 2017 1:27:38 PM PDT Dylan Baker wrote: > > Meson doesn't allow setting environment variables for custom targets, so > > we either need to not pass this as an environment variable or use a > > shell script to wrap the

Re: [Mesa-dev] [RFC 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-20 Thread Nicolai Hähnle
On 20.09.2017 22:27, Dylan Baker wrote: +amd_common_files = files( + 'ac_binary.c', + 'ac_binary.h', + 'ac_exp_param.h', + 'ac_llvm_build.c', + 'ac_llvm_build.h', + 'ac_llvm_helper.cpp', + 'ac_llvm_util.c', + 'ac_llvm_util.h', + 'ac_shader_abi.h', + 'ac_shader_info.c', +

Re: [Mesa-dev] [RFC 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-20 Thread Dylan Baker
Matt and I discussed this a bit before he left for XDC, and I have some ideas on how to share sources file lists (meson upstream wasn't particularly thrilled with the idea of of adding makefile parsing support, even in as limited a form as we have with our Makefile.sources). My initial though is

[Mesa-dev] [PATCH 1/2] gallium: Add PIPE_SHADER_CAP_INT64_ATOMICS

2017-09-20 Thread Jan Vesely
Denotes availability of 64bit int atomic instructions Signed-off-by: Jan Vesely --- src/gallium/auxiliary/gallivm/lp_bld_limits.h| 1 + src/gallium/auxiliary/tgsi/tgsi_exec.h | 1 + src/gallium/docs/source/screen.rst | 1 +

[Mesa-dev] [PATCH 2/2] clover: Query and export int64 atomics

2017-09-20 Thread Jan Vesely
Signed-off-by: Jan Vesely --- CC: Francisco Jerez This exposes both extensions on GCN+ GPUs. src/gallium/state_trackers/clover/api/device.cpp | 6 -- src/gallium/state_trackers/clover/core/device.cpp | 6 ++

[Mesa-dev] [RFC 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-20 Thread Dylan Baker
This builds and installs, but I haven't had a chance to test it yet. Signed-off-by: Dylan Baker --- meson.build | 17 ++ src/{ => amd/addrlib}/meson.build | 69 - src/{ => amd/common}/meson.build | 65

[Mesa-dev] [RFC 1/4] intel: use a flag instead of setting PYTHONPATH

2017-09-20 Thread Dylan Baker
Meson doesn't allow setting environment variables for custom targets, so we either need to not pass this as an environment variable or use a shell script to wrap the invocation. The chosen solution has the advantage of working for both autotools and meson. Signed-off-by: Dylan Baker

[Mesa-dev] [RFC 3/4] meson: Add build Intel "anv" vulkan driver

2017-09-20 Thread Dylan Baker
This allows building and installing the Intel "anv" Vulkan driver using meson and ninja, the driver has been tested against the CTS and has seems to pass the same series of tests (they both segfault when the CTS tries to run wayland wsi tests). There are still a mess of TODO, XXX, and FIXME

[Mesa-dev] initial meson port

2017-09-20 Thread Dylan Baker
Hi everyone, A long time ago I made some rumbling about porting mesa to meson (isn't that confusing). In the mean time I've been bogged down with other projects, including adding features to meson itself, and trying to write and rebase meson patches for all of mesa. Unfortunately mesa is a large

Re: [Mesa-dev] [RFC 1/4] intel: use a flag instead of setting PYTHONPATH

2017-09-20 Thread Kenneth Graunke
On Wednesday, September 20, 2017 1:27:38 PM PDT Dylan Baker wrote: > Meson doesn't allow setting environment variables for custom targets, so > we either need to not pass this as an environment variable or use a > shell script to wrap the invocation. The chosen solution has the > advantage of

Re: [Mesa-dev] [PATCH 02/12] spirv: Flip the tessellation winding order

2017-09-20 Thread Kenneth Graunke
On Friday, September 15, 2017 9:01:41 AM PDT Jason Ekstrand wrote: > It's not SPIR-V that's backwards from GLSL, it's Vulkan that's backwards > from GL. Let's make NIR consistent with the source language and do the > flipping inside the Vulkan driver instead. > > Cc: Kenneth Graunke

[Mesa-dev] [Bug 102908] Add account for Thomas Helland

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102908 --- Comment #2 from Thomas Helland --- Created attachment 134387 --> https://bugs.freedesktop.org/attachment.cgi?id=134387=edit ssh public key -- You are receiving this mail because: You are the QA Contact for the

Re: [Mesa-dev] [PATCH] glsl/linker: properly fix output variable overlap check

2017-09-20 Thread Kenneth Graunke
On Wednesday, September 20, 2017 12:58:36 PM PDT Nicolai Hähnle wrote: > From: Nicolai Hähnle > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102904 > Fixes: 15cae12804e ("glsl/linker: fix output variable overlap check") > --- > src/compiler/glsl/linker.cpp |

Re: [Mesa-dev] [PATCH] radv: copy the number of viewports/scissors at pipeline bind time

2017-09-20 Thread Dave Airlie
R-b On 20 Sep. 2017 22:07, "Samuel Pitoiset" wrote: > The number of viewports/scissors can only be specified at pipeline > creation time, so make sure to copy them when binding a new one > because the dynamic state is cleared in BeginCommandBuffer(). > > Fixes:

Re: [Mesa-dev] [RFC 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-20 Thread Nicolai Hähnle
On 20.09.2017 23:08, Dylan Baker wrote: Matt and I discussed this a bit before he left for XDC, and I have some ideas on how to share sources file lists (meson upstream wasn't particularly thrilled with the idea of of adding makefile parsing support, even in as limited a form as we have with our

[Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Dylan Baker
It is possible to have DEBUG disabled but asserts on, which cannot build because these asserts work on members that are only present when DEBUG is on. Signed-off-by: Dylan Baker --- src/util/ralloc.c | 8 1 file changed, 8 insertions(+) diff --git

Re: [Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Kenneth Graunke
On Wednesday, September 20, 2017 1:27:39 PM PDT Dylan Baker wrote: > It is possible to have DEBUG disabled but asserts on, which cannot build > because these asserts work on members that are only present when DEBUG > is on. > > Signed-off-by: Dylan Baker > --- >

Re: [Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Dylan Baker
Quoting Kenneth Graunke (2017-09-20 13:42:45) > On Wednesday, September 20, 2017 1:27:39 PM PDT Dylan Baker wrote: > > It is possible to have DEBUG disabled but asserts on, which cannot build > > because these asserts work on members that are only present when DEBUG > > is on. > > > >

[Mesa-dev] [Bug 102908] Add account for Thomas Helland

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102908 Bug ID: 102908 Summary: Add account for Thomas Helland Product: Mesa Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal

Re: [Mesa-dev] [PATCH] Revert "intel: Remove unused Kabylake pci ids

2017-09-20 Thread Rodrigo Vivi
On Wed, Sep 20, 2017 at 08:17:32PM +, Anuj Phogat wrote: > drm-intel is in favor of keeping the unused pci-id's which > are still listed in the h/w specs. To keep it uniform > across multiple gfx stack components, I'm reverting below > Mesa patches: > b2dae9f8fd310c19e66b161a7ee9845af78f73e0 >

[Mesa-dev] [Bug 102908] Add account for Thomas Helland

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102908 --- Comment #3 from Thomas Helland --- I believe that should be all that's needed. Let me know if I've messed up =) -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact

[Mesa-dev] [PATCH] glsl/linker: properly fix output variable overlap check

2017-09-20 Thread Nicolai Hähnle
From: Nicolai Hähnle Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102904 Fixes: 15cae12804e ("glsl/linker: fix output variable overlap check") --- src/compiler/glsl/linker.cpp | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff

[Mesa-dev] [Bug 102904] piglit and gl45 cts linker tests regressed

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102904 --- Comment #3 from Nicolai Hähnle --- Ah, my bad. Moving the code back is incorrect though because it can overflow the array (that's the bug that the commit fixed). This should do it:

Re: [Mesa-dev] [PATCH] ac/surface: handle error when choosing preferred swizzle mode

2017-09-20 Thread Marek Olšák
Reviewed-by: Marek Olšák M. On Sep 20, 2017 7:47 AM, "Nicolai Hähnle" wrote: From: Nicolai Hähnle CID: 1418140 Fixes: c4ac522511d2 ("ac/surface: handle S8 on gfx9") --- src/amd/common/ac_surface.c | 6 -- 1 file changed,

Re: [Mesa-dev] [PATCH 2/2] clover: Query and export int64 atomics

2017-09-20 Thread Aaron Watry
On Wed, Sep 20, 2017 at 3:23 PM, Jan Vesely wrote: > Signed-off-by: Jan Vesely > --- > CC: Francisco Jerez > This exposes both extensions on GCN+ GPUs. > > src/gallium/state_trackers/clover/api/device.cpp | 6 -- >

Re: [Mesa-dev] [PATCH 00/14] Patches for VA-API State Tracker Postproc

2017-09-20 Thread Mark Thompson
On 19/09/17 20:04, Leo Liu wrote: > This series are for VA-API State Tracker Postproc, including: > > Deinterlacing I video for transcode; > Scaling support in postproc for transcode; > Frame grabber in postproc > > Thanks Andy Furniss for lots of testing on these. > > Leo

Re: [Mesa-dev] initial meson port

2017-09-20 Thread Eric Anholt
Dylan Baker writes: > Results > autotools : sh -c 535.34s user 30.33s system 310% cpu 3:02.05 total > meson : sh -c 136.58s user 11.98s system 372% cpu 39.895 total I just want to point at these numbers again. meson is so transformative for your normal build/test

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_SHADER_CAP_INT64_ATOMICS

2017-09-20 Thread Marek Olšák
Reviewed-by: Marek Olšák M. On Sep 20, 2017 1:24 PM, "Jan Vesely" wrote: > Denotes availability of 64bit int atomic instructions > > Signed-off-by: Jan Vesely > --- > src/gallium/auxiliary/gallivm/lp_bld_limits.h| 1 +

Re: [Mesa-dev] [PATCH] amd/addrlib: fix missing va_end() after va_copy()

2017-09-20 Thread Marek Olšák
Reviewed-by: Marek Olšák M. On Sep 20, 2017 7:48 AM, "Nicolai Hähnle" wrote: > From: Nicolai Hähnle > > There's no reason to use va_copy here. > > CID: 1418113 > --- > I have a slight preference for this variant. > -- >

[Mesa-dev] [PATCH] mesa/st: fix infinite loops

2017-09-20 Thread Timothy Arceri
Fixes: 9ac8fece63a9 (glsl: Unify ir_constant::const_elements and ::components) --- src/mesa/program/ir_to_mesa.cpp| 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/program/ir_to_mesa.cpp

Re: [Mesa-dev] [PATCH 00/14] Patches for VA-API State Tracker Postproc

2017-09-20 Thread Leo Liu
On 09/20/2017 06:11 PM, Mark Thompson wrote: On 19/09/17 20:04, Leo Liu wrote: This series are for VA-API State Tracker Postproc, including: Deinterlacing I video for transcode; Scaling support in postproc for transcode; Frame grabber in postproc Thanks Andy Furniss

Re: [Mesa-dev] [PATCH 1/3] glsl: Silence unused parameter warnings

2017-09-20 Thread Timothy Arceri
Fix sent: https://lists.freedesktop.org/archives/mesa-dev/2017-September/170304.html On 21/09/17 11:09, Timothy Arceri wrote: Hi Ian, This series causes massive memory use in the glsl_to_tgsi pass for gallium drivers. For example with the following test: ./bin/shader_runner_gles3

Re: [Mesa-dev] [PATCH 1/3] glsl: Silence unused parameter warnings

2017-09-20 Thread Timothy Arceri
Hi Ian, This series causes massive memory use in the glsl_to_tgsi pass for gallium drivers. For example with the following test: ./bin/shader_runner_gles3 tests/spec/glsl-es-3.00/execution/varying-struct-copy-return-vs.shader_test -auto I'm not sure whats going on yet because it crashes

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

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99856 Jan Vesely changed: What|Removed |Added Attachment #130136|0 |1 is

[Mesa-dev] feature levels in clover (was: Re: [PATCH 2/2] clover: Query and export int64 atomics)

2017-09-20 Thread Jan Vesely
On Wed, 2017-09-20 at 19:10 -0500, Aaron Watry wrote: > [SNIP] > > Not trying to rain on your parade, but I've been thinking that we > might need to be able to query the installed libclc version or > possibly consider querying the libclc library for information about > which extensions are

Re: [Mesa-dev] [PATCH] gallium/radeon: consolidate PIPE_BIND_SHARED/SCANOUT handling

2017-09-20 Thread Nicolai Hähnle
Reviewed-by: Nicolai Hähnle On 18.09.2017 18:07, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeon/r600_buffer_common.c | 13 - src/gallium/drivers/radeon/r600_texture.c | 4 2 files changed, 4

[Mesa-dev] [PATCH] radv: copy the number of viewports/scissors at pipeline bind time

2017-09-20 Thread Samuel Pitoiset
The number of viewports/scissors can only be specified at pipeline creation time, so make sure to copy them when binding a new one because the dynamic state is cleared in BeginCommandBuffer(). Fixes: dcf46e995d ("radv: do not update the number of scissors in vkCmdSetScissor()") Fixes: 60878dd00c

[Mesa-dev] [Bug 102891] [radv] glitches on rpcs3 emulator (green zones)

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102891 --- Comment #4 from Ilia Mirkin --- (In reply to jdruel from comment #3) > With renderdoc, I'm seeing warning messages on the console > spirv/spirv_to_nir.c:2763 WARNING: Unsupported SPIR-V capability: >

Re: [Mesa-dev] [PATCH] swr/rast: remove llvm fence/atomics from generated files

2017-09-20 Thread Laurent Carlier
Le mardi 19 septembre 2017, 21:25:42 CEST Tim Rowley a écrit : > We currently don't use these instructions, and since their API > changed in llvm-5.0 having them in the autogen files broke the mesa > release tarballs which ship with generated autogen files. > > Bugzilla:

Re: [Mesa-dev] [PATCH] egl/wayland: Make wayland_drm_init declaration match the implementation

2017-09-20 Thread Eric Engestrom
On Tuesday, 2017-09-19 20:33:47 +, Jason Ekstrand wrote: > Fixes: 1d0be5b3fe548ee33d4520092f583c76d42510a6 > Cc: Emil Velikov Reviewed-by: Eric Engestrom > --- > src/egl/wayland/wayland-drm/wayland-drm.h | 2 +- > 1 file changed, 1

Re: [Mesa-dev] [PATCH] anv/entrypoints_gen: Dedent the C code

2017-09-20 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 19/09/17 22:49, Jason Ekstrand wrote: This makes the C code be justified over to the left. --- src/intel/vulkan/anv_entrypoints_gen.py | 392 1 file changed, 196 insertions(+), 196 deletions(-)

Re: [Mesa-dev] [Mesa-stable] [PATCH] anv: Fix descriptors copying

2017-09-20 Thread Juan A. Suarez Romero
On Sat, 2017-09-16 at 08:56 -0700, Jason Ekstrand wrote: > Oh, and > > Reviewed-by: Jason Ekstrand > > Józef, are you pushing this patch? It is not in master yet, and it would be great to include it in the next stable releases. Thanks! J.A. > On September 16,

Re: [Mesa-dev] [Mesa-stable] [PATCH] anv: Fix descriptors copying

2017-09-20 Thread Józef Kucia
On Wed, Sep 20, 2017 at 12:55 PM, Juan A. Suarez Romero wrote: > On Sat, 2017-09-16 at 08:56 -0700, Jason Ekstrand wrote: >> Oh, and >> >> Reviewed-by: Jason Ekstrand >> >> > > Józef, are you pushing this patch? It is not in master yet, and it > would

Re: [Mesa-dev] [Mesa-stable] [PATCH] glsl/linker: fix output variable overlap check

2017-09-20 Thread Juan A. Suarez Romero
On Mon, 2017-09-18 at 11:30 +0200, Nicolai Hähnle wrote: > From: Nicolai Hähnle > Nicolai, if you push this today I can try to include it in this week stable release. Thanks! J.A. > Prevent an overflow caused by too many output variables. To limit the >

[Mesa-dev] [Bug 100430] [radv] graphical glitches on dolphin emulator

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100430 --- Comment #11 from jdr...@gmail.com --- Captured the black intro and white square scenes with renderdoc. https://www.dropbox.com/s/k8w11smnuwjfid1/dolphin-emu_2017.09.20_10.06.07_frame133.rdc?dl=0

[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

2017-09-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102852 Alex Granni changed: What|Removed |Added Attachment #134347|0 |1 is

Re: [Mesa-dev] [Mesa-stable] [PATCH v2 3/4] i965/screen: Report the correct number of image planes

2017-09-20 Thread Juan A. Suarez Romero
On Wed, 2017-09-06 at 16:52 +0100, Emil Velikov wrote: > On 5 September 2017 at 19:31, Jason Ekstrand wrote: > > On Tue, Sep 5, 2017 at 10:25 AM, Emil Velikov > > wrote: > > > > > > Hi Jason, > > > > > > On 5 September 2017 at 16:48, Jason

  1   2   >