Re: [Mesa-dev] [PATCH 9/9] glsl: Add tests for minmax prune

2014-08-13 Thread Dylan Baker
On Tuesday, July 29, 2014 12:36:39 PM Petri Latvala wrote: > tests/minmax/create_test_cases.py generates the following tests: > > multiple_min*.opt_test: > Construct a tree of min expressions for all permutations of a var_ref > and three constants. They should all optimize to a single min with >

Re: [Mesa-dev] [PATCH 4/9] glsl: Make compare_ir sort expression operands for commutative operations

2014-08-13 Thread Dylan Baker
On Tuesday, July 29, 2014 12:36:34 PM Petri Latvala wrote: > Sort expression operands when possible so that building expected IR > sexps doesn't need to know which ordering will be produced by an > optimization pass. > > Signed-off-by: Petri Latvala > --- > src/glsl/tests/compare_ir | 4 ++-- >

Re: [Mesa-dev] [PATCH 3/9] glsl: Refactor the python test case generator

2014-08-13 Thread Dylan Baker
On Tuesday, July 29, 2014 12:36:33 PM Petri Latvala wrote: > Move the IR sexp builder helpers and test script creation parts of > tests/lower_jumps/create_test_cases.py into tests/test_case_generator.py > > No functional changes. > > Signed-off-by: Petri Latvala > --- > src/glsl/tests/lower_jum

Re: [Mesa-dev] [PATCH 1/6] mesa: Add _mesa_format_fallback_rgba_to_rgbx()

2017-06-06 Thread Dylan Baker
Quoting Chad Versace (2017-06-06 13:36:55) > The new function takes a mesa_format and, if the format is an alpha > format with a non-alpha variant, returns the non-alpha format. > Otherwise, it returns the original format. > > Example: > input -> output > > // Fallback exists > MESA_FORMAT_

Re: [Mesa-dev] [PATCH 1/6] mesa: Add _mesa_format_fallback_rgba_to_rgbx()

2017-06-06 Thread Dylan Baker
Quoting Chad Versace (2017-06-06 15:11:18) > On Tue 06 Jun 2017, Dylan Baker wrote: > > Quoting Chad Versace (2017-06-06 13:36:55) > > > The new function takes a mesa_format and, if the format is an alpha > > > format with a non-alpha variant, returns the non-alpha

Re: [Mesa-dev] [PATCH 1/2] meson: provide Makefile.sources variables to meson build

2017-10-16 Thread Dylan Baker
Quoting Scott D Phillips (2017-10-16 10:04:45) > Dylan Baker writes: > > > Quoting Jakob Bornecrantz (2017-10-14 13:03:14) > > > On Sat, Oct 14, 2017 at 1:36 AM, Dylan Baker wrote: > > > > I'm not sure about this approach, we would need a way to add >

Re: [Mesa-dev] [PATCH v3 2/2] meson: build freedreno

2017-10-16 Thread Dylan Baker
Quoting Rob Clark (2017-10-15 04:04:04) > On Sat, Oct 14, 2017 at 11:10 PM, Dylan Baker wrote: > > Quoting Rob Clark (2017-10-14 11:41:49) > > > > Do we have a files() object for this? Since both freedreno and i965 need > > this, > > why don't we add a files

Re: [Mesa-dev] [PATCH 0/3] meson for broadcom

2017-10-16 Thread Dylan Baker
As far as I can tell this looks good. for the series: Reviewed-by: Dylan Baker (I pushed the meson-gallium stuff so this should be possible to land) Dylan Quoting Eric Anholt (2017-10-16 13:57:08) > Since I think I've sent review for all the parts of Dylan's meson > galliu

[Mesa-dev] [PATCH 2/4] meson: build r100 driver

2017-10-16 Thread Dylan Baker
build tested only Signed-off-by: Dylan Baker --- meson.build | 4 +- meson_options.txt | 2 +- src/mesa/drivers/dri/meson.build| 3 ++ src/mesa/drivers/dri/radeon/meson.build | 87 + 4 files changed, 94

[Mesa-dev] meson for remaining class drivers

2017-10-16 Thread Dylan Baker
Here is build support for the three remaining classic drivers, radeon (r100), r200, and the nouveau-veaux driver. None of these are too crazy, but I don't have hardware to test any of these. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https:

[Mesa-dev] [PATCH 3/4] meson: build r200 driver

2017-10-16 Thread Dylan Baker
Build tested only Signed-off-by: Dylan Baker --- meson.build | 4 +- meson_options.txt | 2 +- src/mesa/drivers/dri/meson.build | 3 ++ src/mesa/drivers/dri/r200/meson.build | 91 +++ 4 files changed, 98

