[Mesa-dev] [PATCH] mesa: Add glSpecializeShaderARB to common_desktop_functions

2017-12-12 Thread Dylan Baker
CC: Nicolai Hähnle <nicolai.haeh...@amd.com> CC: Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> CC: Mark Janes <mark.a.ja...@intel.com> Fixes: 46b21b8f906 ("mesa: add GL_ARB_gl_spirv boilerplate") Signed-off-by: Dylan Baker <dylanx.c.ba...@inte

Re: [Mesa-dev] [PATCH mesa] meson: add dep_thread to every lib that includes threads.h

2017-12-12 Thread Dylan Baker
Quoting Emil Velikov (2017-12-12 07:04:09) > On 11 December 2017 at 22:22, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-12-11 12:06:35) > >> On 7 December 2017 at 17:25, Dylan Baker <dy...@pnwbakers.com> wrote: > >> >

Re: [Mesa-dev] [PATCH v2 3/4] meson: build clover

2017-12-13 Thread Dylan Baker
Quoting Francisco Jerez (2017-12-13 13:01:29) > Jan Vesely writes: > > meson asked for libdrm_amdgpu dependency even though I'm only building > > clover+r600g driver. > > after a bit of fiddling with PATH and PK_CONFIG_PATH to pick up the latest > > llvm/liblclc > >

Re: [Mesa-dev] [PATCH] meson: warn if building a non-debug build with asserts

2017-12-13 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-13 13:43:24) > On Wednesday, 2017-12-13 10:33:05 -0800, Dylan Baker wrote: > > cc: Jason Ekstrand <jason.ekstr...@gmail.com> > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > > meson.build | 9

Re: [Mesa-dev] [PATCH v2 3/4] meson: build clover

2017-12-13 Thread Dylan Baker
Quoting Jan Vesely (2017-12-13 12:53:25) > On Wed, 2017-12-13 at 09:47 -0800, Dylan Baker wrote: > > +if (with_gallium_va or with_gallium_vdpau or with_gallium_omx or > > +with_gallium_xvmc or with_dri) > > + pipe_loader_link_with += libgalliumvl > > +else &

Re: [Mesa-dev] [PATCH v2 3/4] meson: build clover

2017-12-13 Thread Dylan Baker
Quoting Jan Vesely (2017-12-13 13:36:25) > On Wed, 2017-12-13 at 13:01 -0800, Francisco Jerez wrote: > > Jan Vesely writes: > > > > autotools build works OK with no-rtti build of llvm, I've been running > like that for some time. LLVM_CXXFLAGS which include fno-rtti are

Re: [Mesa-dev] [PATCH v2 3/4] meson: build clover

2017-12-13 Thread Dylan Baker
Quoting Jan Vesely (2017-12-13 14:23:21) > On Wed, 2017-12-13 at 13:54 -0800, Dylan Baker wrote: > > Quoting Jan Vesely (2017-12-13 12:53:25) > > > On Wed, 2017-12-13 at 09:47 -0800, Dylan Baker wrote: > > > > +if (with_gallium_va or with_gal

Re: [Mesa-dev] [PATCH 1/4] meson: Enable SSE4.1 optimizations

2017-11-17 Thread Dylan Baker
Quoting Emil Velikov (2017-11-17 03:11:50) > On 16 November 2017 at 22:21, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-11-16 03:35:17) > >> Hi Dylan, > >> > >> On 16 November 2017 at 01:10, Dylan Baker <dy...@p

Re: [Mesa-dev] [PATCH v4 11/13] meson: build gallium omx state tracker

2017-11-17 Thread Dylan Baker
Quoting Emil Velikov (2017-11-17 04:19:22) > Hi Dylan, > > On 17 November 2017 at 00:27, Dylan Baker <dy...@pnwbakers.com> wrote: > > > + elif not (with_gallium_r600 or with_gallium_radeonsi or > > with_gallium_nouveau) > > > > + elif not (

Re: [Mesa-dev] [PATCH 1/4] meson: Enable SSE4.1 optimizations

2017-11-17 Thread Dylan Baker
Quoting Matt Turner (2017-11-17 12:46:03) > On Fri, Nov 17, 2017 at 12:34 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-11-17 03:11:50) > >> On 16 November 2017 at 22:21, Dylan Baker <dy...@pnwbakers.com> wrote: > >> >

Re: [Mesa-dev] [PATCH 1/4] configure.ac: Define HAVE_ZLIB if zlib is found

