Re: [Mesa-dev] [PATCH 5/5] travis: add meson build for vulkan drivers.

2017-10-02 Thread Dylan Baker
Quoting Emil Velikov (2017-10-02 09:13:49) > On 2 October 2017 at 16:51, Eric Engestrom wrote: > > On Sunday, 2017-10-01 03:58:28 +0000, Dylan Baker wrote: > >> Signed-off-by: Dylan Baker > >> --- > >> .travis.yml | 36

[Mesa-dev] [PATCH] travis: add meson build for vulkan drivers.

2017-10-02 Thread Dylan Baker
v2: - use -isystem`pwd` instead of cp to include fake linux header (Eric, Emil) Signed-off-by: Dylan Baker --- .travis.yml | 36 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index d9a8bf5a9d4..ca766917f25 100644 --- a/.travis.yml

Re: [Mesa-dev] [PATCH 4/5] meson: convert gtest to an internal dependency

2017-10-02 Thread Dylan Baker
Quoting Dylan Baker (2017-10-02 09:45:05) > Quoting Eric Engestrom (2017-10-02 08:33:14) > > On Sunday, 2017-10-01 03:58:27 +0000, Dylan Baker wrote: > > > In truth gtest is an external dependency that upstream expects you to > > > "vendor" into your own tree

Re: [Mesa-dev] [PATCH] travis: add meson build for vulkan drivers.

2017-10-03 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-03 08:29:12) > On Monday, 2017-10-02 17:12:54 +0000, Dylan Baker wrote: > > v2: - use -isystem`pwd` instead of cp to include fake linux header (Eric, > > Emil) > > > > Signed-off-by: Dylan Baker &g

[Mesa-dev] [PATCH 3/6] meson: Add support for configuring dri drivers directory.

2017-10-03 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 6 ++ meson_options.txt| 14 -- src/glx/meson.build | 2 +- src/mesa/drivers/dri/meson.build | 2 +- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/meson.build b

[Mesa-dev] [PATCH 5/6] meson_options: Remove extra whitespace between parameters

2017-10-03 Thread Dylan Baker
Originally I had these all colomized and pretty, then I wrote descriptions for the options, and they ceased to be pretty. Signed-off-by: Dylan Baker --- meson_options.txt | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a

[Mesa-dev] [PATCH 4/6] meson: build gbm

2017-10-03 Thread Dylan Baker
This doesn't include egl support, just dri support. Signed-off-by: Dylan Baker --- meson.build | 49 +--- meson_options.txt | 14 + src/{loader => gbm}/meson.build | 63 -

[Mesa-dev] [PATCH 6/6] meson: build classic swrast

2017-10-03 Thread Dylan Baker
This adds support for building the classic swrast implementation. This driver has been tested with glxinfo and glxgears. Signed-off-by: Dylan Baker --- meson.build | 2 ++ meson_options.txt | 2 +- src/mesa/drivers/dri/meson.build

[Mesa-dev] [PATCH 0/6] Meson round 3, classic drivers

2017-10-03 Thread Dylan Baker
ich is due out on the 8th. Dylan Baker (6): meson: Build i965 and dri stack meson: build glx meson: Add support for configuring dri drivers directory. meson: build gbm meson_options: Remove extra whitespace between parameters meson: build classic swrast bin/install_mega

[Mesa-dev] [PATCH 2/6] meson: build glx

2017-10-03 Thread Dylan Baker
um drivers building. Signed-off-by: Dylan Baker --- include/meson.build| 2 +- meson.build| 179 +-- meson_options.txt | 6 ++ src/compiler/nir/meson.build | 1 + src/glx/meson.build

[Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-03 Thread Dylan Baker
This gets pretty much the entire classic tree building, as well as i965, including the various glapis. There are some workarounds for bugs that are fixed in meson 0.43.0, which is due out on October 8th. I have tested this with piglit using glx. Signed-off-by: Dylan Baker --- bin

Re: [Mesa-dev] [PATCH 2/6] meson: build glx

2017-10-04 Thread Dylan Baker
Meson does in most cases, just apparently not in options. I'm going to write a patch for it right now. Dylan Quoting Nicholas Miell (2017-10-03 18:38:26) > On 10/03/2017 05:26 PM, Dylan Baker wrote: > > > diff --git a/meson_options.txt b/meson_options.txt > > index 5

Re: [Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:25:30) > Dylan Baker writes: > > > This gets pretty much the entire classic tree building, as well as > > i965, including the various glapis. There are some workarounds for bugs > > that are fixed in meson 0.43.0, which is due out on Oct

Re: [Mesa-dev] [PATCH 1/6] meson: Build i965 and dri stack

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:34:40) > Dylan Baker writes: > > > This gets pretty much the entire classic tree building, as well as > > i965, including the various glapis. There are some workarounds for bugs > > that are fixed in meson 0.43.0, which is due out on Oct