[Mesa-dev] [PATCH 1/4] install_megadrivers: print the full path with driver name

2017-10-16 Thread Dylan Baker
Instead of just the path. Signed-off-by: Dylan Baker --- bin/install_megadrivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py index a5a46201ccb..a98d7dd177b 100755 --- a/bin/install_megadrivers.py +++ b/bin

[Mesa-dev] [PATCH 4/4] meson: build nouveau veaux driver

2017-10-16 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker --- meson.build | 4 +- meson_options.txt| 2 +- src/mesa/drivers/dri/meson.build | 3 ++ src/mesa/drivers/dri/nouveau/meson.build | 92 4 files changed

Re: [Mesa-dev] [PATCH mesa] meson: add missing radv_extensions.c generation for libvulkan_radeon

2017-10-17 Thread Dylan Baker
thon you have to do this using the depend_files as Andres suggests. Are we not doing that in the intel generator this is copied from? > > > > > ) > > > > > > +radv_extensions = custom_target( Could we call this radv_extensions_c, in keeping with

Re: [Mesa-dev] [PATCH mesa] meson: add missing radv_extensions.c generation for libvulkan_radeon

2017-10-17 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-17 11:07:48) > On Tuesday, 2017-10-17 17:04:13 +0000, Dylan Baker wrote: > > Quoting Eric Engestrom (2017-10-17 08:23:26) > > > On Tuesday, 2017-10-17 14:55:06 +, Andres Gomez wrote: > > > > On Tue, 2017-10-17 at 12:

Re: [Mesa-dev] [PATCH 4/4] meson: build nouveau veaux driver

2017-10-17 Thread Dylan Baker
Gah. French is one of the few romance languages I've never learned even a little of. Fixed locally, would you like me to send a v2? Quoting Ilia Mirkin (2017-10-16 18:50:49) > Old, not calves... > > On Oct 16, 2017 8:56 PM, "Dylan Baker" wrote: > > Build te

Re: [Mesa-dev] meson for remaining class drivers

2017-10-17 Thread Dylan Baker
Quoting Timothy Arceri (2017-10-16 18:05:38) > On 17/10/17 11:55, Dylan Baker wrote: > > Here is build support for the three remaining classic drivers, radeon > > (r100), > > r200, and the nouveau-veaux driver. None of these are too crazy, but I don't > > ha

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

2017-10-17 Thread Dylan Baker
Signed-off-by: Dylan Baker --- I'm sending this out now so that others can look at it, review it, and reference it, but this should not end up in the 17.3 release, as the meson build for mesa will not be ready to go into the 17.3 release. docs/contents.html | 1 + docs/meson.html

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

2017-10-17 Thread Dylan Baker
Quoting Nicolai Hähnle (2017-10-17 13:05:12) > On 17.10.2017 21:21, Dylan Baker wrote: > > +CC, CFLAGS, CXX, CXXFLAGS > > +These environment variables > > +control the C and C++ compilers used during the build. The default > > compilers > > +depends on your ope

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

2017-10-17 Thread Dylan Baker
Quoting Nicolai Hähnle (2017-10-17 13:40:00) > On 17.10.2017 22:33, Dylan Baker wrote: > > Quoting Nicolai Hähnle (2017-10-17 13:05:12) > >> On 17.10.2017 21:21, Dylan Baker wrote: > >>> +CC, CFLAGS, CXX, CXXFLAGS > >>> +These environment variables &

Re: [Mesa-dev] [PATCH 4/4] meson: build nouveau veaux driver

2017-10-17 Thread Dylan Baker
Quoting Ilia Mirkin (2017-10-17 12:02:05) > On Tue, Oct 17, 2017 at 2:51 PM, Dylan Baker wrote: > > Gah. French is one of the few romance languages I've never learned even a > > little > > of. > > > > Fixed locally, would you like me to send a v2? &

[Mesa-dev] [PATCH] meson: turn on pl111 not vc4 when pl111 driver specificed

2017-10-17 Thread Dylan Baker
cc: Eric Anholt fixes: 1918c9b1627d5403 ("meson: Add support for the pl111 driver.") Signed-off-by: Dylan Baker --- I missed this when I was reviewing, but saw it looking at the change log when I was rebasing some other work. meson.build | 2 +- 1 file changed, 1 insertion(+),

Re: [Mesa-dev] [PATCH] Fix the xf86vm meson dependency

2017-10-17 Thread Dylan Baker
I could have sworn this got fixed already, but clearly not. reviewed-by: Dylan Baker On October 17, 2017 6:04:16 PM PDT, Nicholas Miell wrote: >The pkg-config file is called xxf86vm. > >Signed-off-by: Nicholas Miell >--- > meson.build | 2 +- > 1 file changed, 1 insert

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