2017-11-10 Thread Dylan Baker
Quoting Jordan Justen (2017-11-10 10:24:36) > Cc: Emil Velikov <emil.veli...@collabora.com> > Cc: Dylan Baker <dy...@pnwbakers.com> > Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> > --- > configure.ac | 6 +- > meson.build | 6 +- >

[Mesa-dev] [PATCH] meson: don't us build_by_default for specific gallium drivers

2017-11-10 Thread Dylan Baker
fault driver arguments") Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/drivers/freedreno/meson.build | 1 - src/gallium/drivers/llvmpipe/meson.build | 1 - src/gallium/drivers/nouveau/meson.build| 1 - src/gallium/drivers/radeon/meson.build |

Re: [Mesa-dev] [PATCH] meson: don't us build_by_default for specific gallium drivers

2017-11-10 Thread Dylan Baker
If fixed the typo in the subject locally. Quoting Dylan Baker (2017-11-10 09:23:37) > Using build_by_default : false is convenient for dependencies that can > be pulled in by various diverse components of the build system, the > gallium hardware/software drivers and state trackers d

[Mesa-dev] [PATCH] gallium/xlib: remove GL_{MAJOR,MINOR,TINY}

2017-11-10 Thread Dylan Baker
since that's what the autotools build as been doing forever. This shouldn't change any behavior. cc: Brian Paul <bri...@vmware.com> cc: Emil Velikov <emil.veli...@collabora.com> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/targets/libgl-xlib/Makefile.am

Re: [Mesa-dev] [PATCH 1/4] configure.ac: Define HAVE_ZLIB if zlib is found

2017-11-10 Thread Dylan Baker
Quoting Jordan Justen (2017-11-10 11:43:45) > On 2017-11-10 10:38:19, Dylan Baker wrote: > > Quoting Jordan Justen (2017-11-10 10:24:36) > > > Cc: Emil Velikov <emil.veli...@collabora.com> > > > Cc: Dylan Baker <dy...@pnwbakers.com> > > > Signed-

[Mesa-dev] [PATCH v3 08/15] autotools: change version TINY -> PATCH

2017-11-13 Thread Dylan Baker
Because patch is more common than tiny for talking about the 3rd element of a version. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- configure.ac | 6 +++--- src/gallium/state_trackers/xa/xa_tracker.h.in | 2 +- src/gallium/targets/d3dad

[Mesa-dev] [PATCH v3 12/15] meson: build gallium xvmc state tracker

2017-11-13 Thread Dylan Baker
v2: - set with_gallium_xvmc when -Dgallium-xvmc=true - Install megadrivers properly - only use cflags from pkg-config, don't add linker flags. --- meson.build | 40 ++- meson_options.txt | 13 +

[Mesa-dev] [PATCH v3 03/15] meson: build r300 driver

2017-11-13 Thread Dylan Baker
This is build tested only Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 +- src/gallium/drivers/r300/meson.build | 156 +++ src/gallium/meson.build | 9 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v3 10/15] meson: drop gallium-media argument

2017-11-13 Thread Dylan Baker
This argument is the wrong approach for handling gallium media state trackers, since it doesn't allow for an auto option. Instead we'll use tristates, which do allow for auto. This option has never been wired to anything anyway. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.

[Mesa-dev] [PATCH v3 14/15] meson: build gallium va state tracker

2017-11-13 Thread Dylan Baker
v2: - set with_gallium_va when -Dgallium-va=true - Fix megadrivers install - only use cflags from pkg-config, don't add linker flags. - Don't get version from pkg-config, it's not tracking the same version information. --- meson.build | 41

[Mesa-dev] [PATCH v3 09/15] meson: extend install_megadrivers script to handle symmlinking

2017-11-13 Thread Dylan Baker
which is required for the gallium media state trackers. --- bin/install_megadrivers.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py index a98d7dd177b..581ff9791e5 100755 --- a/bin/install_megadrivers.py +++

[Mesa-dev] [PATCH v3 06/15] meson: build virgl driver

2017-11-13 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build| 16 src/gallium/drivers/virgl/meson.build | 39 ++ src/gallium/meson.build| 7 +- src/gallium/t

[Mesa-dev] [PATCH v3 15/15] meson: build gallium xa state tracker