Re: [Mesa-dev] [PATCH 2/6] meson: build glx

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 14:57:23) > Dylan Baker writes: > > > This gets GLX and the loader building. The resulting GLX and i965 have > > been tested on piglit and seem to work fine. This patch leaves a lot of > > todo's in it's wake, GLX is quite

Re: [Mesa-dev] [PATCH 4/6] meson: build gbm

2017-10-04 Thread Dylan Baker
Quoting Eric Anholt (2017-10-04 15:04:28) > Dylan Baker writes: > > > This doesn't include egl support, just dri support. > > > > Signed-off-by: Dylan Baker > > --- > > meson.build | 49 +---

Re: [Mesa-dev] [Mesa-stable] [PATCH 7/7] configure.ac: static link LLVM by default

2017-10-05 Thread Dylan Baker
This is neither a for or against, but I thought I'd add this to the discussion. Currently meson only supports using LLVM as a shared library, so this is going to make the meson build and the autotools build do different things by default. I understand that meson is still in development and no dis

Re: [Mesa-dev] [PATCH v3 10/12] anv: add nir lowering pass for ycrcb textures

2017-10-05 Thread Dylan Baker
Quoting Lionel Landwerlin (2017-10-04 10:34:55) > This pass implements all the implicit conversions required by the > VK_KHR_sampler_ycbcr_conversion specification. > > It also inserts plane sources onto sampling instructions that we then > let the pipeline layout pass deal with, when mapping thin

Re: [Mesa-dev] [PATCH v3 10/12] anv: add nir lowering pass for ycrcb textures

2017-10-05 Thread Dylan Baker
Quoting Lionel Landwerlin (2017-10-05 09:37:39) > On 05/10/17 17:36, Dylan Baker wrote: > > Quoting Lionel Landwerlin (2017-10-04 10:34:55) > > This pass implements all the implicit conversions required by the > VK_KHR_sampler_ycbcr_conversion specificatio

[Mesa-dev] [PATCH v2 04/12] meson: only require libelf if building radv

2017-10-05 Thread Dylan Baker
And add a todo about clover, r600, and radeonsi, which also need libelf. Signed-off-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5de64acefd6..97809e98289 100644 --- a/meson.build +++ b/meson.build @@ -288,7

[Mesa-dev] [PATCH v2 02/12] make: Fix test to be meson compatible

2017-10-05 Thread Dylan Baker
This has the same problem as the previous commit, generated headers and hardcoded paths. Signed-off-by: Dylan Baker --- src/mapi/Makefile.am| 2 ++ src/mapi/shared-glapi/tests/check_table.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapi

[Mesa-dev] [PATCH v2 07/12] meson: build glx

2017-10-05 Thread Dylan Baker
r include variables to this patch (Eric A) Signed-off-by: Dylan Baker --- include/meson.build| 2 +- meson.build| 163 ++--- meson_options.txt | 6 ++ src/glx/mes

[Mesa-dev] [PATCH v2 01/12] make: change include to work for meson

2017-10-05 Thread Dylan Baker
Meson expects you to include the generated target in another target's sources, and it will generate the include directives for you, so change the source file and add the generated glx builddir to the autotools include to make that work. Signed-off-by: Dylan Baker --- src/glx/tests/Makefi

[Mesa-dev] [PATCH v2 10/12] meson: build classic swrast

2017-10-05 Thread Dylan Baker
This adds support for building the classic swrast implementation. This driver has been tested with glxinfo and glxgears. Signed-off-by: Dylan Baker --- meson.build | 2 ++ meson_options.txt | 2 +- src/mesa/drivers/dri/meson.build

[Mesa-dev] [PATCH v2 05/12] meson: de-tabularize meson_options.txt

2017-10-05 Thread Dylan Baker
This ends up being unworkable as more options get added, and with description wrapped onto a new line it doesn't improve readability anyway. Signed-off-by: Dylan Baker --- meson_options.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meson_options.

[Mesa-dev] [PATCH v2 09/12] meson: build gbm

2017-10-05 Thread Dylan Baker
This doesn't include egl support, just dri support. v2: - when gbm is set to 'auto', only build if a dri driver is also enabled - Fix conditional to check for x11 modules with vulkan as well as with dri drivers Signed-off-by: Dylan Baker --- meson.build

