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

2017-09-23 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] [PATCH v2 4/4] meson: build "radv" vulkan driver for radeon hardware

2017-09-23 Thread Dylan Baker
This builds and installs, but I haven't had a chance to test it yet. v2: - enable radv by default - add shader cache support and enforce that it's built for radv Signed-off-by: Dylan Baker --- meson.build | 27 - meson_options.txt

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

2017-09-23 Thread Dylan Baker
It is possible to have DEBUG disabled but asserts on (NDEBUG(, which cannot build because these asserts work on members that are only present when DEBUG is on. Reviewed-by: Kenneth Graunke Signed-off-by: Dylan Baker --- src/util/ralloc.c | 8

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

2017-09-23 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. v2: - put rules back in top scope (Ken)

Re: [Mesa-dev] [PATCH 2/8] glsl: mark xfb varyings as always active

2017-09-23 Thread Kenneth Graunke
On Friday, September 22, 2017 8:29:31 PM PDT Timothy Arceri wrote: > > On 23/09/17 02:59, Kenneth Graunke wrote: > > On Tuesday, September 12, 2017 4:37:29 PM PDT Timothy Arceri wrote: > >> This will be used by the nir linking pass so that we don't remove > >> otherwise unused varyings. > >> ---

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

2017-09-23 Thread Dylan Baker
I have tested this, and as of v2 it actually works. I'll update the commitment message. Dylan On September 23, 2017 8:39:06 AM PDT, Dylan Baker wrote: >This builds and installs, but I haven't had a chance to test it yet. > >v2: - enable radv by default >- add shader

Re: [Mesa-dev] [PATCH 2/9] swr/rast: New GS state/context API

2017-09-23 Thread Cherniak, Bruce
> On Sep 21, 2017, at 7:46 PM, Tim Rowley wrote: > > One piglit regression, which was a false pass: > spec@glsl-1.50@execution@geometry@dynamic_input_array_index > --- > .../drivers/swr/rasterizer/core/frontend.cpp | 227 - >

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

2017-09-23 Thread Bas Nieuwenhuizen
Hi Dylan, Awesome work. I noticed though that when llvm-config gives 6.0.0svn we don't strip the svn away when passing to HAVE_LLVM and MESA_LLVM_VERSION_PATCH, which results in compile errors. - Bas On Sun, Sep 24, 2017 at 12:08 AM, Dylan Baker wrote: > I have tested

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

2017-09-23 Thread Nicholas Miell
On 09/23/2017 08:39 AM, Dylan Baker wrote: > diff --git a/meson_options.txt b/meson_options.txt > index e52cec31f11..854cba851d7 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -20,8 +20,10 @@ > > option('platforms', type : 'string', value : 'x11,wayland', >