2017-11-13 Thread Dylan Baker
v2: - set with_gallium_xa when -Dgallium-xa=true - install pkg config file --- meson.build | 22 meson_options.txt | 7 +++ src/gallium/meson.build | 7 ++- src/gallium/state_trackers/xa/meson.build | 45

Re: [Mesa-dev] [PATCH 10/10] spirv: Generate SPIR-V builder infrastructure

2017-11-13 Thread Dylan Baker
Quoting Ian Romanick (2017-11-13 16:00:08) > > That's what I had first, and it did not work in some cases. I believe > that list==list is only True if the elements have the same order. This > function only requires that both lists have the same contents without > regard for order. I will add a

[Mesa-dev] [PATCH v3 13/15] meson: build gallium omx state tracker

2017-11-13 Thread Dylan Baker
v2: - set with_gallium_omx when -Dgallium-omx=true - Fix detection of omx plugins dir - only use cflags from pkg-config, don't add linker flags. --- meson.build| 60 - meson_options.txt | 13

[Mesa-dev] [PATCH v3 11/15] meson: build gallium vdpau state tracker

2017-11-13 Thread Dylan Baker
v2: - set with_gallium_vdpau when -Dgallium-vdpau=true - Install megadriver hard links and symlinks - only use cflags from pkg-config, don't add linker flags. --- meson.build | 46 - meson_options.txt| 13

[Mesa-dev] [PATCH v3 02/15] meson: build i915g driver

2017-11-13 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 7 +++- src/gallium/drivers/i915/meson.build| 70 + src/gallium/meson.build | 7 ++-- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v3 07/15] autotools: set XA versions in configure.ac and configure header file

2017-11-13 Thread Dylan Baker
and more obvious. Tested with make distcheck. v2: - Split tiny -> patch change - Drop temporary variables - change XA_VERSION_* -> XA_* Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Emil Velikov <emli.veli...@collabora.com> Reviewed-by: Matt Turner &

[Mesa-dev] [PATCH v3 00/15] Remaining gallium drivers + media

2017-11-13 Thread Dylan Baker
building media state trackers with explicitly turned on (off and auto worked previous) - Split the XA autotools changes - fix gallium media targets megadriver install - Fix omx pluginsdir detection. Dylan Baker (15): meson: add proper LLVM modules to check for RadeonSI as well

[Mesa-dev] [PATCH v3 04/15] meson: build r600 driver

2017-11-13 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Tested-by: Aaron Watry <awa...@gmail.com> --- meson.build | 22 -- src/gallium/drivers/r600/meson.build | 128 +++ src/gallium/meson.build | 6 +- src/gal

[Mesa-dev] [PATCH v3 05/15] meson: build svga driver on linux

2017-11-13 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 ++- src/gallium/drivers/svga/meson.build| 88 + src/gallium/meson.build | 5 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v3 01/15] meson: add proper LLVM modules to check for RadeonSI as well

2017-11-13 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e8467590df2..8ea2b3e106c 100644 --- a/meson.build +++ b/meson.build @@ -702,7 +702,7 @@ if with_gallium_freedreno

Re: [Mesa-dev] [PATCH 1/2] meson: Stop requiring platforms for Vulkan

2017-11-13 Thread Dylan Baker
I can't either, so: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Jason Ekstrand (2017-11-13 09:43:11) > My quick attempt at grepping configure.ac didn't turn anything up. > > On Mon, Nov 13, 2017 at 9:37 AM, Dylan Baker <dy...@pnwbakers.com> wrote: > > I

Re: [Mesa-dev] [PATCH] meson: if dep_dl is an empty list, it's not a dependency object

2017-11-13 Thread Dylan Baker
I thought I'd fixed this already, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Jon Turney (2017-11-13 02:28:27) > It's ok to use an empty list for dependencies:, but it's not ok to try to > use the found() method of it. > > See also https://github.com/mesonbuild

Re: [Mesa-dev] [PATCH] RFC: meson: Add a new build-dev-tools option

2017-11-13 Thread Dylan Baker
nd installed. > > Cc: Rob Clark <robdcl...@gmail.com> > Cc: Dylan Baker <dy...@pnwbakers.com> > --- > meson.build | 5 + > meson_options.txt | 6 ++ > src/gallium/drivers/freedreno/meson.build | 3 ++- >

Re: [Mesa-dev] [PATCH 2/2] meson: Move -Dvulkan-drivers handling higher in the file