[Mesa-dev] [PATCH v2 12/12] travis: don't run ninja test for meson

2017-10-05 Thread Dylan Baker
This pulls in tons of extra dependencies because the tests are not properly guarded. Signed-off-by: Dylan Baker --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ece9b5feff3..d16d6b3c25a 100644 --- a/.travis.yml +++ b

[Mesa-dev] [PATCH v2 03/12] meson: add nir_linking_helpers.c to libnir

2017-10-05 Thread Dylan Baker
This was missed in a rebase, and doesn't affect radv or anv, only i965. Signed-off-by: Dylan Baker --- src/compiler/nir/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index 8a85d119530..faa69e3aa30 100644 ---

[Mesa-dev] [PATCH v2 11/12] travis: Add a travis profile for meson dri drivers

2017-10-05 Thread Dylan Baker
Signed-off-by: Dylan Baker --- .travis.yml | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 19fd6acf3b9..ece9b5feff3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -396,7 +396,7 @@ matrix: - env: - LABEL="

[Mesa-dev] [PATCH v2 08/12] meson: Add support for configuring dri drivers directory.

2017-10-05 Thread Dylan Baker
v2: - drop with_ from dri_drivers_path variable (Eric A) Signed-off-by: Dylan Baker --- meson.build | 6 ++ meson_options.txt| 2 ++ src/glx/meson.build | 2 +- src/mesa/drivers/dri/meson.build | 2 +- 4 files changed, 10 insertions(+), 2

[Mesa-dev] [PATCH v2 06/12] meson: Build i965 and dri stack

2017-10-05 Thread Dylan Baker
A) - Remove -DMESON hack (Eric A) - add sha1_h to mesa in this patch (Eric A) - Put generators in loops when possible to reduce code in mapi/glapi/gen (Eric A) Signed-off-by: Dylan Baker --- src/meson.build => bin/install_megadrivers.py | 63 ++- include/meson.build

Re: [Mesa-dev] [PATCH v2 12/12] travis: don't run ninja test for meson

2017-10-05 Thread Dylan Baker
Quoting Emil Velikov (2017-10-05 10:59:04) > On 5 October 2017 at 18:12, Dylan Baker wrote: > > > - env: > > - LABEL="meson loaders/classic DRI" > > - BUILD=meson > > -- MESON_OPTIONS="-Dbuild-tests=true -Dvulkan-dri

Re: [Mesa-dev] [PATCH v2 02/12] make: Fix test to be meson compatible

2017-10-05 Thread Dylan Baker
Quoting Emil Velikov (2017-10-05 11:26:40) > On 5 October 2017 at 18:12, Dylan Baker wrote: > > This has the same problem as the previous commit, generated headers and > > hardcoded paths. > > > Something's strange here. You already have the "generic"

Re: [Mesa-dev] [PATCH v2 01/12] make: change include to work for meson

2017-10-05 Thread Dylan Baker
Quoting Emil Velikov (2017-10-05 11:17:06) > On 5 October 2017 at 18:12, Dylan Baker wrote: > > Meson expects you to include the generated target in another target's > > sources, and it will generate the include directives for you, so change > > the source file and add

Re: [Mesa-dev] [PATCH v2 07/12] meson: build glx

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:18:39) > Dylan Baker writes: > > > This gets GLX and the loader building. The resulting GLX and i965 have > > been tested on piglit and seem to work fine. This patch leaves a lot of > > todo's in it's wake, GLX is quite

Re: [Mesa-dev] [PATCH v2 06/12] meson: Build i965 and dri stack

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:57:41) > Dylan Baker writes: > > > This gets pretty much the entire classic tree building, as well as > > i965, including the various glapis. There are some workarounds for bugs > > that are fixed in meson 0.43.0, which is due out on Oct

Re: [Mesa-dev] [PATCH v2 09/12] meson: build gbm

2017-10-05 Thread Dylan Baker
Quoting Eric Anholt (2017-10-05 12:43:47) > Dylan Baker writes: > > > This doesn't include egl support, just dri support. > > > > +install_headers('main/gbm.h') > > + > > +pkg.generate( > > + name : 'gbm', > > +

[Mesa-dev] [PATCH v3 07/12] meson: build glx

2017-10-05 Thread Dylan Baker
r include variables to this patch (Eric A) v3: - set the version correctly for GL_LIB_NAME in libglx Signed-off-by: Dylan Baker --- I tested building both the glvnd and !glvnd paths with this change. include/meson.build| 2 +- meson.build

Re: [Mesa-dev] [PATCH] meson: generate builddir/src/amd/vulkan/dev_icd.json