2017-10-18 Thread Dylan Baker
Quoting Emil Velikov (2017-10-18 03:32:14) > On 17 October 2017 at 20:21, Dylan Baker wrote: > > Signed-off-by: Dylan Baker > > --- > > > > I'm sending this out now so that others can look at it, review it, and > > reference > > it, but this should

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

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 04:02:07) > On Tuesday, 2017-10-17 19:21:10 +0000, Dylan Baker wrote: > > Signed-off-by: Dylan Baker > > --- > > > > I'm sending this out now so that others can look at it, review it, and > > reference > > it, but th

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

2017-10-18 Thread Dylan Baker
changes as suggested by Emil. Signed-off-by: Dylan Baker --- docs/contents.html | 1 + docs/meson.html| 126 + 2 files changed, 127 insertions(+) create mode 100644 docs/meson.html diff --git a/docs/contents.html b/docs/contents.html index d

Re: [Mesa-dev] [PATCH 01/10] anv/android: Link to Android libraries in the autotools build

2017-10-18 Thread Dylan Baker
Android with meson is still a TODO as a whole. If someone at google wanted to get all of that working I would be very appreciative Dylan Quoting Jason Ekstrand (2017-10-16 15:46:05) > No meson love? > > On Mon, Oct 16, 2017 at 11:54 AM, Chad Versace > wrote: > > A first step to support

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

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 14:48:49) > On Wednesday, 2017-10-18 18:45:19 +, Nicholas Miell wrote: > > On 10/17/2017 12:21 PM, Dylan Baker wrote: > > > + > > > +To see a description of your options you can run "meson configure". This >

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

2017-10-18 Thread Dylan Baker
Quoting Nicholas Miell (2017-10-18 11:45:19) > On 10/17/2017 12:21 PM, Dylan Baker wrote: > > + > > +To see a description of your options you can run "meson configure". This > > will > > +show your meson project configuration options as well as your local

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

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 15:27:39) > On Wednesday, 2017-10-18 18:09:22 +0000, 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

[Mesa-dev] [PATCH 1/4] meson: Don't allow glx to be built without platform_x11

2017-10-18 Thread Dylan Baker
Previously this failed to change with_glx to disabled from auto if platform_x11 was unset or if no opengl apis were being built. Signed-off-by: Dylan Baker --- meson.build | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 82c4d2ed12c

[Mesa-dev] [PATCH 2/4] meson: move wayland_drm_protocol generation to wayland-drm

2017-10-18 Thread Dylan Baker
: Dylan Baker --- src/egl/wayland/wayland-drm/meson.build | 14 +- src/vulkan/wsi/meson.build | 14 -- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/egl/wayland/wayland-drm/meson.build b/src/egl/wayland/wayland-drm/meson.build index

[Mesa-dev] [PATCH 4/4] meson: Add support for EGL glvnd

2017-10-18 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/egl/meson.build | 46 -- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/src/egl/meson.build b/src/egl/meson.build index ade6810bf91..8ea8a5bbb69 100644 --- a/src/egl/meson.build +++ b/src/egl

[Mesa-dev] [PATCH 3/4] meson: build libEGL

2017-10-18 Thread Dylan Baker
red library. It doesn't do this because meson doesn't have problems with the name of the library being dynamically generated, so the glvnd and non-glvnd code can follow the same path. Signed-off-by: Dylan Baker --- include/meson.build

[Mesa-dev] [PATCH 0/4] meson egl support

2017-10-18 Thread Dylan Baker
e the patches from scratch, I heavily referenced his work. I'd also like to thank Jason Ekstrand for helping me debug a wayland-egl issue I ran into. This is available at my github: https://github.com/dcbaker/mesa submit/meson-egl Dylan Baker (4): meson: Don't allow glx to b

Re: [Mesa-dev] [PATCH 2/2] i965: Use is_scheduling_barrier instead of schedule_node::is_barier.

2017-10-18 Thread Dylan Baker
typo in subject "is_barier" -> "is_barrier" Quoting Kenneth Graunke (2017-10-18 16:59:12) > Commit a73116ecc60414ade89802150b tried to make add_barrier_deps() > walk to the next barrier, and stop. To accomplish that, it added an > is_barrier flag. Unfortunately, this only works half of the time.

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

2017-10-18 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-18 17:25:05) > On Wednesday, 2017-10-18 23:56:00 +0000, Dylan Baker wrote: > > This is based heavily on Daniel Stone's work for the same, rebased on > > master and with a number of TODO's fixed. > > > > This does not implem

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