2017-11-13 Thread Dylan Baker
Oops. I made a rebasing mistake in the GLX-XLIB series. That's my bad Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Jason Ekstrand (2017-11-11 10:32:06) > The window-system auto-detection code (specifically for glx) relies on > with_any_vk being available. This fixes the

Re: [Mesa-dev] [PATCH 1/2] meson: Stop requiring platforms for Vulkan

2017-11-13 Thread Dylan Baker
I believe I copied this from autotools, does it have the same restriction? Quoting Jason Ekstrand (2017-11-11 10:32:05) > It should be perfectly valid to build a completely headless Vulkan > driver. We don't need to require a platform. > --- > meson.build | 3 --- > 1 file changed, 3

Re: [Mesa-dev] [PATCH 09/10] spirv: Generate code to track SPIR-V capability dependencies

2017-11-13 Thread Dylan Baker
Quoting Ian Romanick (2017-11-10 14:32:49) [snip] > + > +def collect_data(spirv): > +for x in spirv["operand_kinds"]: > +if x["kind"] == "Capability": > +operands = x This makes me nervous. dict iteration order is not guaranteed to be repeatable in python. I think you

[Mesa-dev] [PATCH 2/3] meson: Don't build intel shared components by default

2017-11-13 Thread Dylan Baker
It's a neat idea, and still useful in some cases, but the intel common code is used by i965 and anvil only, this is a little clearer. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/blorp/meson.build | 1 - src/intel/common/meson.build | 1 - src/intel/isl/meson.build

[Mesa-dev] [PATCH 3/3] meson: Remove build_by_default from amd code

2017-11-13 Thread Dylan Baker
This is the same logic as the previous two patches. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/amd/addrlib/meson.build | 1 - src/amd/common/meson.build | 1 - src/meson.build | 4 +++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/amd/a

[Mesa-dev] [PATCH 1/3] meson: don't use build_by_default for specific gallium drivers

2017-11-13 Thread Dylan Baker
-by: Dylan Baker <dylanx.c.ba...@intel.com> Tested-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> (v1) --- src/gallium/drivers/freedreno/meson.build| 1 - src/gallium/drivers/llvmpipe/meson.build | 1 - src/gallium/drivers/nouveau/meson.build | 1 - src/gallium/dr

[Mesa-dev] [PATCH 1/8] glapi: don't walk backwards for includes

2017-11-20 Thread Dylan Baker
Instead just set the proper -I flags and include it from a more standard path. In this case we'll add -Isrc/mesa (which is common), and #include main/foo.h. --- src/mapi/Makefile.am | 3 ++- src/mapi/glapi/meson.build | 1 + src/mapi/glapi/tests/check_table.cpp | 2 +- 3

[Mesa-dev] [PATCH 7/8] glapi: Don't search through subdirs from glapitable.h

2017-11-20 Thread Dylan Baker
Because meson won't put it in that folder. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/glapi/tests/check_table.cpp | 2 +- src/mesa/main/tests/Makefile.am | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/tests/check_table.cpp

[Mesa-dev] [PATCH 5/8] autotools: Fix includes for non-shared glapi tests.

2017-11-20 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am index 015edc37cb3..5db888abddc 100644 --- a/src/mapi/Makefile.am +++ b/src/mapi/Makefile.am @@

[Mesa-dev] [PATCH 4/8] glapi: remove APPLE extensions from test

2017-11-20 Thread Dylan Baker
Fixes: 7009955281260fbb ("mesa: Remove GL_APPLE_vertex_array_object stubs") Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/glapi/tests/check_table.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/

[Mesa-dev] [PATCH 6/8] state_tracker: Don't build st-renumerate-test without shared glapi

2017-11-20 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mesa/state_tracker/tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/tests/Makefile.am b/src/mesa/state_tracker/tests/Makefile.am index 6c58d367694..18c0ce50621 100644 --- a/sr

[Mesa-dev] [PATCH 8/8] glapi: fix check_table test for non-shared glapi with meson

2017-11-20 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/glapi/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build index 892d8b35759..db6cd834511 100644 --- a/src/mapi/glapi/meson.build +++

[Mesa-dev] [PATCH 3/8] glapi/check_table: Remove 'extern "C"' block

2017-11-20 Thread Dylan Baker
This doesn't actually accomplish what it's meant to do, as extern C doesn't undefine __cplusplus, so the included headers define a template (because __cplusplus is defined), but then that code is in an 'extern "C"' block, and explosion. Signed-off-by: Dylan Baker <dylanx.c.ba