2017-10-05 Thread Dylan Baker
I didn't add these since I didn't know if they'd be useful given that meson doesn't generate a /lib, but this looks correct. Reviewed-by: Dylan Baker Quoting Bas Nieuwenhuizen (2017-10-05 12:34:51) > --- > src/amd/vulkan/Makefile.am | 2 +- > src/amd/vulkan/

Re: [Mesa-dev] [PATCH v2 05/12] meson: de-tabularize meson_options.txt

2017-10-06 Thread Dylan Baker
Quoting Eero Tamminen (2017-10-06 03:22:56) > Hi, > > On 05.10.2017 20:12, Dylan Baker wrote: > > This ends up being unworkable as more options get added, and with > > description wrapped onto a new line it doesn't improve readability > > anyway. >

Re: [Mesa-dev] [PATCH v2 06/12] meson: Build i965 and dri stack

2017-10-06 Thread Dylan Baker
Quoting Daniel Stone (2017-10-06 03:25:15) > Hi, > > On 5 October 2017 at 18:12, Dylan Baker wrote: > > This gets pretty much the entire classic tree building, as well as > > i965, including the various glapis. There are some workarounds for bugs > > that are fixed in

Re: [Mesa-dev] [PATCH v2 09/12] meson: build gbm

2017-10-06 Thread Dylan Baker
Quoting Daniel Stone (2017-10-06 03:28:48) > Hi, > > On 5 October 2017 at 22:22, Dylan Baker wrote: > > Quoting Eric Anholt (2017-10-05 12:43:47) > >> Dylan Baker writes: > >> > +install_headers('main/gbm.h') > >> > + > >>

Re: [Mesa-dev] [PATCH] Replace byte-swapping code with builtins in pack.c

2017-10-06 Thread Dylan Baker
Quoting Erik Faye-Lund (2017-10-06 00:31:20) > On Thu, Oct 5, 2017 at 8:59 PM, Jochen Rollwagen > wrote: > > Am 04.10.2017 um 05:59 schrieb Matt Turner: > >> > >> On Tue, Oct 3, 2017 at 11:01 AM, Jochen Rollwagen > >> wrote: > >>> > >>> From 4cebe50a9bade6717923e104c954f3fad75f71bb Mon Sep 17 0

[Mesa-dev] [PATCH] meson: Include nir directories in anv_common

2017-10-07 Thread Dylan Baker
Signed-off-by: Dylan Baker Fixes: f3e91e78a337 ("anv: add nir lowering pass for ycbcr textures") cc: Lionel Landwerlin --- src/intel/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.b

Re: [Mesa-dev] [PATCH v3 07/12] meson: build glx

2017-10-07 Thread Dylan Baker
I looked at what autotools generates in it's make files and output and matches that with what meson is generating now. Does this look good to you? It's the last patch waiting for review in the series. Dylan Quoting Dylan Baker (2017-10-05 14:27:33) > This gets GLX and the loader

[Mesa-dev] [PATCH] editorconfig: Add meson configuration

2017-10-07 Thread Dylan Baker
Signed-off-by: Dylan Baker --- .editorconfig | 4 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 6eb0702a25a..06848f68c08 100644 --- a/.editorconfig +++ b/.editorconfig @@ -33,3 +33,7 @@ indent_size = 2 [*.patch] trim_trailing_whitespace = false

Re: [Mesa-dev] [PATCH] anv: fix nir.h include

2017-10-07 Thread Dylan Baker
Reviewed-by: Dylan Baker Quoting Lionel Landwerlin (2017-10-07 11:33:23) > All over mesa we include "nir/nir.h", we should probably do the same > here. This fixes the meson build that was broken by the ycbcr series. > > Thanks to Dylan for finding the issue. >

Re: [Mesa-dev] [PATCH 04/14] intel: Add simple logging façade for Android

2017-10-09 Thread Dylan Baker
Quoting Chad Versace (2017-09-27 17:11:50) > I'm bringing up Vulkan in the Android container of Chrome OS (ARC++). > > On Android, stdio goes to /dev/null. On Android, remote gdb is even more > painful than the usual remote gdb. On Android, nothing works like you > expect and debugging is hell. I

[Mesa-dev] [PATCH v4] meson: build glx

2017-10-09 Thread Dylan Baker
r include variables to this patch (Eric A) v3: - set the version correctly for GL_LIB_NAME in libglx v4: - set pkgconfig private fields Signed-off-by: Dylan Baker --- include/meson.build| 2 +- meson.build| 165

Re: [Mesa-dev] [PATCH] git_sha1_gen: accept MESA_GIT_SHA1_OVERRIDE env var