2017-10-19 Thread Dylan Baker
Quoting Daniel Stone (2017-10-19 07:34:28) > Hi Dylan, > > On 19 October 2017 at 01:55, Dylan Baker wrote: > > This is based heavily on Daniel Stone's work for the same, rebased on > > master and with a number of TODO's fixed. > > > > This does not

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

2017-10-19 Thread Dylan Baker
Quoting Emil Velikov (2017-10-19 09:44:37) > On 18 October 2017 at 18:27, Dylan Baker wrote: > > >> > +Note that in meson this defaults to "debug", and not setting it to > >> > +"release" will yield non-optimal performance and binary size &g

[Mesa-dev] [PATCH] meson: don't build gallium dri target if gallium is disabled

2017-10-19 Thread Dylan Baker
ned-off-by: Dylan Baker --- src/gallium/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/meson.build b/src/gallium/meson.build index a65b32c658e..97347819d60 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -67,7 +67,7 @@ subdir('sta

[Mesa-dev] [PATCH 2/2] meson: build imx driver

2017-10-20 Thread Dylan Baker
This is build tested only. Signed-off-by: Dylan Baker --- meson.build| 5 + meson_options.txt | 2 +- src/gallium/meson.build| 3 +++ src/gallium/targets/dri/meson.build| 5 + src/gallium/winsys/imx/drm/meson.build

[Mesa-dev] [PATCH 1/2] meson: build etnaviv driver + winsys

2017-10-20 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker --- meson.build| 6 ++ meson_options.txt | 2 +- src/gallium/drivers/etnaviv/meson.build| 96 ++ src/gallium/meson.build| 7 ++- src

[Mesa-dev] meson build for etnaviv and imx

2017-10-20 Thread Dylan Baker
This is all pretty straight-forward, it builds on my system, but I don't have any actual hardware to test on. Christian and/or Wladimir, could one of you build this and do some kind of testing to ensure it works? ___ mesa-dev mailing list mesa-dev@lists

[Mesa-dev] [PATCH] meson: bump libdrm_amdgpu requirement to 2.4.85

2017-10-20 Thread Dylan Baker
fixes: b60372570323243ec73 ("configure.ac: Bump libdrm_amdgpu version to 2.4.85.") cc: Bas Nieuwenhuizen Signed-off-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 82c4d2ed12c..6b11a5d3103 10

[Mesa-dev] [PATCH] meson: fix egl build for meson version < 0.43

2017-10-20 Thread Dylan Baker
Meson 0.43 added the ability to pass nested lists to include_directories, so the code that we have works for 0.43, but not for 0.42. This patch changes the include_directories list to be flat so it works with 0.42 fixes: 108d257a16859898f5c ("meson: build libEGL") Signed-off-by: D

[Mesa-dev] create src/wsi

2017-10-20 Thread Dylan Baker
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 components within mesa, wayland-drm, for example, is used by EGL, GBM, and vulkan wayland-wsi. I think there's more that could be moved into wsi, we

[Mesa-dev] [PATCH 1/3] automake: Remove unused include path

2017-10-20 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/egl/wayland/wayland-drm/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am index b27edddafb1..57782da936d 100644 --- a/src/egl/wayland/wayland-drm

[Mesa-dev] [PATCH 3/3] Move src/eg/wayland/wayland-drm into src/wsi

2017-10-20 Thread Dylan Baker
GLX could all get moved here, as could some wsi bits in loader. Signed-off-by: Dylan Baker --- configure.ac | 4 ++-- src/Makefile.am | 3 +-- src/egl/Makefile.am | 6 +++--- src/egl/m

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

2017-10-20 Thread Dylan Baker
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. Signed-off-by: Dylan Baker --- src/gbm/Makefile.am| 4 +++- src/gbm/backends/dri/gbm_dri.c | 2 +- src/gbm/meson.build| 6 +++--- 3 files changed, 7 inser

Re: [Mesa-dev] [PATCH 2/3] meson: extract out variable for nir_algebraic.py

2017-10-24 Thread Dylan Baker
27;, > > join_paths(meson.source_root(), 'src/compiler/nir/')], > > - depend_files : files('../../compiler/nir/nir_algebraic.py'), > > + depend_files : files(nir_algebraic_py), > > And this becomes: > depend_files : nir_algebraic_py, > >

Re: [Mesa-dev] [PATCH 1/3] freedreno/ir3: use a flag instead of setting PYTHONPATH