[Mesa-dev] [PATCH 2/8] meson: fix test source name for static glapi

2017-11-20 Thread Dylan Baker
fixes: 43a6e84927e3 ("meson: build mesa test.") Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mesa/main/tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/tests/meson.build b/src/mesa/main/tests/meson.build i

[Mesa-dev] [PATCH 0/8] Fix non-shared glapi path

2017-11-20 Thread Dylan Baker
There are two distinct set of problems this series addresses. 1) the meson build has never worked 2) the checks for this path have been broken in several different ways for a long time. Dylan Baker (8): glapi: don't walk backwards for includes meson: fix test source name for static glapi

Re: [Mesa-dev] [PATCH v4 11/13] meson: build gallium omx state tracker

2017-11-20 Thread Dylan Baker
Quoting Emil Velikov (2017-11-17 04:19:22) > Hi Dylan, > > On 17 November 2017 at 00:27, Dylan Baker <dy...@pnwbakers.com> wrote: > > > + elif not (with_gallium_r600 or with_gallium_radeonsi or > > with_gallium_nouveau) > > > > + elif not (

[Mesa-dev] [PATCH v5 02/13] meson: build i915g driver

2017-11-20 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 7 +++- src/gallium/drivers/i915/meson.build| 70 + src/gallium/meson.build | 7 ++-- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v5 07/13] meson: extend install_megadrivers script to handle symmlinking

2017-11-20 Thread Dylan Baker
symlinks as necessary. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- bin/install_megadrivers.py | 8 1 file changed, 8 insertions(+) diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py index a98d7dd177b..587a1f6726d 100755 --- a/bin/install_megadrivers.py

[Mesa-dev] [PATCH v5 06/13] meson: build virgl driver

2017-11-20 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build| 16 src/gallium/drivers/virgl/meson.build | 39 ++ src/gallium/meson.build| 7 +- src/gallium/t

[Mesa-dev] [PATCH v5 12/13] meson: build gallium va state tracker

2017-11-20 Thread Dylan Baker
v2: - set with_gallium_va when -Dgallium-va=true - Fix megadrivers install - only use cflags from pkg-config, don't add linker flags. - Don't get version from pkg-config, it's not tracking the same version information. v4: - Fix variable double-assignment Signed-off-by: Dylan

[Mesa-dev] [PATCH v5 04/13] meson: build r600 driver

2017-11-20 Thread Dylan Baker
v4: - Ensure inc_amd_common defined when radeonsi is disabled (needed by r600) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Tested-by: Aaron Watry <awa...@gmail.com> --- meson.build | 22 -- src/amd/common/meson.build | 2 -

[Mesa-dev] [PATCH v5 01/13] meson: add proper LLVM modules to check for RadeonSI as well

2017-11-20 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 383ebb36662..87d435fcb71 100644 --- a/meson.build +++ b/meson.build @@ -702,7 +702,7 @@ if with_gallium_freedreno

[Mesa-dev] [PATCH v5 13/13] meson: build gallium xa state tracker

2017-11-20 Thread Dylan Baker
v2: - set with_gallium_xa when -Dgallium-xa=true - install pkg config file Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 22 meson_options.txt | 7 +++ src/gallium/meson.build

[Mesa-dev] [PATCH v5 09/13] meson: build gallium vdpau state tracker

2017-11-20 Thread Dylan Baker
v2: - set with_gallium_vdpau when -Dgallium-vdpau=true - Install megadriver hard links and symlinks - only use cflags from pkg-config, don't add linker flags. v4: - make use of the install_megadrivers.py changes v5: - adapt for install_megadrivers changes Signed-off-by: Dylan Baker

[Mesa-dev] [PATCH v5 10/13] meson: build gallium xvmc state tracker

2017-11-20 Thread Dylan Baker
v2: - set with_gallium_xvmc when -Dgallium-xvmc=true - Install megadrivers properly - only use cflags from pkg-config, don't add linker flags. v4: - make use of the install_megadrivers.py changes v5: - adapt for install_megadrivers changes Signed-off-by: Dylan Baker <dylanx.c

[Mesa-dev] [PATCH v5 11/13] meson: build gallium omx state tracker

2017-11-20 Thread Dylan Baker
v2: - set with_gallium_omx when -Dgallium-omx=true - Fix detection of omx plugins dir - only use cflags from pkg-config, don't add linker flags. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build

[Mesa-dev] [PATCH v5 03/13] meson: build r300 driver

