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

2017-11-16 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 v4 07/13] meson: extend install_megadrivers script to handle symmlinking

2017-11-16 Thread Dylan Baker
Which is required for the gallium media state trackers. v4: - Make the full version the hard link and the partial so versiions the symlinks Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- bin/install_megadrivers.py | 19 ++- 1 file changed, 18 insertions

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

2017-11-16 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 v4 06/13] meson: build virgl driver

2017-11-16 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

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

2017-11-13 Thread Dylan Baker
Quoting Eric Anholt (2017-11-13 13:07:31) > Dylan Baker <dy...@pnwbakers.com> writes: > > > 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

Re: [Mesa-dev] [PATCH] freedreno/meson: Only build the compiler if building freedreno

2017-11-11 Thread Dylan Baker
PST, Jason Ekstrand <ja...@jlekstrand.net> wrote: >Setting build_by_default to true makes it suddenly pull in freedreno >and >all of gallium unconditionally. > >Cc: Rob Clark <robdcl...@gmail.com> >Cc: Dylan Baker <dy...@pnwbakers.com> >--- > src/gallium/dri

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

2017-11-13 Thread Dylan Baker
Quoting Ian Romanick (2017-11-10 14:32:50) [snip] > + > +def can_have_extra_operands(name, enums): > +"""Determine whether an enum can have extra operands. > + > +Some enums, like SpvDecoration, can have extra operands with some values. > +Other enums, like SpvMemorySemantics, cannot.

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-13 13:34:15) > On 11/13/2017 10:49 AM, Dylan Baker wrote: > > Quoting Ian Romanick (2017-11-10 14:32:49) > > [snip] > > > >> + > >> +def collect_data(spirv): > >> +for x in spirv["opera

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

2017-11-17 Thread Dylan Baker
I noticed this race condition too, this patch isn't correct though, since this will add a radeonsi generated target unconditionally to the sources. si_driinfo_h should be added to the gallium_dri_sources inside the `if with_gallium_radeonsi` block. Dylan Quoting Juan A. Suarez Romero (2017-11-17

Re: [Mesa-dev] [PATCH 33/33] intel: add aubinator ui

2017-11-01 Thread Dylan Baker
Quoting Scott D Phillips (2017-11-01 10:30:09) > Lionel Landwerlin writes: > > > On 31/10/17 21:11, Scott D Phillips wrote: > >>> +} > >> [snip imgui] > >> > >> imgui seems to be the first instance of someone pasting a sizeable third > >> party library into the

Re: [Mesa-dev] create src/wsi

2017-11-01 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-01 07:05:02) > On Friday, 2017-10-20 18:00:13 -0700, Dylan Baker wrote: > > This very short series creates a new src/wsi folder, and moves wayland-drm > > into > > it. Basically wsi stuff is scattered about, and is needed by multiple > >

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

2017-11-01 Thread Dylan Baker
--- meson.build | 21 + meson_options.txt | 7 +++ src/gallium/meson.build | 7 ++- src/gallium/state_trackers/xa/meson.build | 45 ++ src/gallium/targets/xa/meson.build| 77

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

2017-11-01 Thread Dylan Baker
--- meson.build | 34 +- meson_options.txt | 13 ++ src/gallium/meson.build | 7 ++- src/gallium/state_trackers/xvmc/meson.build | 52 + src/gallium/targets/xvmc/meson.build|

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

2017-11-01 Thread Dylan Baker
--- meson.build | 35 +- meson_options.txt | 13 ++ src/gallium/meson.build | 7 ++- src/gallium/state_trackers/va/meson.build | 39 src/gallium/targets/va/meson.build| 78

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

2017-11-01 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 6ad8c8bbf4b..bae3b5a02ef 100644 --- a/meson.build +++ b/meson.build @@ -654,7 +654,7 @@ if with_gallium_freedreno

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

2017-11-01 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 2 + meson_options.txt | 2 +- src/gallium/drivers/svga/meson.build| 88 + src/gallium/meson

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

2017-11-01 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build| 12 ++--- meson_options.txt | 2 +- src/gallium/drivers/virgl/meson.build | 39 ++ src/gallium/meson

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

2017-11-01 Thread Dylan Baker
--- meson.build| 54 ++- meson_options.txt | 13 src/gallium/meson.build| 7 +- .../state_trackers/omx_bellagio/meson.build| 30 +

[Mesa-dev] [PATCH 00/13] meson: build remaining gallium drivers, media state trackers

2017-11-01 Thread Dylan Baker
of the build system scraping the headers for the versions. Please review. Dylan Baker (13): meson: add proper LLVM modules to check for RadeonSI as well meson: build i915g driver meson: build r300 driver meson: build r600 driver meson: build svga driver on linux meson: build virgl driver

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

2017-11-01 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 03/13] meson: build r300 driver

2017-11-01 Thread Dylan Baker
This is build tested only Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 4 +- meson_options.txt| 2 +- src/gallium/drivers/r300/meson.build | 156 +++ src/gallium/meson

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

2017-11-01 Thread Dylan Baker
--- meson.build | 40 - meson_options.txt| 13 + src/gallium/meson.build | 7 ++- src/gallium/state_trackers/vdpau/meson.build | 32 ++ src/gallium/targets/vdpau/meson.build| 87

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

2017-11-01 Thread Dylan Baker
and more obvious. Tested with make distcheck. cc: Matt Turner <matts...@gmail.com> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- configure.ac| 17 - .../state_trackers/xa/{xa_tracker.h => xa_tracker.h.in} | 6

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

2017-11-01 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Tested-by: Aaron Watry <awa...@gmail.com> --- meson.build | 20 -- meson_options.txt| 2 +- src/gallium/drivers/r600/meson.build | 128 +++

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

2017-11-01 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] Revert "meson: bump libdrm version required by amdgpu"

2017-11-01 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 6ad8c8bbf4b..d22d49535af 100644 --- a/meson.build +++ b/meson.build @@ -638,7 +638,7 @@ dep_libdrm_nouvea

Re: [Mesa-dev] More gratitude for Meson

2017-11-01 Thread Dylan Baker
Quoting Chad Versace (2017-11-01 14:43:28) > Wow. 10 seconds from a clean checkout to an installed Vulkan driver. > > I don't know how qualify my surprise... > > Wow. > > The Intel Vulkan driver is often all I need, so I was tempted to > investigate whether Meson allowed building and installing

Re: [Mesa-dev] More gratitude for Meson

2017-11-01 Thread Dylan Baker
Quoting Ilia Mirkin (2017-11-01 15:52:56) > On Wed, Nov 1, 2017 at 6:49 PM, Chad Versace <chadvers...@chromium.org> wrote: > > On Wed 01 Nov 2017, Dylan Baker wrote: > >> Quoting Chad Versace (2017-11-01 14:43:28) > >> > Wow. 10 seconds from a clean ch

Re: [Mesa-dev] More gratitude for Meson

2017-11-01 Thread Dylan Baker
Quoting Ilia Mirkin (2017-11-01 16:05:17) > On Wed, Nov 1, 2017 at 7:03 PM, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Ilia Mirkin (2017-11-01 15:52:56) > >> On Wed, Nov 1, 2017 at 6:49 PM, Chad Versace <chadvers...@chromium.org> > >> wrote: >

Re: [Mesa-dev] [PATCH 33/33] intel: add aubinator ui

2017-11-01 Thread Dylan Baker
Quoting Lionel Landwerlin (2017-11-01 14:25:03) > On 01/11/17 20:30, Dylan Baker wrote: > > Quoting Scott D Phillips (2017-11-01 10:30:09) > >> Lionel Landwerlin <lionel.g.landwer...@intel.com> writes: > >> > >>> On 31/10/17 21:11, Scott D

Re: [Mesa-dev] [PATCH 3/5] meson: move gl pkgconfig generation out ofglx

2017-11-03 Thread Dylan Baker
Quoting Marc Dietrich (2017-11-03 02:24:46) > Hi Dylan, > > Am Freitag, 3. November 2017, 01:06:27 CET schrieb Dylan Baker: > > Because the same generation logic is required by xlib glx and > > gallium-xlib glx, it makes sense to pull it out. > > > > Signed

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

2017-11-03 Thread Dylan Baker
Quoting Marc Dietrich (2017-11-03 03:06:17) > Am Mittwoch, 1. November 2017, 23:49:46 CET schrieb Dylan Baker: > > --- > > meson.build| 54 ++- > > meson_options.txt | 13 > &g

[Mesa-dev] [PATCH v3] meson: implement default driver arguments

2017-11-03 Thread Dylan Baker
to swrast, as swrast is the actual option name cc: Eric Engestrom <e...@engestrom.ch> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 38 ++ meson_options.txt | 12 ++-- 2 files changed, 44 insertions(+), 6 deletion

Re: [Mesa-dev] [PATCH v2 11/11] intel: add aubinator ui

2017-11-03 Thread Dylan Baker
Quoting Lionel Landwerlin (2017-11-01 11:12:18) [snip] > > +if with_intel_tools > + inc_imgui = include_directories('imgui') since aubinator_ui is the only consumer of this include, why don't we just put the call to include_directories in the argument to the executable? > + aubinator_ui =

Re: [Mesa-dev] Meson's default build type

2017-11-03 Thread Dylan Baker
Quoting Matt Turner (2017-11-03 15:05:24) [snip] > > Meson's debug build should correspond to --enable-debug. > debugoptimized vs release is a little less obvious. Perhaps > debugoptimized should default to -g -O2 but leave assertions enabled, > and release should default to -g -O2 -DNDEBUG?

Re: [Mesa-dev] [PATCH mesa 1/2] meson: standardize .so version to major.minor.patch

2017-11-06 Thread Dylan Baker
To clarify, with the one hunk in patch 2 moved to patch 1, both patches are: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Dylan Baker (2017-11-02 16:51:18) > I'm also not sure that it matters, but I think consistency with autotools is > important, > Reviewed-by:

Re: [Mesa-dev] [PATCH mesa 1/2] meson: switch default build type to debugoptimized

2017-11-06 Thread Dylan Baker
Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-11-06 09:19:34) > Cc: Dylan Baker <dy...@pnwbakers.com> > Cc: Chad Versace <chadvers...@chromium.org> > Cc: Emil Velikov <emil.l.veli...@gmail.com> > Cc: Ilia Mirkin <imir...@alum

Re: [Mesa-dev] [PATCH v3] meson: implement default driver arguments

2017-11-06 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-03 16:44:11) > On Friday, 2017-11-03 18:09:01 +0000, Dylan Baker wrote: > > This allows drivers to be set by OS/arch in a sane manner. > > > > v2: - set _drivers to a list of drivers instead of manually assigning > > each with_* &

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

2017-11-06 Thread Dylan Baker
Quoting Aaron Watry (2017-11-03 19:51:49) > On an unrelated note, I also had to remove the LLVM minimum version > check temporarily, otherwise I get llvm version parsing errors from > 6.0.0svn at the following line: > > dep_llvm = dependency( > 'llvm', version : '>= 3.9.0', required :

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

2017-11-06 Thread Dylan Baker
Quoting Emil Velikov (2017-11-02 07:00:16) > On 1 November 2017 at 22:49, Dylan Baker <dy...@pnwbakers.com> wrote: > > Currently the versions are set in the header, and then sed is used to > > extract them, so that autotools can use them elsewhere. > > > > Th

Re: [Mesa-dev] [PATCH 2/3] gbm: Don't traverse backwards for includes

2017-11-02 Thread Dylan Baker
Quoting Emil Velikov (2017-11-02 06:21:09) > On 21 October 2017 at 02:00, Dylan Baker <dy...@pnwbakers.com> wrote: > > This is just a terrible idea, but it also needs to be fixed for the next > > patch to work, so let's fix it right. > > > Please rework the commit me

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

2017-11-02 Thread Dylan Baker
Quoting Emil Velikov (2017-11-02 05:59:40) > On 1 November 2017 at 22:49, Dylan Baker <dy...@pnwbakers.com> wrote: > > --- > > meson.build | 35 +- > > meson_options.txt | 13 ++ &

Re: [Mesa-dev] [PATCH 2/3] gbm: Don't traverse backwards for includes

2017-11-02 Thread Dylan Baker
Quoting Emil Velikov (2017-11-02 11:04:44) > On 2 November 2017 at 16:53, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-11-02 06:21:09) > >> On 21 October 2017 at 02:00, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > This

Re: [Mesa-dev] Meson's default build type

2017-11-02 Thread Dylan Baker
Quoting Matt Turner (2017-11-02 10:06:43) > On Thu, Nov 2, 2017 at 9:51 AM, Michel Dänzer wrote: > > FWIW, my vote is for debugoptimized: Assertions are enabled and there's > > debugging information useful for bug reports, but performance should be > > decent. > > If

[Mesa-dev] [PATCH 2/5] meson: move wayland-egl into egl folder

2017-11-02 Thread Dylan Baker
This ensure that it's properly guarded, but also makes the code clearer by grouping related things together.. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/egl/meson.build | 4 src/meson.build | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 5/5] meson: build gallium-xlib based glx

2017-11-02 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 16 +++--- src/gallium/meson.build | 11 +++- src/gallium/state_trackers/glx/xlib/meson.build | 27 ++ src/gallium/targets/libgl-xlib/meson.build

[Mesa-dev] [PATCH 0/5] meson glx-xlib (classic and gallium)

2017-11-02 Thread Dylan Baker
There's a few cleanups in here, but mostly it's just the logic for building xlib backed glx. Dylan Baker (5): meson: add nir_builder_opcodes_h to gallium_auxiliary meson: move wayland-egl into egl folder meson: move gl pkgconfig generation out of glx meson: add support for xlib glx

[Mesa-dev] [PATCH 3/5] meson: move gl pkgconfig generation out of glx

2017-11-02 Thread Dylan Baker
Because the same generation logic is required by xlib glx and gallium-xlib glx, it makes sense to pull it out. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/glx/meson.build | 11 --- src/meson.build | 12 2 files changed, 12 insertions(+), 11 del

[Mesa-dev] [PATCH 4/5] meson: add support for xlib glx

2017-11-02 Thread Dylan Baker
There is a bunch of churn in the main meson.build so that we can correctly set the auto tristate of GLX. In particular, don't build xlib-based glx when dri and gallium are disabled but vulkan is enabled, in that case just turn glx off. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.

[Mesa-dev] [PATCH 1/5] meson: add nir_builder_opcodes_h to gallium_auxiliary

2017-11-02 Thread Dylan Baker
This creates a dependency on this header being generated before trying to compile any of these targets, as well as passing the correct -I to the compiler to ensure it's included correctly. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/auxiliary/meson.build | 2 +-

Re: [Mesa-dev] [PATCH mesa 1/2] meson: standardize .so version to major.minor.patch

2017-11-02 Thread Dylan Baker
I'm also not sure that it matters, but I think consistency with autotools is important, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-11-02 16:42:11) > This `version` field defines the filename for the .so. > The plan .so as well as .so.$major are alw

Re: [Mesa-dev] [PATCH] nir: fix a typo

2017-11-06 Thread Dylan Baker
Thanks, I went ahead and pushed this with my r-b. Quoting Gwan-gyeong Mun (2017-11-06 15:28:25) > Signed-off-by: Mun Gwan-gyeong > --- > src/compiler/nir/nir.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/compiler/nir/nir.h

Re: [Mesa-dev] [PATCH] meson: Add script to use VERSION file for getting version

2017-11-07 Thread Dylan Baker
Quoting Dylan Baker (2017-11-01 11:58:16) > Meson has up until this point set it's version in the root meson.build > script. While there are other build systems them creates "one more > thing" to duplicate between meson and every other build system, this > script is a simp

Re: [Mesa-dev] [PATCH] meson: Add threads dependencies to glsl_compiler executable

2017-11-07 Thread Dylan Baker
Quoting Dylan Baker (2017-10-27 11:22:09) > Fixes compiling the optional standalone glsl compiler. > > Reported-by: DrNick (on irc) > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > --- > > This is not compiled by default, but can be built by: > meson build

Re: [Mesa-dev] [PATCH] anv/meson: Generate dev_icd.json

2017-11-07 Thread Dylan Baker
see how one would do a canadian build of mesa though, so > host == target should always be true. That's my fault. There are (or were) a number of cases where I used target instead of host, that can also be a follow up. In any case: Acked-by: Dylan Baker <dy...@pnwbakers.co

Re: [Mesa-dev] Announcement: Meson build type change

2017-11-07 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-07 05:57:55) > On Tuesday, 2017-11-07 06:54:59 -0700, Brian Paul wrote: > > On 11/07/2017 05:25 AM, Eric Engestrom wrote: > > > Hi all, > > > > > > As a result of the discussion that started with this message: > > >

Re: [Mesa-dev] [PATCH 07/18] radeon/vcn: add common encode part

2017-11-07 Thread Dylan Baker
Quoting boyuan.zh...@amd.com (2017-11-07 13:59:02) > From: Boyuan Zhang > > Signed-off-by: Boyuan Zhang > --- > src/gallium/drivers/radeon/Makefile.sources | 3 + > src/gallium/drivers/radeon/radeon_vcn_enc.c | 166 + >

[Mesa-dev] non-shared glapi

2017-11-07 Thread Dylan Baker
Jason let me know today that non-shared glapi is broken in meson. The tests for non-shared glapi are broken in autotools and meson. Is anyone still using non-shared glapi, or can we delete it? signature.asc Description: signature ___ mesa-dev mailing

[Mesa-dev] [PATCH] autotools: Set C++ visibility flags on Intel

2017-11-09 Thread Dylan Baker
These flags are set for C sources, but not C++. This causes symbol visibility leaks from the C++ parts of the Intel compiler. fixes: 700bebb958e93f4d ("i965: Move the back-end compiler to src/intel/compiler") Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel

Re: [Mesa-dev] [PATCH 5/5] meson: build gallium-xlib based glx

2017-11-09 Thread Dylan Baker
Quoting Eric Anholt (2017-11-08 13:26:12) > We shouldn't have to manually specify most of these deps, I think, since > they should be transitively pulled in by the static libraries using > them, right? It's fine either way, though. > > > + install : true, > > + version : '1.5.0', > > Looks

Re: [Mesa-dev] [PATCH 1/3] radv: Fix architecture in radeon_icd.{arch}.json

2017-11-09 Thread Dylan Baker
for the series: Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Chad Versace (2017-11-09 15:45:00) > Use the host arch, not the target arch. In Meson and in recent > Autotools, the host arch is where the binary will be used. The target > arch is useful only when compi

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-11-08 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-08 04:00:54) > On Tuesday, 2017-11-07 09:28:35 -0800, Dylan Baker wrote: > > v2: - Add information about CC, CXX, CFLAGS, and CXXFLAGS (Nicolai) > > - Add message at top that meson for mesa is still a work in progress > > - Add traili

Re: [Mesa-dev] [PATCH] meson: Add script to use VERSION file for getting version

2017-11-08 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-08 12:38:26) > > > On 8 November 2017 19:32:22 GMT, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Eric Engestrom (2017-11-08 04:21:41) > > > On Wednesday, 2017-11-01 11:58:16 -0700, Dylan Baker wrote: > > > > Meso

Re: [Mesa-dev] [PATCH 4/4] meson: Enable VC4's NEON assembly support.

2017-11-08 Thread Dylan Baker
g, disabling asm') > +if meson.is_cross_build() and (host_machine.cpu_family() == 'x86' or > + host_machine.cpu_family() == 'x86_64') How about: if meson.is_cross_build() and host_machine.cpu_family().startswith('x86') Other than that, for the series: Reviewed-by: Dyl

Re: [Mesa-dev] [PATCH] meson: Add script to use VERSION file for getting version

2017-11-08 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-08 04:21:41) > On Wednesday, 2017-11-01 11:58:16 -0700, Dylan Baker wrote: > > Meson has up until this point set it's version in the root meson.build > > script. While there are other build systems them creates "one more > > thing&q

Re: [Mesa-dev] [Mesa-maintainers] non-shared glapi

2017-11-08 Thread Dylan Baker
gt; wrote: > > On Tuesday, 2017-11-07 16:33:57 -0800, Dylan Baker wrote: > >> Jason let me know today that non-shared glapi is broken in meson. The > >> tests for > >> non-shared glapi are broken in autotools and meson. Is anyone still using > >> non-sha

Re: [Mesa-dev] [PATCH] meson: Add script to use VERSION file for getting version

2017-11-08 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-08 04:21:41) > On Wednesday, 2017-11-01 11:58:16 -0700, Dylan Baker wrote: > > Meson has up until this point set it's version in the root meson.build > > script. While there are other build systems them creates "one more > > thing&q

Re: [Mesa-dev] [PATCH v2] meson: Allow building glvnd with EGL and non-dri based GLX

2017-11-08 Thread Dylan Baker
Quoting Emil Velikov (2017-11-08 08:03:42) > On 1 November 2017 at 18:22, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-11-01 10:41:10) > >> On 1 November 2017 at 17:24, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > Because me

Re: [Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-11-08 Thread Dylan Baker
cument that for us n00bs. That's in the v5 :) > > > On 11/07/2017 09:28 AM, Dylan Baker wrote: > >> v2: - Add information about CC, CXX, CFLAGS, and CXXFLAGS (Nicolai) > >> - Add message at top that meson for mesa is still a work in progress > >>

[Mesa-dev] [PATCH] meson: Add script to use VERSION file for getting version

2017-11-01 Thread Dylan Baker
to read the VERSION file. I chose to implement this in python since python is portable, and to keep the meson.build script clean. This is also complicated by the fact that the project() call *must* be the first non-comment,non-blank in the toplevel meson.build script. Signed-off-by: Dylan Baker <d

Re: [Mesa-dev] [PATCH] meson: Allow building glvnd with EGL and non-dri based GLX

2017-11-01 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-01 06:36:35) > On Tuesday, 2017-10-31 13:57:25 -0700, Dylan Baker wrote: > > Because meson mirrors the auototools logic, it needs the same changes to > > allow building glvnd based EGL without building any GLX. > > > > Signed-off-b

[Mesa-dev] [PATCH v2] meson: Allow building glvnd with EGL and non-dri based GLX

2017-11-01 Thread Dylan Baker
Because meson mirrors the auototools logic, it needs the same changes to allow building glvnd based egl. v2: - change if to elif (Eric) Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> --- meson.build | 8 ++-- 1 fil

Re: [Mesa-dev] [PATCH v2] meson: implement default driver arguments

2017-11-01 Thread Dylan Baker
Quoting Eric Engestrom (2017-11-01 04:09:26) > On Tuesday, 2017-10-31 15:50:49 -0700, Dylan Baker wrote: > > This allows drivers to be set by OS/arch in a sane manner. > > > > v2: - set _drivers to a list of drivers instead of manually assigning > > each with_*

Re: [Mesa-dev] [PATCH 2/3] mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile

2017-11-01 Thread Dylan Baker
S tests: > >>> ES31-CTS.functional.texture.texture_buffer.render.as_vertex_array_as_vertex_texture_as_fragment_texture.range_size_513 > >>> glGetIntegerv() failed: glGetError() returned GL_INVALID_ENUM at > >>> gluContextInfo.cpp:229 > >>> &

Re: [Mesa-dev] [PATCH 2/3] mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile

2017-11-01 Thread Dylan Baker
S tests: > >>> ES31-CTS.functional.texture.texture_buffer.render.as_vertex_array_as_vertex_texture_as_fragment_texture.range_size_513 > >>> glGetIntegerv() failed: glGetError() returned GL_INVALID_ENUM at > >>> gluContextInfo.cpp:229 > >>> &

Re: [Mesa-dev] [PATCH v2] meson: Allow building glvnd with EGL and non-dri based GLX

2017-11-01 Thread Dylan Baker
Quoting Emil Velikov (2017-11-01 10:41:10) > On 1 November 2017 at 17:24, Dylan Baker <dy...@pnwbakers.com> wrote: > > Because meson mirrors the auototools logic, it needs the same changes to > > allow building glvnd based egl. > > > > v2: - change if to elif (E

[Mesa-dev] [PATCH] docs: add documentation for building with meson

2017-11-07 Thread Dylan Baker
of changes as suggested by Emil. v3: - Fix order of commands in example (Eric E.) - Add documentation for overriding LLVM version (Eric E.) v4: - Rebase on master - update default buildtype - add note about b_ndebug - Clarify meson configure a bit Signed-off-by: Dylan Baker <dylanx.c.ba

Re: [Mesa-dev] [PATCH] amd/addrlib: update to latest version

2017-11-07 Thread Dylan Baker
It looks like the file deletions aren't applied to meson. Quoting Marek Olšák (2017-11-07 09:28:39) > Hi, > > This patch is too large for the mailing list: > > https://cgit.freedesktop.org/~mareko/mesa/commit/?h=addrlib=0e0f044268d3c1af2e78f161aaa2d92c30167cc1 > > The plan is to push this on

[Mesa-dev] [PATCH] meson: Fix building gallium media targets with gallium-xlib glx

2017-12-05 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 3e8ea7d17e0..bf6bd551f08 100644 --- a/meson.build +++ b/meson.build @@ -1107,9 +1107,9 @@ if with_platfo

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

2017-12-05 Thread Dylan Baker
Quoting Emil Velikov (2017-12-05 07:36:25) > On 4 December 2017 at 23:57, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-11-23 11:04:34) > >> On 20 November 2017 at 23:12, Dylan Baker <dy...@pnwbakers.com> wrote: > >> > This d

Re: [Mesa-dev] [PATCH mesa v2] meson: fix pl111 dependency on vc4

2017-12-07 Thread Dylan Baker
Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Thanks for making those changes. Quoting Eric Engestrom (2017-12-07 03:25:58) > src/gallium/winsys/pl111/drm/libpl111winsys.a(pl111_drm_winsys.c.o): In > function `pl111_drm_screen_create': > pl111_drm_winsys.c:(.text+0x33): unde

Re: [Mesa-dev] [PATCH] meson: Fix building gallium media targets with gallium-xlib glx

2017-12-07 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-07 04:17:58) > On Tuesday, 2017-12-05 09:40:53 -0800, Dylan Baker wrote: > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > --- > > meson.build | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) &g

Re: [Mesa-dev] [PATCH] meson: Add lmsensors to gallium libgl-xlib target.

2017-12-07 Thread Dylan Baker
I don't suppose someone would like to ack this? Quoting Dylan Baker (2017-12-04 14:05:12) > Fixes: 5e71efef44b992b5d70b ("meson: Add lmsensors support") > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > --- > src/gallium/targets/libgl-xlib/meson.build

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

2017-12-07 Thread Dylan Baker
Quoting Emil Velikov (2017-12-07 08:40:27) > On 7 December 2017 at 14:51, Eric Engestrom wrote: > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104141 > > Signed-off-by: Eric Engestrom > > --- > > src/broadcom/meson.build

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

2017-12-07 Thread Dylan Baker
Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-12-07 06:51:41) > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104141 > Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> > --- > src/broadcom/meson.build

Re: [Mesa-dev] [PATCH mesa 1/6] meson: dedup gallium-vdpau logic

2017-12-07 Thread Dylan Baker
I didn't look at these super closely after the vdpau one, but we use this logic elsewhere in the meson build, For the series, Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2017-12-07 08:52:17) > Signed-off-by: Eric Engestrom <eric.engest..

Re: [Mesa-dev] [PATCH] meson: Fix building gallium media targets with gallium-xlib glx

2017-12-07 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-07 09:37:47) > On Thursday, 2017-12-07 09:16:24 -0800, Dylan Baker wrote: > > Quoting Eric Engestrom (2017-12-07 04:17:58) > > > On Tuesday, 2017-12-05 09:40:53 -0800, Dylan Baker wrote: > > > > Signed-off-by: Dylan B

Re: [Mesa-dev] [PATCH] meson: Add lmsensors to gallium libgl-xlib target.

2017-12-07 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-07 09:49:30) > On Thursday, 2017-12-07 09:32:39 -0800, Dylan Baker wrote: > > I don't suppose someone would like to ack this? > > > > Quoting Dylan Baker (2017-12-04 14:05:12) > > > Fixes: 5e71efef44b992b5d70b ("meson: Add l

Re: [Mesa-dev] [PATCH] meson: Fix building gallium media targets with gallium-xlib glx

2017-12-07 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-07 10:13:27) > On Thursday, 2017-12-07 09:57:19 -0800, Dylan Baker wrote: > > Quoting Eric Engestrom (2017-12-07 09:37:47) > > > On Thursday, 2017-12-07 09:16:24 -0800, Dylan Baker wrote: > > > > Quoting Eric Engestrom (2017-12-07

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

2017-12-08 Thread Dylan Baker
This has only been compile tested. cc: Curro Jerez <curroje...@riseup.net> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- include/meson.build | 19 meson.build | 27 +- meson

[Mesa-dev] [PATCH 2/4] meson: Turn on swr for relevant targets

2017-12-08 Thread Dylan Baker
Currently that's dri, libgl-xlib, and osmesa. CC: George Kyriazis <george.kyria...@intel.com> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/meson.build| 1 - src/gallium/targets/dri/meson.build| 4 ++-- src/gallium/target

[Mesa-dev] [PATCH 1/4] meson: Build SWR driver

2017-12-08 Thread Dylan Baker
This enables the SWR driver, but doesn't actually hook it up to any of the targets yet. I felt like this patch was big and complicated enough without adding that. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- meson.build

[Mesa-dev] [PATCH 0/4] meson for SWR (on Linux) and Clover

2017-12-08 Thread Dylan Baker
of generators), but it's mostly contained in the relevant driver/state_tracker/target code. Dylan Baker (4): meson: Build SWR driver meson: Turn on swr for relevant targets meson: set opencl flags for r600 meson: build clover include/meson.build| 19

[Mesa-dev] [PATCH 3/4] meson: set opencl flags for r600

2017-12-08 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/gallium/drivers/r600/meson.build | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/meson.build b/src/gallium/drivers/r600/meson.build index 2132dbb33ad..5899518a2e8 100644 ---

Re: [Mesa-dev] [PATCH 1/4] meson: Build SWR driver

2017-12-11 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-11 07:49:07) > > +if with_gallium_swr > > + if meson.version().version_compare('< 0.44.0') > > +error('SWR requires meson 0.44.0 or greater.') > > + endif > > Mixed feelings about this, but I guess I'd rather land this now and > remove these three lines

Re: [Mesa-dev] [PATCH 3/4] meson: set opencl flags for r600

2017-12-11 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-11 07:55:30) > On Friday, 2017-12-08 16:27:21 -0800, Dylan Baker wrote: > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> > > Should come after the current 4/4, but > Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com&g

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

2017-12-11 Thread Dylan Baker
Quoting Eric Engestrom (2017-12-11 08:17:50) > On Friday, 2017-12-08 16:27:22 -0800, Dylan Baker wrote: > > This has only been compile tested. > > > > cc: Curro Jerez <curroje...@riseup.net> > > Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.c

Re: [Mesa-dev] [PATCH mesa] meson: fix keyword argument in declare_dependency()

2017-12-06 Thread Dylan Baker
oops! Okay, I'm thinking I'm going to write a linter for meson to help catch these kind of mistakes because this isn't the first time that I've failed to catch these kind of errors in code that I don't build locally. Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Quoting Eric Engestrom (2

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

2017-12-11 Thread Dylan Baker
Quoting Emil Velikov (2017-12-11 12:06:35) > On 7 December 2017 at 17:25, Dylan Baker <dy...@pnwbakers.com> wrote: > > Quoting Emil Velikov (2017-12-07 08:40:27) > >> On 7 December 2017 at 14:51, Eric Engestrom <eric.engest...@imgtec.com> > >> wrote: > &

[Mesa-dev] [PATCH] meson: Install dri.pc file when building gallium dri drivers

2017-12-01 Thread Dylan Baker
Currently this pkg-config file is only installed if a classic dri driver is built. This is wrong, it should be installed if any dri driver is installed, which includes the gallium dri target. Reported-by: Marc Dietrich <marvi...@gmx.de> Signed-off-by: Dylan Baker <dylanx.c.ba...@

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