2017-10-24 Thread Dylan Baker
The python is correct, and I believe that the autotools is correct, Reviewed-by: Dylan Baker Quoting Rob Clark (2017-10-24 08:12:48) > Similar to 848da662224326ccfbe6647bc82f4f89ca22c762, pass an arg to > ir3_nir_trig.py to add to python path, rather than using $PYTHONPATH, > to prep

Re: [Mesa-dev] [PATCH 3/3] meson: build freedreno

2017-10-24 Thread Dylan Baker
Reviewed-by: Dylan Baker Quoting Rob Clark (2017-10-24 08:12:50) > Mostly copy/pasta from Dylan Baker's conversion of nouveau and i965. > > Signed-off-by: Rob Clark > --- > meson.build | 6 + > meson_options.txt

Re: [Mesa-dev] [PATCH mesa] meson: be explicit about the version required

2017-10-24 Thread Dylan Baker
This seems reasonable, could you wrap the hanging indent like meson_options with the closing brace on it's own line and with each option on its own line? ie: project( mesa ... ) With that: Reviewed-by: Dylan Baker Quoting Eric Engestrom (2017-10-24 07:04:01) > This way, we know wh

Re: [Mesa-dev] [PATCH] meson: add opt-out of libunwind

2017-10-24 Thread Dylan Baker
Reviewed-by: Dylan Baker Quoting Erik Faye-Lund (2017-10-24 07:44:21) > Libunwind has some issues on some platforms, so let's allow people > who have issues to opt-out. This is similar to what we do in automake, > and the implementation is modelled after our opt-out for valgrind. &

Re: [Mesa-dev] [PATCH 1/5] anv: add ETIME fallback define

2017-10-24 Thread Dylan Baker
Quoting Greg V (2017-10-23 13:20:39) > FreeBSD only has ETIMEDOUT, not ETIME > --- > src/intel/vulkan/anv_device.c | 4 > src/intel/vulkan/anv_gem.c| 4 > src/intel/vulkan/anv_queue.c | 4 > 3 files changed, 12 insertions(+) > > diff --git a/src/intel/vulkan/anv_device.c b/src

Re: [Mesa-dev] [PATCH mesa] meson: be explicit about the version required

2017-10-24 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-24 10:32:36) > On Tuesday, 2017-10-24 09:40:22 -0700, Dylan Baker wrote: > > This seems reasonable, could you wrap the hanging indent like meson_options > > with > > the closing brace on it's own line and with each option on its own

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

2017-10-25 Thread Dylan Baker
I ran it through our CI and there do appear to be a fair number of regressions. The majority of the errors are in the ES 3.1 CTS (there are also a few in deqp ES 3.1) and have this as their error message: glGetIntegerv() failed: glGetError() returned GL_INVALID_ENUM I'm bisecting now, I'll update

Re: [Mesa-dev] [PATCH] meson: do not search for needless deps

2017-10-25 Thread Dylan Baker
I don't really care one way or another. When I tested it the time spent was so insignificant I didn't care to optimize. Acked-by: Dylan Baker Quoting Erik Faye-Lund (2017-10-25 01:24:49) > If we don't want to use these deps, there's no good reason to search > for the

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

2017-10-25 Thread Dylan Baker
For list posterity, since my intel email isn't subscribed, There are a significant number of i965 regressions from

[Mesa-dev] [PATCH 9/9] meson: build gallium based osmesa

2017-10-25 Thread Dylan Baker
This has been tested with the osdemo from mesa-demos Signed-off-by: Dylan Baker --- meson.build | 3 ++ meson_options.txt | 2 +- src/gallium/meson.build | 7 ++- src/gallium/state_trackers/osmesa/meson.build

[Mesa-dev] [PATCH 6/9] glapi: include generated headers without path

2017-10-25 Thread Dylan Baker
This has been tested wtih make dist-check and with meson. Signed-off-by: Dylan Baker --- src/mapi/glapi/glapi_dispatch.c | 2 +- src/mapi/glapi/glapi_getproc.c | 4 ++-- src/mapi/glapi/glapi_nop.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mapi/glapi

[Mesa-dev] [PATCH 2/9] meson: rename all instances of xf86vm to xxf86vm

2017-10-25 Thread Dylan Baker
Because consistency Signed-off-by: Dylan Baker --- meson.build | 6 +++--- src/glx/meson.build | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index c480dd410d9..5b31194b0df 100644 --- a/meson.build +++ b/meson.build @@ -736,7 +736,7

[Mesa-dev] [PATCH 8/9] meson: build classic osmesa

2017-10-25 Thread Dylan Baker
From: Dylan Baker This builds the classic (non-gallium) osmesa with meson. This has been tested with the osdemo application from mesa-demos. Signed-off-by: Dylan Baker --- include/meson.build | 2 +- meson.build | 26