2017-11-20 Thread Dylan Baker
This is build tested only Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 +- src/gallium/drivers/r300/meson.build | 156 +++ src/gallium/meson.build | 9 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v5 08/13] meson: drop gallium-media argument

2017-11-20 Thread Dylan Baker
This argument is the wrong approach for handling gallium media state trackers, since it doesn't allow for an auto option. Instead we'll use tristates, which do allow for auto. This option has never been wired to anything anyway. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.

[Mesa-dev] [PATCH v5 05/13] meson: build svga driver on linux

2017-11-20 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 ++- src/gallium/drivers/svga/meson.build| 88 + src/gallium/meson.build | 5 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v4 3/4] meson: Fix TODO for missing dl_iterate_phdr function

2017-11-20 Thread Dylan Baker
This function is required for both the Intel "Anvil" vulkan driver and the i965 GL driver. Error out if either of those is enabled but this function isn't found. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com

[Mesa-dev] [PATCH v4 4/4] meson: Remove completed or irrelevant TODO comments

2017-11-20 Thread Dylan Baker
These are all either done already, or are autotools specific. The misspelled gallium G3DVL is the autotools specific bit, meson is handling that via build_by_default. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> ---

[Mesa-dev] [PATCH v4 2/4] meson: disable x86 asm in fewer cases.

2017-11-20 Thread Dylan Baker
v4: - set condition to build == x86_64 and host == 'x86' and build.system == host.system Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 049c9a24

[Mesa-dev] [PATCH v4 1/4] meson: Enable SSE4.1 optimizations

2017-11-20 Thread Dylan Baker
This patch checks for an and then enables sse4.1 optimizations if the host machine will be x86/x86_64. v2: - Don't compile code, it's unnecessary since we require a compiler which always has SSE4.1 (Matt) v3: - x64 -> x86_64 (Matt) Signed-off-by: Dylan Baker <dylanx.c.ba...@int

[Mesa-dev] [PATCH 5/6] meson: add logic to select apple and windows dri

2017-11-20 Thread Dylan Baker
This is still not fully correct (haiku and BSD are probably not correct), but Linux is not regressed and this should be correct for macOS and Windows. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 15 +-- 1 file changed, 13 insertions(+), 2 del

[Mesa-dev] [PATCH 3/6] meson: convert llvm option to tristate

2017-11-20 Thread Dylan Baker
This option has been acting as a strange sort of half-tri state anyway. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 48 +--- meson_options.txt | 5 +++-- 2 files changed, 28 insertions(+), 25 deletions(-) diff

[Mesa-dev] [PATCH 1/6] meson: Remove duplicate _GNU_SOURCE

2017-11-20 Thread Dylan Baker
There is one provided unconditionally, and one guarded by platform == linux. Remove the unconditional one. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index 383ebb36662..ce2c8c2c1d0

[Mesa-dev] [PATCH 0/6] meson: some non-linux OS work

2017-11-20 Thread Dylan Baker
in during the initial meosn pass, and removing some code duplication. Dylan Baker (6): meson: Remove duplicate _GNU_SOURCE meson: Convert platform to auto meson: convert llvm option to tristate meson: Fix LLVM requires for radeonsi meson: add logic to select apple and windows dri meson

[Mesa-dev] [PATCH 6/6] meson: replace with_*dri with with_dri_platform

2017-11-20 Thread Dylan Baker
This fixes the windows and macos stubs to be consistent with the *nix path. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build| 4 src/glx/meson.build| 4 ++-- src/mapi/glapi/meson.build | 2 +- 3 files changed, 3 insertions(+), 7 del

[Mesa-dev] [PATCH 4/6] meson: Fix LLVM requires for radeonsi

2017-11-20 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index c568fdb8785..52f2c1cb0d0 100644 --- a/meson.build +++ b/meson.build @@ -707,7 +707,7 @@ if with_gallium_freedreno

[Mesa-dev] [PATCH 2/6] meson: Convert platform to auto

2017-11-20 Thread Dylan Baker
This is necessary to support operating systems other than the *nix family (excluding macOS). For Linux nothing has changed, the defaults are still the same. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 7 +++ meson_options.txt | 4 ++-- 2 files chan

Re: [Mesa-dev] [PATCH v2] meson: add logic to select apple and windows dri

2017-11-21 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-21 10:38:25) > On Tuesday, 2017-11-21 10:21:07 -0800, Dylan Baker wrote: > > This is still not fully correct (haiku and BSD is notably probably not > > correct), but Linux is not regressed and this should be correct for > > macOS and Window