2017-10-09 Thread Dylan Baker
Quoting Brian Paul (2017-10-09 13:56:33) > If one uses a parent build script to download/build Mesa we may not > have a full git repository (maybe a tar archive) so the 'git rev-parse' > command will fail. > > This updates the script to look for a MESA_GIT_SHA1_OVERRIDE env var. > If it's set, use

Re: [Mesa-dev] [PATCH] git_sha1_gen: accept MESA_GIT_SHA1_OVERRIDE env var

2017-10-10 Thread Dylan Baker
Thanks for making those changes. Reviewed-by: Dylan Baker Quoting Brian Paul (2017-10-09 19:26:22) > If one uses a parent build script to download/build Mesa we may not > have a full git repository (maybe a tar archive) so the 'git rev-parse' > command will fail. > > T

Re: [Mesa-dev] Piglit on windows

2017-10-10 Thread Dylan Baker
Quoting Jose Fonseca (2017-10-10 08:41:49) > On 10/10/17 16:31, Kyriazis, George wrote: > > Hello… > > > > Piglit on windows prints out a message saying “Timeout are not implemented > > on Windows.”. These timeouts are the test timeouts in case a test hangs. > > > > What do people do when runni

Re: [Mesa-dev] [RFC 1/3] mesa: Add new fast mtx_t mutex type for basic use cases

2017-10-10 Thread Dylan Baker
Quoting Nicolai Hähnle (2017-10-10 09:30:31) > On 10.10.2017 04:45, Timothy Arceri wrote: > > While modern pthread mutexes are very fast, they still incur a call to an > > external DSO and overhead of the generality and features of pthread mutexes. > > Most mutexes in mesa only needs lock/unlock, a

Re: [Mesa-dev] Piglit on windows

2017-10-10 Thread Dylan Baker
Quoting Kyriazis, George (2017-10-10 11:02:26) > > > On Oct 10, 2017, at 12:46 PM, Dylan Baker wrote: > > > > Quoting Jose Fonseca (2017-10-10 08:41:49) > >> On 10/10/17 16:31, Kyriazis, George wrote: > >>> Hello… > >>> > >>&

Re: [Mesa-dev] Piglit on windows

2017-10-10 Thread Dylan Baker
Quoting Kyriazis, George (2017-10-10 12:14:00) > > > On Oct 10, 2017, at 1:23 PM, Dylan Baker wrote: > > > > Quoting Kyriazis, George (2017-10-10 11:02:26) > >> > >>> On Oct 10, 2017, at 12:46 PM, Dylan Baker wrote: > >>> > >>>

[Mesa-dev] [PATCH] meson: fix glx test

2017-10-10 Thread Dylan Baker
That requires a generated header that was rolled into a loop. fixes: a47c525f3281a27 ("meson: build glx") Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi/gen/meson.b

[Mesa-dev] [PATCH 00/20] meson, gallium edition

2017-10-11 Thread Dylan Baker
have tested all of these and they appear to be working as expected. Dylan Baker (20): meson: fix glx test meson: Add switch for texture float configure: commit test files meson: add checks for version script and dynamic list meson: Set _GNU_SOURCE meson: Don't try to install d

[Mesa-dev] [PATCH 01/20] meson: fix glx test

2017-10-11 Thread Dylan Baker
That requires a generated header that was rolled into a loop. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi/gen/meson.build index 79aa2accc2a..4360346edad 100644 --- a/src/mapi

[Mesa-dev] [PATCH 03/20] configure: commit test files

2017-10-11 Thread Dylan Baker
These are currently auto-generated, but meson needs the same files, so lets commit them to reduce duplication. Signed-off-by: Dylan Baker --- .build/conftest.dyn | 3 +++ .build/conftest.map | 6 ++ Makefile.am | 4 +++- configure.ac| 18 ++ 4 files