[Mesa-dev] [PATCH 1/9] meson: fix pkg-config Gl Require.Private

2017-10-25 Thread Dylan Baker
xf86vm -> xxf86vm Signed-off-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2a89b6482f9..c480dd410d9 100644 --- a/meson.build +++ b/meson.build @@ -814,7 +814,7 @@ gl_priv_reqs = [ 'xcb-glx

[Mesa-dev] [PATCH 7/9] meson: Add generated files to non-shared glapi

2017-10-25 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/mapi/glapi/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mapi/glapi/meson.build b/src/mapi/glapi/meson.build index d3e070d0d1a..74f84d289ba 100644 --- a/src/mapi/glapi/meson.build +++ b/src/mapi/glapi/meson.build @@ -55,6 +55,9 @@ else

[Mesa-dev] [PATCH 0/9] Meson: osmesa support

2017-10-25 Thread Dylan Baker
This series adds support to the meson build system for both classic osmesa and gallium based osmesa. There are quite a few cleanup patches in this series as well, one of which is reviewed but sent back out so the whole series can be reviewed. Dylan Dylan Baker (9): meson: fix pkg-config Gl

[Mesa-dev] [PATCH 3/9] meson: fix glprocs.h generator

2017-10-25 Thread Dylan Baker
There was a typo that causes the generated file to be called gl_procs.h instead. Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom --- src/mapi/glapi/gen/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi

[Mesa-dev] [PATCH 5/9] osmesa: Include generated headers without path

2017-10-25 Thread Dylan Baker
This makes things much easier to ensure correctness with meson. Tested with make dist-check and with meson. Signed-off-by: Dylan Baker --- src/mesa/drivers/osmesa/Makefile.am | 2 ++ src/mesa/drivers/osmesa/osmesa.c| 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src

[Mesa-dev] [PATCH 4/9] meson: move gallium include declarations to src

2017-10-25 Thread Dylan Baker
These are used by non-gallium osmesa, so they need to be defined outside of the gallium subdirectory. Signed-off-by: Dylan Baker --- src/gallium/auxiliary/meson.build | 2 -- src/gallium/meson.build | 1 - src/meson.build | 2 ++ 3 files changed, 2 insertions(+), 3

Re: [Mesa-dev] meson for remaining class drivers

2017-10-25 Thread Dylan Baker
ping Quoting Dylan Baker (2017-10-16 17:55:49) > Here is build support for the three remaining classic drivers, radeon (r100), > r200, and the nouveau-veaux driver. None of these are too crazy, but I don't > have hardware to tes

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

2017-10-25 Thread Dylan Baker
t = true; > ctx->Extensions.ARB_texture_buffer_object_rgb32 = true; > ctx->Extensions.ARB_texture_buffer_range = true; > > > Marek > > On Wed, Oct 25, 2017 at 11:42 PM, Dylan Baker > wrote: > > There are a significant number of i965 regressions

Re: [Mesa-dev] [PATCH mesa v2] meson: wire up selinux

2017-10-26 Thread Dylan Baker
I don't have an selinux enabled system to test with either, but this looks correct and doesn't break the build. Reviewed-by: Dylan Baker Quoting Eric Engestrom (2017-10-26 09:30:24) > Signed-off-by: Eric Engestrom > --- > build-tested only > --- &g

Re: [Mesa-dev] [PATCH mesa 1/2] buildsys: move file regeneration logic to the script itself

2017-10-26 Thread Dylan Baker
I have a few tiny nits, but otherwise this seems fine: Reviewed-by: Dylan Baker Quoting Eric Engestrom (2017-10-26 08:40:56) > Suggested-by: Jordan Justen > Signed-off-by: Eric Engestrom > --- > bin/git_sha1_gen.py | 13 - >

Re: [Mesa-dev] [PATCH mesa v2 2/2] meson: bring MESA_GIT_SHA1 in line with other build systems

2017-10-26 Thread Dylan Baker
one small nit, otherwise, Reviewed-by: Dylan Baker Quoting Eric Engestrom (2017-10-26 08:40:57) > From: Eric Engestrom > > Meson's vcs_tag() uses the output of `git describe`, eg. > 17.3-branchpoint-5-gfbf29c3cd15ae831e249+ > > Whereas the other build systems used a s

Re: [Mesa-dev] [PATCH] meson: do not search for needless deps

2017-10-26 Thread Dylan Baker
Quoting Gert Wollny (2017-10-26 02:49:56) > > Am Mittwoch, den 25.10.2017, 10:24 +0200 schrieb Erik Faye-Lund: > > If we don't want to use these deps, there's no good reason to search > > for them in the first place. This should shave a bit of time for the > > initial build. > > --- > > > > This

Re: [Mesa-dev] meson for remaining class drivers

2017-10-26 Thread Dylan Baker
Quoting Eric Anholt (2017-10-26 10:33:11) > Dylan Baker writes: > > > [ Unknown signature status ] > > ping > > You had my r-b other than one comment. Are you pinging for something > else? Ilia and Timothy had expressed that they wanted to look at it, I wanted to

Re: [Mesa-dev] [PATCH 9/9] meson: build gallium based osmesa

2017-10-26 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-26 02:40:20) > On Wednesday, 2017-10-25 15:58:23 -0700, Dylan Baker wrote: > > This has been tested with the osdemo from mesa-demos > > > > Signed-off-by: Dylan Baker > > --- > > meson.build