Re: [Mesa-dev] [PATCH 7/8] glapi: Don't search through subdirs from glapitable.h

2017-11-21 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-21 06:06:33) > On Monday, 2017-11-20 15:12:51 -0800, Dylan Baker wrote: > > Because meson won't put it in that folder. > > > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > > src/mapi/glapi/tests/check_ta

[Mesa-dev] [PATCH v2] meson: add logic to select apple and windows dri

2017-11-21 Thread Dylan Baker
This is still not fully correct (haiku and BSD is notably probably not correct), but Linux is not regressed and this should be correct for macOS and Windows. v2: - set the dri_platform to windows on Cygwin as well (Jon) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.buil

Re: [Mesa-dev] [PATCH mesa] meson: fix strtof locale support check

2017-11-21 Thread Dylan Baker
Oops, that's what I get for not copy-n-pasting. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-11-21 06:26:03) > Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver" > Signed-off-by: Eric Engestrom <eric.engest.

Re: [Mesa-dev] [PATCH mesa 1/2] meson: reorder subdirs to avoid directly including more than one level

2017-11-21 Thread Dylan Baker
for the series: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-11-21 07:09:40) > Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> > --- > src/mapi/glapi/meson.build | 2 ++ > src/mapi/meson.build | 2 +- > src/meson.build

Re: [Mesa-dev] [PATCH v5 07/13] meson: extend install_megadrivers script to handle symmlinking

2017-11-21 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-21 02:39:44) > On Monday, 2017-11-20 11:09:39 -0800, Dylan Baker wrote: > > Which is required for the gallium media state trackers. > > > > v4: - Make the full version the hard link and the partial so versiions > > the symlinks >

Re: [Mesa-dev] [PATCH v2] meson: add si_driinfo.h in libgallium_dri

2017-11-21 Thread Dylan Baker
Thanks for making that change. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Juan A. Suarez Romero (2017-11-21 03:40:51) > v2: generate target conditionally (Dylan) > --- > src/gallium/targets/dri/meson.build | 1 + > 1 file changed, 1 insertion(+) > > diff --g

Re: [Mesa-dev] [PATCH 4/5] egl/wayland: move teardown code to the platform file

2017-11-16 Thread Dylan Baker
Hey Emil, this commit breaks mesa pretty badly, wflinfo segfaults: 40a01c9a0ef2c8110d79c284976ef34c0f73be92 is the first bad commit commit 40a01c9a0ef2c8110d79c284976ef34c0f73be92 Author: Emil Velikov Date: Thu Nov 9 19:04:25 2017 + egl/drm: move teardown

Re: [Mesa-dev] [PATCH] egl: pass the dri2_dpy to the $plat_teardown functions

2017-11-16 Thread Dylan Baker
Tested-by: Dylan Baker <dy...@pnwbakers.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103784 Quoting Emil Velikov (2017-11-16 10:36:01) > From: Emil Velikov <emil.veli...@collabora.com> > > Cc: Mark Janes <mark.a.ja...@intel.com> > Fixes: 40a01c9a0ef

Re: [Mesa-dev] [PATCH 1/4] meson: Enable SSE4.1 optimizations

2017-11-16 Thread Dylan Baker
Quoting Matt Turner (2017-11-15 21:57:37) > On Wed, Nov 15, 2017 at 5:10 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > This patch checks for an and then enables sse4.1 optimizations if the > > host machine will be x86/x86_64. > > There's some stack realignment stuff

[Mesa-dev] [PATCH v2] meson: Enable SSE4.1 optimizations

2017-11-16 Thread Dylan Baker
This patch checks for an and then enables sse4.1 optimizations if the host machine will be x86/x86_64. v2: - Don't compile code, it's unnecessary since we require a compiler which always has SSE4.1 (Matt) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Eric Eng

Re: [Mesa-dev] [PATCH 3/4] meson: Fix TODO for missing dl_iterate_phdr function

2017-11-16 Thread Dylan Baker
Quoting Emil Velikov (2017-11-16 05:21:50) > On 16 November 2017 at 01:11, Dylan Baker <dy...@pnwbakers.com> wrote: > > This function is required for both the Intel "Anvil" vulkan driver and > > the i965 GL driver. Error out if either of those is enabled bu

Re: [Mesa-dev] [PATCH 1/4] meson: Enable SSE4.1 optimizations