[Mesa-dev] [PATCH 02/20] meson: Add switch for texture float

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 4 meson_options.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/meson.build b/meson.build index bff40f697d3..48e9e1db08e 100644 --- a/meson.build +++ b/meson.build @@ -37,6 +37,10 @@ with_vulkan_icd_dir = get_option('vulka

[Mesa-dev] [PATCH 08/20] meson: Build gallium auxiliary

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 36 ++- meson_options.txt | 4 +- src/gallium/auxiliary/meson.build | 528 ++ src/{ => gallium}/meson.build | 44 +--- src/meson.build | 2 +-

[Mesa-dev] [PATCH 04/20] meson: add checks for version script and dynamic list

2017-10-11 Thread Dylan Baker
These are used by gallium drivers. Signed-off-by: Dylan Baker --- meson.build | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 48e9e1db08e..8d890e53e12 100644 --- a/meson.build +++ b/meson.build @@ -426,14 +426,28 @@ endif

[Mesa-dev] [PATCH 10/20] meson: Build gallium pipe-loader

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/gallium/auxiliary/meson.build | 2 + src/gallium/auxiliary/pipe-loader/meson.build | 63 +++ src/gallium/meson.build | 2 + 3 files changed, 67 insertions(+) create mode 100644 src/gallium/auxiliary

[Mesa-dev] [PATCH 16/20] meson: build nouveau (gallium) driver

2017-10-11 Thread Dylan Baker
Tested with a GK107. Signed-off-by: Dylan Baker --- meson.build | 6 + src/gallium/drivers/nouveau/meson.build | 217 +++ src/gallium/meson.build | 3 +- src/gallium/targets/dri/meson.build

[Mesa-dev] [PATCH 07/20] meson: build libmesa_gallium

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 19 --- meson_options.txt| 2 + src/mesa/meson.build | 143 ++- 3 files changed, 155 insertions(+), 9 deletions(-) diff --git a/meson.build b/meson.build index b6f6c32d92d

[Mesa-dev] [PATCH 13/20] meson: build radeonsi

2017-10-11 Thread Dylan Baker
This builds the radeonsi (and radeon) window system bits and gallium driver bits. Signed-off-by: Dylan Baker --- meson.build | 10 +++- src/gallium/{ => drivers/radeon}/meson.build| 43 +++--- src/gallium/drivers/radeonsi/meson.build|

[Mesa-dev] [PATCH 18/20] meson: build softpipe

2017-10-11 Thread Dylan Baker
This doesn't include llvmpipe. Signed-off-by: Dylan Baker --- meson.build | 5 ++ meson_options.txt| 4 +- src/gallium/drivers/softpipe/meson.build | 85 src/gallium/meson.build | 2 +-

[Mesa-dev] [PATCH 17/20] meson: add option to disable LLVM

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 5 - meson_options.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5684a5666d9..9138dc2f5b5 100644 --- a/meson.build +++ b/meson.build @@ -38,6 +38,7 @@ with_vulkan_icd_dir

[Mesa-dev] [PATCH 14/20] meson: build gallium winsys for dri, null, and wrapper

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 4 ++ src/gallium/meson.build | 8 ++-- src/gallium/{ => winsys/sw/dri}/meson.build | 55 +++- src/gallium/{ => winsys/sw/kms-dri}/meson.buil

[Mesa-dev] [PATCH 11/20] meson: build gallium helper drivers

2017-10-11 Thread Dylan Baker
This builds ddebug, noop, rbug, and trace drivers. Signed-off-by: Dylan Baker --- src/gallium/{ => drivers/ddebug}/meson.build | 13 - src/gallium/{ => drivers/noop}/meson.build | 12 +++- src/gallium/{ => drivers/rbug}/meson.build | 13 - sr

[Mesa-dev] [PATCH 09/20] meson: split and simplify depdendncies

2017-10-11 Thread Dylan Baker
Rather than group dependencies in complex groups, use a flatter structure with split dependencies to avoid checking for the same dependencies twice. Signed-off-by: Dylan Baker --- meson.build| 199 ++--- src/loader/meson.build | 5

[Mesa-dev] [PATCH 12/20] meson: Build gallium dri state tracker

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 1 + src/gallium/meson.build | 1 + src/gallium/{ => state_trackers/dri}/meson.build | 46 +++- 3 files changed, 39 insertions(+), 9 deletions(-) copy src/gall

[Mesa-dev] [PATCH 06/20] meson: Don't try to install dri drivers unless one is built

2017-10-11 Thread Dylan Baker
This confused the with_dri flag which is meant to control Direct Rendering Infrastructure, not classic drivers Signed-off-by: Dylan Baker --- src/mesa/drivers/dri/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers

[Mesa-dev] [PATCH 20/20] meson: refactor meson_options

2017-10-11 Thread Dylan Baker
To put one argument on each line. This results in the file being much longer, but I think much more readable. Suggested-by: Eero Tamminen Signed-off-by: Dylan Baker --- meson_options.txt | 170 +- 1 file changed, 129 insertions(+), 41

[Mesa-dev] [PATCH 15/20] meson: build radeonsi gallium driver

2017-10-11 Thread Dylan Baker
0644 index 000..382b00db5dc --- /dev/null +++ b/src/gallium/targets/dri/meson.build @@ -0,0 +1,90 @@ +# Copyright ?? 2017 Dylan Baker + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), t

[Mesa-dev] [PATCH 19/20] meson: build llvmpipe

2017-10-11 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/gallium/drivers/llvmpipe/meson.build | 116 +++ src/gallium/meson.build | 2 +- src/gallium/targets/dri/meson.build | 4 ++ 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 src/gallium

[Mesa-dev] [PATCH 05/20] meson: Set _GNU_SOURCE

2017-10-11 Thread Dylan Baker
When we start adding non-free software platforms support we'll need to guard this, but for now it should be fine as is. Signed-off-by: Dylan Baker --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 8d890e53e12..b6f6c32d92d 100644

Re: [Mesa-dev] [PATCH 01/20] meson: fix glx test

2017-10-11 Thread Dylan Baker
Eric reviewed this patch and it's landed already. Quoting Dylan Baker (2017-10-11 10:41:09) > That requires a generated header that was rolled into a loop. > > Signed-off-by: Dylan Baker > --- > src/mapi/glapi/gen/meson.build | 1 + > 1 file changed, 1 insertion(+) >

Re: [Mesa-dev] [PATCH 18/20] meson: build softpipe

2017-10-11 Thread Dylan Baker
This patch is broken, I'll send an update. Note to self, meson remembers configuration options, clean build when doing git rebase -x Quoting Dylan Baker (2017-10-11 10:41:26) > This doesn't include llvmpipe. > > Signed-off-by: Dylan Baker > --- > meson.build

Re: [Mesa-dev] [PATCH 09/20] meson: split and simplify depdendncies

2017-10-11 Thread Dylan Baker
This patch also is broken (breaks building just vulkan drivers) patch incoming. Quoting Dylan Baker (2017-10-11 10:41:17) > Rather than group dependencies in complex groups, use a flatter > structure with split dependencies to avoid checking for the same > dependencies twice. > >

Re: [Mesa-dev] [PATCH] meson: fix typo in isl

2017-10-12 Thread Dylan Baker
For list posterity, since my intel mail isn't subscribed to the list... Reviewed-by: Dylan Baker Quoting Elie Tournier (2017-10-12 04:24:10) > Signed-off-by: Elie Tournier > --- > src/intel/isl/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

Re: [Mesa-dev] [PATCH 00/20] meson, gallium edition

2017-10-12 Thread Dylan Baker
Quoting Erik Faye-Lund (2017-10-12 01:32:51) > On Wed, Oct 11, 2017 at 7:41 PM, Dylan Baker wrote: > > This series is somewhat larger than the one to enable classic drivers. I've > > made > > an effort to split the patches up better this go around, so hopefully that

Re: [Mesa-dev] [PATCH] meson: fix typo in isl

2017-10-12 Thread Dylan Baker
Pushed. Quoting tournier.elie (2017-10-12 09:22:41) > On 12 October 2017 at 17:12, Dylan Baker wrote: > > For list posterity, since my intel mail isn't subscribed to the list... > > > > Reviewed-by: Dylan Baker > > Ack. > Feel free to push this pat

[Mesa-dev] [PATCH v2 03/21] meson: add checks for version script and dynamic list

2017-10-12 Thread Dylan Baker
These are used by gallium drivers. Signed-off-by: Dylan Baker --- meson.build | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 48e9e1db08e..8d890e53e12 100644 --- a/meson.build +++ b/meson.build @@ -426,14 +426,28 @@ endif

[Mesa-dev] [PATCH v2 02/21] configure: commit test files

2017-10-12 Thread Dylan Baker
These are currently auto-generated, but meson needs the same files, so lets commit them to reduce duplication. Signed-off-by: Dylan Baker --- .build/conftest.dyn | 3 +++ .build/conftest.map | 6 ++ Makefile.am | 4 +++- configure.ac| 18 ++ 4 files

[Mesa-dev] [PATCH v2 01/21] meson: Add switch for texture float

2017-10-12 Thread Dylan Baker
Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 4 meson_options.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/meson.build b/meson.build index bff40f697d3..48e9e1db08e 100644 --- a/meson.build +++ b/meson.build @@ -37,6 +37,10 @@ with_vulkan_icd_dir

[Mesa-dev] [PATCH v2 11/21] meson: Build gallium pipe-loader

2017-10-12 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/gallium/auxiliary/meson.build | 2 + src/gallium/auxiliary/pipe-loader/meson.build | 63 +++ src/gallium/meson.build | 2 + 3 files changed, 67 insertions(+) create mode 100644 src/gallium/auxiliary

[Mesa-dev] [PATCH v2 12/21] meson: build gallium helper drivers

2017-10-12 Thread Dylan Baker
This builds ddebug, noop, rbug, and trace drivers. Signed-off-by: Dylan Baker --- src/gallium/{ => drivers/ddebug}/meson.build | 13 - src/gallium/{ => drivers/noop}/meson.build | 12 +++- src/gallium/{ => drivers/rbug}/meson.build | 13 - sr

[Mesa-dev] [PATCH v2 10/21] meson: split and simplify depdendncies

2017-10-12 Thread Dylan Baker
Rather than group dependencies in complex groups, use a flatter structure with split dependencies to avoid checking for the same dependencies twice. v2: - Fix building vulkan drivers without gallium or dri drivers Signed-off-by: Dylan Baker --- meson.build| 197

[Mesa-dev] [PATCH v2 00/21] Meson, gallium edition, v2

2017-10-12 Thread Dylan Baker
Notable changes from v1: - LLVM toggle is earlier in the series, which fixes not having LLVm in a number of cases - add nouveau compiler - fix building vulkan drivers without dri or gallium drivers - fix building gallium without llvm Dylan Baker (21): meson: Add switch for texture float

[Mesa-dev] [PATCH v2 09/21] meson: Build gallium auxiliary

2017-10-12 Thread Dylan Baker
v2: - guard gallivm files with "with_llvm" instead of "dep_llvm.found()" Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt (v1) --- meson.build | 36 ++- meson_options.txt | 4 +- src/gallium/auxilia

[Mesa-dev] [PATCH v2 18/21] meson: build softpipe

2017-10-12 Thread Dylan Baker
This doesn't include llvmpipe. v2: - Fix inconsistent use of with_gallium_swrast and with_gallium_softpipe. Signed-off-by: Dylan Baker --- meson.build | 5 ++ meson_options.txt| 4 +- src/gallium/drivers/softpipe/meson.build

[Mesa-dev] [PATCH v2 19/21] meson: build llvmpipe

2017-10-12 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 4 +- src/gallium/drivers/llvmpipe/meson.build | 116 +++ src/gallium/meson.build | 2 +- src/gallium/targets/dri/meson.build | 4 ++ 4 files changed, 124 insertions

[Mesa-dev] [PATCH v2 04/21] meson: Set _GNU_SOURCE

2017-10-12 Thread Dylan Baker
When we start adding non-free software platforms support we'll need to guard this, but for now it should be fine as is. Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 8d890e

[Mesa-dev] [PATCH v2 21/21] .travis: Add meson configuration for gallium drivers

2017-10-12 Thread Dylan Baker
--- This fails to build on ubuntu 14.04 because it fails to link with libgalpi to get glx_tls symbols. On 16.04 it works, on arch it works, on debian testing it works. So I don't know. .travis.yml | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.tr

[Mesa-dev] [PATCH v2 14/21] meson: build radeonsi

2017-10-12 Thread Dylan Baker
This builds the radeonsi (and radeon) window system bits and gallium driver bits. Signed-off-by: Dylan Baker --- meson.build | 18 -- src/gallium/{ => drivers/radeon}/meson.build| 43 +++--- src/gallium/drivers/radeonsi/meson.build|

[Mesa-dev] [PATCH v2 08/21] meson: build libmesa_gallium

2017-10-12 Thread Dylan Baker
Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- meson.build | 19 --- meson_options.txt| 2 + src/mesa/meson.build | 143 ++- 3 files changed, 155 insertions(+), 9 deletions(-) diff --git a/meson.build b/meson.build

[Mesa-dev] [PATCH v2 07/21] meson: Add option to toggle LLVM

2017-10-12 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 35 --- meson_options.txt | 1 + 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/meson.build b/meson.build index 70199a57a25..a96f2a1aa65 100644 --- a/meson.build +++ b/meson.build @@ -38,6 +38,7

[Mesa-dev] [PATCH v2 05/21] meson: Don't try to install dri drivers unless one is built

2017-10-12 Thread Dylan Baker
This confused the with_dri flag which is meant to control Direct Rendering Infrastructure, not classic drivers Signed-off-by: Dylan Baker --- src/mesa/drivers/dri/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers

[Mesa-dev] [PATCH v2 06/21] meson: always set GLX_USE_TLS

2017-10-12 Thread Dylan Baker
This can be applied to all GLX implementations, and in autotools this is guarded only by the --enable-glx-tls flag. Since this is on by default in autotools, and is strictly better than being off, the meson build doesn't even have a toggle for it. Signed-off-by: Dylan Baker --- meson.buil

<    5   6   7   8   9   10   11   12   13   14   >