[Mesa-dev] [PATCH 5/7] meson: build r600

2017-10-26 Thread Dylan Baker
This has been build tested only. Signed-off-by: Dylan Baker --- meson.build | 20 -- meson_options.txt| 2 +- src/gallium/drivers/r600/meson.build | 128 +++ src/gallium/meson.build | 4 +- src

[Mesa-dev] [PATCH 6/7] meson: build svga driver on linux

2017-10-26 Thread Dylan Baker
Build tested only. cc: Brian Paul Signed-off-by: Dylan Baker --- meson.build | 2 + meson_options.txt | 2 +- src/gallium/drivers/svga/meson.build| 88 + src/gallium/meson.build | 7

[Mesa-dev] [PATCH 3/7] meson: build i915g driver

2017-10-26 Thread Dylan Baker
Build tested only. Signed-off-by: Dylan Baker --- meson.build | 7 +++- src/gallium/drivers/i915/meson.build| 70 + src/gallium/meson.build | 7 +++- src/gallium/targets/dri/meson.build | 5 +++ src/gallium

[Mesa-dev] [PATCH 1/7] svga: Use __asm__ instead of asm

2017-10-26 Thread Dylan Baker
se to not have to override the std for gcc/clang, but ensure that it's not set to gnu99 when building with MSVC when there's a straightforward code change that allows removing the need for gnu99. I have compile tested this with GCC and Clang cc: Brian Paul Signed-off-by: Dylan Baker ---

[Mesa-dev] Meson for remaining gallium drivers (except SWR)

2017-10-26 Thread Dylan Baker
This series implements the rest of the remaining gallium drivers except SWR. I have a branch for SWR, but it needs some upstream meson patches that haven't landed, but will hopefully be in 0.44.0 Most of this is pretty straight forward, except for one change to svga. I have no hardware/software t

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

2017-10-26 Thread Dylan Baker
Signed-off-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1da1bb06798..64084d686e3 100644 --- a/meson.build +++ b/meson.build @@ -647,7 +647,7 @@ if with_gallium_freedreno endif llvm_modules = ['bitw

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

2017-10-26 Thread Dylan Baker
Build tested only. cc: Dave Airlie Signed-off-by: Dylan Baker --- meson.build| 12 ++--- meson_options.txt | 2 +- src/gallium/drivers/virgl/meson.build | 39 ++ src/gallium/meson.build

[Mesa-dev] [PATCH 4/7] meson: build r300 driver

2017-10-26 Thread Dylan Baker
This is build tested only Signed-off-by: Dylan Baker --- meson.build | 4 +- meson_options.txt| 2 +- src/gallium/drivers/r300/meson.build | 156 +++ src/gallium/meson.build | 4 +- src/gallium

[Mesa-dev] [PATCH] meson: Add a dependency on nir_opcodes_h for freedreno

2017-10-27 Thread Dylan Baker
This fixes a race condition in the build. cc: Rob Clark Signed-off-by: Dylan Baker --- src/gallium/drivers/freedreno/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index

Re: [Mesa-dev] [PATCH] meson: drop vulkan if no drivers are built

2017-10-27 Thread Dylan Baker
This just papers over the actual problem, that dep_xcb isn't declared as an empty list with the other glx dependencies. Dylan Quoting Erik Faye-Lund (2017-10-27 04:55:25) > This avoids the following build-error when building with emtpy > vulkan-drivers and without glx=dri: > > Meson encountered

[Mesa-dev] [PATCH] meson: declare an empty xcb dependency

2017-10-27 Thread Dylan Baker
This is needed in cases where xcb isn't actually needed as a dependency, but may still be included somewhere. cc: Erik Faye-Lund cc: Eric Engestrom Signed-off-by: Dylan Baker --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 875f9d

Re: [Mesa-dev] [PATCH mesa] meson: wire up egl/android

2017-10-27 Thread Dylan Baker
dependency('hardware'), > + dependency('sync'), > + ] The indent looks off here, it looks like 4 space instead of 2, and the closing brace should be dedented. Otherwise this looks good to me, though it would be great if one of the ChromeOS guys could look a