2017-11-16 Thread Dylan Baker
Quoting Emil Velikov (2017-11-16 03:35:17) > Hi Dylan, > > On 16 November 2017 at 01:10, Dylan Baker <dy...@pnwbakers.com> wrote: > > This patch checks for an and then enables sse4.1 optimizations if the > > host machine will be x86/x86_64. > > &

Re: [Mesa-dev] [PATCH 3/4] meson: Fix TODO for missing dl_iterate_phdr function

2017-11-16 Thread Dylan Baker
Quoting Emil Velikov (2017-11-16 05:21:50) > On 16 November 2017 at 01:11, Dylan Baker <dy...@pnwbakers.com> wrote: > > This function is required for both the Intel "Anvil" vulkan driver and > > the i965 GL driver. Error out if either of those is enabled bu

Re: [Mesa-dev] [PATCH 2/4] meson: disable x86 asm in fewer cases.

2017-11-16 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-16 03:46:04) > On Wednesday, 2017-11-15 17:11:00 -0800, Dylan Baker wrote: > > This patch allows building asm for x86 on x86_64 platforms, when the > > operating system is the same. Previously cross compile always turned off > > assembly. This

[Mesa-dev] [PATCH v4 04/13] meson: build r600 driver

2017-11-16 Thread Dylan Baker
v4: - Ensure inc_amd_common defined when radeonsi is disabled (needed by r600) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Tested-by: Aaron Watry <awa...@gmail.com> --- meson.build | 22 -- src/amd/common/meson.build | 2 -

[Mesa-dev] [PATCH v4 03/13] meson: build r300 driver

2017-11-16 Thread Dylan Baker
This is build tested only Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 +- src/gallium/drivers/r300/meson.build | 156 +++ src/gallium/meson.build | 9 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v3] meson: Enable SSE4.1 optimizations

2017-11-16 Thread Dylan Baker
This patch checks for an and then enables sse4.1 optimizations if the host machine will be x86/x86_64. v2: - Don't compile code, it's unnecessary since we require a compiler which always has SSE4.1 (Matt) v3: - x64 -> x86_64 (Matt) Signed-off-by: Dylan Baker <dylanx.c.ba...@int

[Mesa-dev] [PATCH v4 09/13] meson: build gallium vdpau state tracker

2017-11-16 Thread Dylan Baker
v2: - set with_gallium_vdpau when -Dgallium-vdpau=true - Install megadriver hard links and symlinks - only use cflags from pkg-config, don't add linker flags. v4: - make use of the install_megadrivers.py changes Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson

[Mesa-dev] [PATCH v4 12/13] meson: build gallium va state tracker

2017-11-16 Thread Dylan Baker
v2: - set with_gallium_va when -Dgallium-va=true - Fix megadrivers install - only use cflags from pkg-config, don't add linker flags. - Don't get version from pkg-config, it's not tracking the same version information. v4: - Fix variable double-assignment Signed-off-by: Dylan

[Mesa-dev] [PATCH v4 11/13] meson: build gallium omx state tracker

2017-11-16 Thread Dylan Baker
v2: - set with_gallium_omx when -Dgallium-omx=true - Fix detection of omx plugins dir - only use cflags from pkg-config, don't add linker flags. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build

[Mesa-dev] [PATCH v4 05/13] meson: build svga driver on linux

2017-11-16 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 ++- src/gallium/drivers/svga/meson.build| 88 + src/gallium/meson.build | 5 +- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v4 02/13] meson: build i915g driver

2017-11-16 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 7 +++- src/gallium/drivers/i915/meson.build| 70 + src/gallium/meson.build | 7 ++-- src/gallium/targets/dri/meson

[Mesa-dev] [PATCH v4 10/13] meson: build gallium xvmc state tracker

2017-11-16 Thread Dylan Baker
v2: - set with_gallium_xvmc when -Dgallium-xvmc=true - Install megadrivers properly - only use cflags from pkg-config, don't add linker flags. v4: - make use of the install_megadrivers.py changes Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson

[Mesa-dev] [PATCH v4 08/13] meson: drop gallium-media argument

2017-11-16 Thread Dylan Baker
This argument is the wrong approach for handling gallium media state trackers, since it doesn't allow for an auto option. Instead we'll use tristates, which do allow for auto. This option has never been wired to anything anyway. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.

<    3   4   5   6   7   8   9   10   11   12   >