Re: [Mesa-dev] [PATCH 9/9] meson: build gallium based osmesa

2017-10-27 Thread Dylan Baker
Quoting Eric Engestrom (2017-10-27 02:28:05) > On Thursday, 2017-10-26 13:55:35 -0700, Dylan Baker wrote: > > Quoting Eric Engestrom (2017-10-26 02:40:20) > > > On Wednesday, 2017-10-25 15:58:23 -0700, Dylan Baker wrote: > > > > +if with_shared_glapi > >

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

2017-10-27 Thread Dylan Baker
Fixes compiling the optional standalone glsl compiler. Reported-by: DrNick (on irc) Signed-off-by: Dylan Baker --- This is not compiled by default, but can be built by: meson build ninja -C build src/compiler/glsl/glsl_compiler src/compiler/glsl/meson.build | 2 +- 1 file changed, 1 insertion

Re: [Mesa-dev] [PATCH] meson: declare an empty xcb dependency

2017-10-27 Thread Dylan Baker
Well, I went to push this, apparently this was in one of the osmesa patches as an unrelated change.. :/ So it's fixed. Dylan Quoting Dylan Baker (2017-10-27 10:25:33) > This is needed in cases where xcb isn't actually needed as a dependency, > but may still be included so

[Mesa-dev] [PATCH] scons: Fix glapi include path changes

2017-10-27 Thread Dylan Baker
fixes: 5daed06da2c0aaa4 ("osmesa: Include generated headers without path") cc: Mark Janes Signed-off-by: Dylan Baker --- src/mapi/glapi/SConscript | 1 + src/mesa/drivers/osmesa/SConscript | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/

Re: [Mesa-dev] [PATCH] scons: fix OSMesa driver build

2017-10-27 Thread Dylan Baker
I sent almost the same patch at exactly the same time. I also needed to add this path to src/map/glapi/Sconscript to get scons building. Maybe that's unrelated? Dylan Quoting Brian Paul (2017-10-27 15:35:09) > Fixes: ea53d9a8eb5d4b2 "glapi: include generated headers without path" > --- > src/mes

Re: [Mesa-dev] [PATCH] scons: fix OSMesa driver build

2017-10-27 Thread Dylan Baker
Ah, I see that you fixed that already, Reviewed-by: Dylan Baker Quoting Brian Paul (2017-10-27 15:35:09) > Fixes: ea53d9a8eb5d4b2 "glapi: include generated headers without path" > --- > src/mesa/drivers/osmesa/SConscript | 1 + > 1 file changed, 1 insertion(+) > > d

Re: [Mesa-dev] [PATCH mesa] git_sha1_gen: create empty file in fallback path

2017-10-29 Thread Dylan Baker
Rb On October 29, 2017 3:06:28 PM PDT, Eric Engestrom wrote: >I missed this part in my conversion, the old stream redirection meant >the file was always created. > >Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103496 >Fixes: 7088622e5fb506b64c90 "buildsys: move file regeneration logic t

Re: [Mesa-dev] [PATCH v2] wayland-drm: static inline wayland_drm_buffer_get

2017-10-30 Thread Dylan Baker
sulting binary is a bit smaller. > > >> > > >> Note: we need to move struct wayland_drm_callbacks further up, > > >> otherwise we'll get an error since the type is incomplete. > > >> > > >> v2: Rebase, beef-up commit message, update

Re: [Mesa-dev] [PATCH v2] wayland-drm: static inline wayland_drm_buffer_get

2017-10-30 Thread Dylan Baker
for the meson bits: Reviewed-by: Dylan Baker Please do make sure that Daniel or someone else with wayland expertise looks at this tool, I am not qualified to review that. Dylan Quoting Emil Velikov (2017-10-27 16:50:25) > On 24 October 2017 at 17:14, Emil Velikov wrote: > > From: Emi

Re: [Mesa-dev] create src/wsi

2017-10-30 Thread Dylan Baker
So I think the consensus is this is okay? Emil, is the autotools right here? Quoting Dylan Baker (2017-10-20 18:00:13) > 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] meson: implement default driver arguments

2017-10-30 Thread Dylan Baker
This allows drivers to be set by OS/arch in a sane manner. Signed-off-by: Dylan Baker --- meson.build | 37 +++-- meson_options.txt | 8 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 24d997b3e0a

<    1   2   3   4   5   6   7   8   9   10   >