Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-22 12:59:49) > On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker wrote: > > @@ -1305,6 +1318,7 @@ functions = [ > > "SamplerParameterfv", > > "SamplerParameteri", > > "SamplerParameteriv", > >

Re: [Mesa-dev] [PATCH v2 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-22 13:21:04) > On Thu, Sep 22, 2016 at 4:17 PM, Dylan Baker wrote: > > Quoting Ilia Mirkin (2016-09-22 12:59:49) > >> On Thu, Sep 22, 2016 at 3:56 PM, Dylan Baker wrote: > >> > @@ -1305,6 +1318,7 @@ functions = [ &

[Mesa-dev] [PATCH v3 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
See commit 5921f372c89a68fac6ddefc009442721d9df4db2 for the rational of this commit. Signed-off-by: Dylan Baker --- Changes since v2: Re-sort the whole list, and remove duplicates, which there were several. I've also checked that there are no duplicates by importing the li

[Mesa-dev] [PATCH v3 2/3] mapi: sort static_data.py functions

2016-09-22 Thread Dylan Baker
Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/static_data.py | 164 +++--- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index 396f941..bb11c1d 100644 --- a/src/mapi/glapi

[Mesa-dev] [PATCH v3 1/3] mapi: retab static_data.py to be consistent

2016-09-22 Thread Dylan Baker
This file currently uses a mixture of 3 and 4 space indent. I have changed it all to 4 space indent, matching the settings in $ROOT/.editorconfig. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/static_data.py | 2570 ++--- 1 file changed, 1285 insertions

Re: [Mesa-dev] [PATCH v3 3/3] mapi: export all GLES 3.2 functions in libGLESv2.so

2016-09-22 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-22 14:37:05) > On Thu, Sep 22, 2016 at 5:16 PM, Dylan Baker wrote: > > See commit 5921f372c89a68fac6ddefc009442721d9df4db2 for the rational of > > this commit. > > > > Signed-off-by: Dylan Baker > > --- > > > > Changes

Re: [Mesa-dev] [AppVeyor] mesa master #2241 failed

2016-09-23 Thread Dylan Baker
> > > Build mesa 2241 failed > > <https://ci.appveyor.com/project/jrfonseca-fdo/mesa/build/2241> > > > > Commit e66a2b879b by Dylan Baker <mailto:dy...@pnwbakers.com> on > > 9/22/2016 6:30 PM: > > mapi: export all GLES 3.2 functions in libGLESv

Re: [Mesa-dev] [AppVeyor] mesa master #2241 failed

2016-09-23 Thread Dylan Baker
Quoting Jose Fonseca (2016-09-23 11:11:18) > On 23/09/16 18:26, Dylan Baker wrote: > > Quoting Jose Fonseca (2016-09-23 05:01:12) > >> This seems to have broke Windows builds. > >> > >> It seems this is not only exporting symbols on GLESv2.so but everywhere. &

Re: [Mesa-dev] [PATCH] docs: Mark GL_OES_viewport_array done on i965

2016-10-05 Thread Dylan Baker
bustness_share_group_isolation not started > -- > 2.5.5 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev Reviewed-by: Dylan Baker signature.asc Description

[Mesa-dev] [PATCH] mesa: Implement ARB_shader_viewport_layer_array for i965

2016-09-09 Thread Dylan Baker
st it on, I've left that for someone else to wire up. Since this requires GL 4.1, this is only available on gen8+. Signed-off-by: Dylan Baker --- docs/features.txt| 2 +- docs/relnotes/12.1.0.html| 1 + src/compiler/glsl/builtin_variables.cpp

Re: [Mesa-dev] [PATCH] mesa: Implement ARB_shader_viewport_layer_array for i965

2016-09-09 Thread Dylan Baker
Quoting Ilia Mirkin (2016-09-09 16:40:15) > On Fri, Sep 9, 2016 at 7:14 PM, Dylan Baker wrote: > > +EXT(ARB_shader_viewport_layer_array , > > ARB_shader_viewport_layer_array, GLL, GLC, x , x , 2015) > > This relies on GL 3.2 at least, so I think this sh

Re: [Mesa-dev] [PATCH] mesa: Implement ARB_shader_viewport_layer_array for i965

2016-09-10 Thread Dylan Baker
I like the easy way out in this case. Thanks for the pointer. On Fri, Sep 9, 2016, at 18:03, Ilia Mirkin wrote: > On Fri, Sep 9, 2016 at 8:59 PM, Dylan Baker wrote: > >> Some piglit tests to check the TES behaviour would be nice. > > > > Yeah, I figured. I'

Re: [Mesa-dev] [PATCH 2/2] i965: Reorder PCI ID list to match release order

2016-10-18 Thread Dylan Baker
SET(0x0A84, bxt, "Intel(R) HD Graphics (Broxton)") > -CHIPSET(0x1A84, bxt, "Intel(R) HD Graphics (Broxton)") > -CHIPSET(0x1A85, bxt_2x6, "Intel(R) HD Graphics (Broxton 2x6)") > -CHIPSET(0x5A84, bxt, "Intel(R) HD Graphics 505 (Broxton)") > -CHIPSET(0x5A85, bxt_2x6, "Intel(R) HD Graphics 500 (Broxton 2x6)") > -- > 2.10.0 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev I approve of your OCD, Reviewed-by: Dylan Baker signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/2] glapi: Move PrimitiveBoundingBox and BlendBarrier definitions into ES3.2 category.

2016-10-20 Thread Dylan Baker
- > - > - > - > - > - > - > - > - > - > > > > -- > 2.9.0 > I didn't look too closely, but your theory on why this fixes the scons build makes sense to

Re: [Mesa-dev] [PATCH] genxml: Handle failure of Python codegen scripts.

2016-10-26 Thread Dylan Baker
Quoting Matt Turner (2016-10-26 14:06:02) > On Wed, Oct 26, 2016 at 2:00 PM, Jason Ekstrand wrote: > > On Oct 26, 2016 12:51 PM, "Matt Turner" wrote: > >> > >> --- > >> src/intel/Makefile.genxml.am | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/src/intel/Makefi

Re: [Mesa-dev] [PATCH] glsl: don't flatten if-blocks with dynamic array indices

2016-11-17 Thread Dylan Baker
Are you sure this is correct? Marek mentions in the referenced commit message that these pass on softpipe, and they work on i965 and i915 just fine. Dylan Quoting Nicolai Hähnle (2016-11-17 13:59:26) > From: Nicolai Hähnle > > This fixes the regression of radeonsi in > glsl-1.10/execution/varia

Re: [Mesa-dev] Documenting with Sphinx

2016-12-13 Thread Dylan Baker
Quoting Jason Ekstrand (2016-12-13 12:46:17) > Hey All, > I don't figure this will be terribly controversial (I'm about to be wrong, > aren't I?) but how do people feel about switching our "primary" documentation > focus, as far as we have one, to sphinx?  Right now, Gallium uses sphinx for > docum

Re: [Mesa-dev] [PATCH 02/11] glsl: Replace big pile of hand-written code with a generator

2016-07-07 Thread Dylan Baker
Quoting Ian Romanick (2016-07-05 17:46:10) > From: Ian Romanick > > Right now the generator generates nearly identical code. There is no > change in the binary size. > >textdata bss dec hex filename > 7529283 273096 28584 7830963 777db3 /tmp/i965_dri-64bit-before.so > 75

Re: [Mesa-dev] [PATCH 05/11] glsl: Replace the linear search in get_intrinsic_opcode with a radix trie

2016-07-07 Thread Dylan Baker
Quoting Ian Romanick (2016-07-05 17:46:13) > From: Ian Romanick > > If there is a way to do this cleanly in mako, I'm very interested to > hear about it. > >textdata bss dec hex filename > 7529003 273096 28584 7830683 777c9b /tmp/i965_dri-64bit-before.so > 7528883 273096

Re: [Mesa-dev] mesa from git fails to compile

2016-07-15 Thread Dylan Baker
efore running > > into this issue? If it helps, this prints the version: > > python <<< 'import mako; print(mako.__version__)' > > -- > Pali Rohár > pali.ro...@gmail.com > ___ > mesa-dev mailing

Re: [Mesa-dev] [PATCH 48/56] glsl: Generate code for constant ir_triop_csel expressions

2016-07-22 Thread Dylan Baker
Quoting Ian Romanick (2016-07-19 12:25:07) > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/compiler/glsl/ir_expression_operation.py | 24 +++- > 1 file changed, 23 insertions(+), 1 deletion(-) > > diff --git a/src/compiler/glsl/ir_expression_operation.py >

Re: [Mesa-dev] [PATCH 38/56] glsl: Generate code for constant ir_binop_ldexp expressions

2016-07-22 Thread Dylan Baker
Quoting Ian Romanick (2016-07-19 12:24:57) > From: Ian Romanick > > ldexp is weird because its two operands have different types. Add > support for directly specifying the exact signatures of all the possible > variations of an operation. > > Signed-off-by: Ian Romanick > --- > src/compiler/g

Re: [Mesa-dev] [PATCH 00/56] Die copy-and-paste code, die

2016-07-22 Thread Dylan Baker
I didn't read over the code super closely, but all of the python looked good and obvious minus a few nits (and they were all just nits). For the python bits: Acked-by: Dylan Baker signature.asc Description: signature ___ mesa-dev mailing list

[Mesa-dev] [PATCH] gbm: Replace GBM_DRIVERS_PATH with LIBGL_DRIVERS_PATH

2014-07-18 Thread Dylan Baker
set. Signed-off-by: Dylan Baker --- src/gbm/backends/dri/gbm_dri.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 347bc99..9d9d1c4 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri

Re: [Mesa-dev] [PATCH 26/26] glsl: Add Bloom filter to get_static_name

2014-07-21 Thread Dylan Baker
On Monday, July 14, 2014 03:48:58 PM Ian Romanick wrote: > From: Ian Romanick > > The use of the Bloom filter rejects the vast majority of strings that > are not in the table before expensive comparisons are performed. This > Bloom filter uses two hashes. One is explicit (calculate_hash in the

Re: [Mesa-dev] [PATCH 25/26] glsl: Keep common variable names in static storage

2014-07-21 Thread Dylan Baker
On Monday, July 14, 2014 03:48:57 PM Ian Romanick wrote: > From: Ian Romanick > > Valgrind massif results for a trimmed apitrace of dota2: > > ntime(i) total(B) useful-heap(B) > extra-heap(B)stacks(B) Before (32-bit): 52 40,521,071,734 > 66,157,928

Re: [Mesa-dev] [PATCH] gbm: Replace GBM_DRIVERS_PATH with LIBGL_DRIVERS_PATH

2014-07-21 Thread Dylan Baker
On Friday, July 18, 2014 07:41:57 AM Dylan Baker wrote: > Currently mesa searches for two different environment variables, > LIBGL_DRIVERS_PATH and GBM_DRIVERS_PATH. The first is used for search > for DRI drivers in every case except GBM, and the latter is used > exclusively for

[Mesa-dev] [PATCH v2] gbm: Replace GBM_DRIVERS_PATH with LIBGL_DRIVERS_PATH

2014-07-22 Thread Dylan Baker
uses GBM_DRIVERS_PATH as a fallback if LIBGL_DRIVERS_PATH is NULL. v2: - Use GBM_DRIVERS_PATH as a fallback Signed-off-by: Dylan Baker --- src/gbm/backends/dri/gbm_dri.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backend

Re: [Mesa-dev] [PATCH v2] gbm: Replace GBM_DRIVERS_PATH with LIBGL_DRIVERS_PATH

2014-07-24 Thread Dylan Baker
On Thursday, July 24, 2014 09:32:38 PM Emil Velikov wrote: > On 22/07/14 19:43, Dylan Baker wrote: > > GBM_DRIVERS_PATH is not documented, and only used to set the location of > > gbm drivers, while LIBGL_DRIVERS_PATH is used for everything else, and > > is documented. > &g

Re: [Mesa-dev] [PATCH] cl: Add support for OpenCV unit tests v2

2014-01-19 Thread Dylan Baker
_output([opencv_test_ocl, > '--gtest_list_tests']) +test_list = tests.splitlines() > +group_name = '' > +full_test_name = '' > +for line in test_list: > +#Test groups names start at the beginning of the l

Re: [Mesa-dev] Preparing for 10.1.1

2014-04-11 Thread Dylan Baker
On Friday, April 11, 2014 09:33:44 AM Carl Worth wrote: > I'm (finally) getting around to putting together a new stable release. I > apologize it's so late. > > I've just pushed about 66 patches to the 10.1 branch. This includes > almost everything currently on master that was nominated for the st

Re: [Mesa-dev] [PATCH 1/4] i965: Print number of multisamples in INTEL_DEBUG=blorp output.

2014-03-21 Thread Dylan Baker
On Friday, March 21, 2014 04:47:29 Kenneth Graunke wrote: > This lets us distinguish MSAA resolves from other ordinary blits. > > Signed-off-by: Kenneth Graunke > Cc: Dylan Baker > Cc: Keith Packard > Cc: Eric Anholt > --- > src/mesa/drivers/dri/i965/brw_blorp_blit.cp

Re: [Mesa-dev] [PATCH 111/133] nir: Add infastructure for generating algebraic transformation passes

2015-01-06 Thread Dylan Baker
I have a couple of comments, but they're just suggestions. On Monday, December 15, 2014 10:12:54 PM Jason Ekstrand wrote: > This commit builds on the nir_search.h infastructure by adds a bit of > python code that makes it stupid easy to write an algebraic transformation > pass. The nir_algebraic.p

Re: [Mesa-dev] [PATCH 111/133] nir: Add infastructure for generating algebraic transformation passes

2015-01-06 Thread Dylan Baker
On Tuesday, January 06, 2015 04:49:04 PM Jason Ekstrand wrote: > On Tue, Jan 6, 2015 at 4:35 PM, Dylan Baker wrote: > > > I have a couple of comments, but they're just suggestions. > > On Monday, December 15, 2014 10:12:54 PM Jason Ekstrand wrote: > > > This c

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Dylan Baker
Hi Conner, I have a couple of things you should change, and a suggestion for you below, hopefully it all makes sense. On Friday, January 16, 2015 04:46:07 PM Connor Abbott wrote: > Before, we used a system where a file, nir_opcodes.h, defined some macros that > were included to generate the enum v

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Dylan Baker
On Friday, January 16, 2015 10:18:43 PM Connor Abbott wrote: > Hi Dylan, > > On Fri, Jan 16, 2015 at 7:01 PM, Dylan Baker wrote: > > Hi Conner, I have a couple of things you should change, and a suggestion > > for you below, hopefully it all makes sense. > > > >

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-17 Thread Dylan Baker
On Saturday, January 17, 2015 01:09:45 PM Connor Abbott wrote: > On Sat, Jan 17, 2015 at 11:42 AM, ahmad wrote: > > hi. > > > > "#! /usr/bin/env python" corresponds python 3.x series for some major > > distro (arch,fedora ...) and python 2.x for some others. > > > > python 2.x and python 3.x are

Re: [Mesa-dev] Thoughts after hitting 100 merge requests?

2019-01-14 Thread Dylan Baker
Quoting Axel Davy (2019-01-12 09:40:40) > Hi, > > I'm not sure the promise "1 mail per pull request" is working well. > For example, taking one recent pull request > https://gitlab.freedesktop.org/mesa/mesa/merge_requests/105 > > I didn't receive anything, nor > https://lists.freedesktop.org/arch

[Mesa-dev] [MR] Fix SWR compilation issues with meson

2019-01-14 Thread Dylan Baker
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/113 signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] Meson configuration for bare-bones osmesa

2019-01-15 Thread Dylan Baker
Quoting Chuck Atkins (2019-01-15 11:17:43) > I'm jumping into Meson land now and I'm trying to configure the most recent > release, 18.3.1, to build a minimal OSMesa containing only softpipe.  So I'm > trying to make sure everything is explicitly disabled and only turning on the > few pieces I need

Re: [Mesa-dev] Meson configuration for bare-bones osmesa

2019-01-15 Thread Dylan Baker
Quoting Chuck Atkins (2019-01-15 11:17:43) > I'm jumping into Meson land now and I'm trying to configure the most recent > release, 18.3.1, to build a minimal OSMesa containing only softpipe.  So I'm > trying to make sure everything is explicitly disabled and only turning on the > few pieces I need

Re: [Mesa-dev] Meson configuration for bare-bones osmesa

2019-01-15 Thread Dylan Baker
Quoting Chuck Atkins (2019-01-15 11:17:43) > I'm jumping into Meson land now and I'm trying to configure the most recent > release, 18.3.1, to build a minimal OSMesa containing only softpipe.  So I'm > trying to make sure everything is explicitly disabled and only turning on the > few pieces I need

[Mesa-dev] [MR] meson: allow dri based drivers with classic osmesa without glx or egl

2019-01-15 Thread Dylan Baker
Currently something like: meson -Dgallium-drivers= -Dvulkan-drivers= -Ddri-drivers=swrast -Dosmesa=classic -Degl=false -Dglx=disabled will error, which is wrong. https://gitlab.freedesktop.org/mesa/mesa/merge_requests/115 Dylan signature.asc Description: signature __

Re: [Mesa-dev] Thoughts after hitting 100 merge requests?

2019-01-15 Thread Dylan Baker
Quoting Jason Ekstrand (2019-01-15 11:57:01) > On Tue, Jan 15, 2019 at 12:52 PM Eric Anholt wrote: > > Daniel Stone writes: > > > Hi, > > > > On Tue, 15 Jan 2019 at 12:21, Rob Clark wrote: > >> On Tue, Jan 15, 2019 at 1:02 AM Tapani Pälli > wrote: > >> > On 1/14/19

Re: [Mesa-dev] [PATCH v11 12/20] configure.ac, meson: Check for SPIRV-Tools and llvm-spirv

2019-01-16 Thread Dylan Baker
Quoting Pierre Moreau (2019-01-16 12:30:37) > Changes since: > * v10: > - Add a new flag (`--enable-opencl-spirv` for autotools, and > `-Dopencl-spirv=true` for meson) for enabling SPIR-V support in > clover, and never automagically enable it without that flag. (Dylan Ba

Re: [Mesa-dev] [PATCH] meson: add toggle for TLS support in GLX

2019-01-28 Thread Dylan Baker
Quoting Adam Jackson (2019-01-28 09:00:13) > On Sat, 2019-01-26 at 13:56 +0100, Patrick Steinhardt wrote: > > > Unfortunately, I'm not aware of any easy way to do this. The > > problem is not due to the compiler, as the program compiles and > > links just fine with musl libc. Instead, this is a ru

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc1

2019-01-30 Thread Dylan Baker
Hello list, This email announces the mesa 19.0 release candidate 1. I'll keep this email fairly brief since I'm already running a little late on getting this done :) I've just had to resolve quite a few autotools issues to get the dist built. Notable in the 19.0-rc1 branch is SWR is set to requir

Re: [Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc1

2019-02-02 Thread Dylan Baker
Quoting Mark Janes (2019-02-01 17:20:33) > Eero Tamminen writes: > > > Hi, > > > > On 31.1.2019 1.37, Dylan Baker wrote: > >> This email announces the mesa 19.0 release candidate 1. I'll keep this > >> email > >> fairly brief sinc

Re: [Mesa-dev] [PATCH] anv: wire up the state_pool_padding test

2019-02-05 Thread Dylan Baker
Quoting Emil Velikov (2019-02-05 04:09:45) > From: Emil Velikov > > Cc: Rafael Antognolli > Cc: Jason Ekstrand > Cc: Dylan Baker > Fixes: 927ba12b53c ("anv/tests: Adding test for the state_pool padding.") > Signed-off-by: Emil Velikov > --- > src/intel/M

Re: [Mesa-dev] [PATCH] anv: wire up the state_pool_padding test

2019-02-05 Thread Dylan Baker
Quoting Emil Velikov (2019-02-05 04:09:45) > From: Emil Velikov > > Cc: Rafael Antognolli > Cc: Jason Ekstrand > Cc: Dylan Baker > Fixes: 927ba12b53c ("anv/tests: Adding test for the state_pool padding.") > Signed-off-by: Emil Velikov > --- > src/intel/M

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc2

2019-02-05 Thread Dylan Baker
Hi list, This is the announcement for mesa 19.0.0-rc2. It's been a pretty slow first week for 19.0, most of the fixes here are for the tarball itself. There's also a few fixes for vc4, anv, intel shared code, radv, radeonsi, core mesa, v3d, st/mesa, and the dri3 loader. As always, please test an

Re: [Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc1

2019-02-06 Thread Dylan Baker
Quoting Eero Tamminen (2019-02-04 04:41:12) > Hi, > > On 2.2.2019 3.20, Mark Janes wrote: > > Eero Tamminen writes: > >> On 31.1.2019 1.37, Dylan Baker wrote: > >>> This email announces the mesa 19.0 release candidate 1. I'll keep this > >>>

Re: [Mesa-dev] last call for autotools

2019-02-06 Thread Dylan Baker
, Dec 23, 2018 at 9:32 PM Ilia Mirkin > <mailto:imir...@alum.mit.edu>> wrote: > > > > On Wed, Dec 19, 2018 at 1:30 PM Dylan Baker > <mailto:dy...@pnwbakers.com>> wrote: > > > > > > Quoting Nicolai Hähnle (2018-12-18 09:37:43

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc3

2019-02-12 Thread Dylan Baker
Hi List, Mesa 19.0-rc3 is now available. Due to a bug I discovered in the script that scrapes for stable nominations (after uploading the tarball) there is basically nothing in the -rc3 release. As a result I'm planning to make a -rc4 tomorrow. You can see the staging/19.0 branch to see the addit

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc4

2019-02-13 Thread Dylan Baker
Hi List, I've gone ahead and made a -rc4 today as I tsaid I would yesterday. This includes all of the patches from rc3, plus a whole set of changes that should have been in both -rc2 and -rc3. Among the changes pulled in since rc3: - one fix for meson - a plethora of nouveau fixes - fixes for ra

Re: [Mesa-dev] [PATCH] meson: egl: correctly manage loader/xmlconfig

2019-02-14 Thread Dylan Baker
a96bf0ecd0 731508b988 cec6cb01e216. > > One piece remained though - the wayland platform. Hence the following > would fail: > > meson -Dgallium-drivers=etnaviv -Ddri-drivers=''\ >-Dtools=etnaviv -Dplatforms=wayland -Dglx=disabled \ > build/ > >

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc5

2019-02-19 Thread Dylan Baker
Hi List, Hot off the press is mesa 19.0-rc5. Due to a number of still opened bugs in the release tracker this will not be the final release, and I predict at least one more release candidate before the final release happens. Just an FYI, I will not be working Thursday or Friday this week, so if I

Re: [Mesa-dev] [PATCH 2/2] Revert "meson: drop GLESv1 .so version back to 1.0.0"

2019-02-25 Thread Dylan Baker
esa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev For this patch: Reviewed-by: Dylan Baker signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [Mesa-stable] [PATCH v4] i965: fixed clamping in set_scissor_bits when the y is flipped

2019-02-25 Thread Dylan Baker
Quoting Eleni Maria Stea (2019-02-22 13:02:30) > Calculating the scissor rectangle fields with the y flipped (0 on top) > can generate negative values that will cause assertion failure later on > as the scissor fields are all unsigned. We must clamp the bbox values > again to make sure they don't e

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc6

2019-02-26 Thread Dylan Baker
Hi List, Sorry for the short summary, it took me longer to get the release ready than normal and I'm running a bit short on time. Mesa 19.0.0-rc6 is now available for your general consumption. Lots and lots in this release candidate, mostly Intel, AMD, and NIR changes, but with a few other things

Re: [Mesa-dev] [Piglit] Piglit gitlab merge requests enabled - Re: GitLab migration of Piglit

2019-03-01 Thread Dylan Baker
Quoting Jordan Justen (2019-03-01 12:16:57) > On 2019-02-20 07:36:48, Den wrote: > > > Given the discussion below, I think we'll make piglit a sub-project of > > > mesa.  Those who need commit access to piglit but not mesa can be > > > added directly to the piglit project. > > > > Hi list. > >

Re: [Mesa-dev] Should piglit drop bugzilla and move to using gitlab issues?

2019-03-01 Thread Dylan Baker
Quoting Jordan Justen (2019-03-01 12:22:18) > I guess piglit makes very light usage of bugzilla. Would it be simpler > to just use gitlab issues in the piglit gitlab project? > > -Jordan I think we should, anecdotally it seems like there are more spam bugs against piglit than real bugs anyway. An

Re: [Mesa-dev] [PATCH] android, autotools: st/mesa: fix location of float64_glsl.h

2019-03-04 Thread Dylan Baker
Quoting Mauro Rossi (2019-03-04 01:21:05) > Hi Tapani, > On Mon, Mar 4, 2019 at 6:51 AM Tapani Pälli wrote: > > > > Hi; > > > > On 3/3/19 10:10 PM, Mauro Rossi wrote: > > > Necessary to avoid building error in Android, > > > due to 'compiler/glsl/float64_glsl.h' file not found > > > > > > Fixes: c

Re: [Mesa-dev] [Mesa-stable] [PATCH] st/nine: Immediately upload user provided textures

2019-03-06 Thread Dylan Baker
Quoting Axel Davy (2019-01-22 12:08:05) > Fixes regression caused by > 42d672fa6a766363e5703f119607f7c7975918aa > st/nine: Bind src not dst in nine_context_box_upload > > Before that patch, for user provided textures, > when the texture was destroyed, the safety > check for pending uploads, which

[Mesa-dev] [ANNOUNCE] mesa 19.0.0-rc7

2019-03-06 Thread Dylan Baker
: st/nine: Ignore window size if error st/nine: Ignore multisample quality level if no ms Bas Nieuwenhuizen (1): radv: Interpolate less aggressively. Brian Paul (1): mesa: fix display list corner case assertion Dylan Baker (1): VERSION: bump version for rc7 Eric En

Re: [Mesa-dev] [Mesa-stable] [PATCH] st/nine: Immediately upload user provided textures

2019-03-06 Thread Dylan Baker
Quoting Axel Davy (2019-03-06 11:27:09) > On 06/03/2019 20:13, Dylan Baker wrote: > > Quoting Axel Davy (2019-01-22 12:08:05) > >> Fixes regression caused by > >> 42d672fa6a766363e5703f119607f7c7975918aa > >> st/nine: Bind src not dst in nine_context_box_upl

[Mesa-dev] [ANNOUNCE] mesa 19.0.0

2019-03-13 Thread Dylan Baker
before the 19.1 release. Dylan shortlog: Brian Paul (1): svga: remove SVGA_RELOC_READ flag in SVGA3D_BindGBSurface() Danylo Piliaiev (1): anv: Fix destroying descriptor sets when pool gets reset Dylan Baker (4): cherry-ignore: Update the cherry-ignore file VERSION:

Re: [Mesa-dev] [PATCH] vulkan/util: meson build - add wayland client include

2019-03-18 Thread Dylan Baker
Quoting Eric Engestrom (2019-03-17 11:33:23) > On Saturday, 2019-03-16 20:32:46 +, Lionel Landwerlin wrote: > > There is merge request opened about this issue : > > https://gitlab.freedesktop.org/mesa/mesa/merge_requests/429 > > > > I think the deps need to be moved from src/vulkan/wsi/meson.b

Re: [Mesa-dev] [PATCH v2 i-g-t] igt/list-workarounds: Extend the script to Mesa

2016-02-05 Thread Dylan Baker
Quoting Damien Lespiau (2016-02-05 15:46:51) > On Fri, Feb 05, 2016 at 01:55:19PM -0800, Sameer Kibey wrote: > > Updated the list-workarounds script so that it > > can parse Mesa directory if provided. Moved the > > common code to a separate function to allow > > reuse for both kernel and mesa. > >

Re: [Mesa-dev] [PATCH 4/5] nir: Handle large unsigned values in opt_algebraic.

2016-02-08 Thread Dylan Baker
This seems perfectly fine to me. For what it's worth: Reviewed-by: Dylan Baker Quoting Matt Turner (2016-02-04 17:48:00) > The next patch adds an algebraic rule that uses the constant 0xff00ff00. > > Without this change, the build fails with > >return hex(struct.unpack

Re: [Mesa-dev] [PATCH 5/5] nir: Recognize open-coded bitfield_reverse.

2016-02-08 Thread Dylan Baker
Quoting Jason Ekstrand (2016-02-08 12:04:15) [snip] > >I trust Dylan on patch 4.  I was just trying to ensure that we got/used a >32-bit value. >--Jason >  I mentioned to you offline, but I think it might be worth converting at least the opt algebraic passes to use numpy, since

[Mesa-dev] [PATCH 00/41] glapi python cleanups

2016-03-31 Thread Dylan Baker
org/~dbaker/mesa wip/glapi-cleanup I do not have mesa push access. Dylan Baker (41): glapi: clean imports in python files glapi: encode python files in utf-8 rather than ascii glapi: Update copyright in python files to cover more than IBM glapi: remove unnecessary semi-colons in python

[Mesa-dev] [PATCH 01/41] glapi: clean imports in python files

2016-03-31 Thread Dylan Baker
Completely clean the imports: - Split so that one module is imported per line - Remove unused imports - Group stdlib imports, then 3rd party modules, and finally local modules - sort alphabetically within those groups Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_XML.py | 1

[Mesa-dev] [PATCH 04/41] glapi: remove unnecessary semi-colons in python

2016-03-31 Thread Dylan Baker
They don't do anything, they're not required, and they look weird. The only use for semi-colons in python is to put two statements in a single line, which is quite frowned upon by the python community. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_proto_size

[Mesa-dev] [PATCH 16/41] glapi: Use booleans in python code.

2016-03-31 Thread Dylan Baker
All versions of python that are even worth considering for support (2.6+) have booleans (actually, so do a lot of versions not worth supporting), so don't use 1 and 0 for emulating them, which also helps to clarify the code, since returning an actual value of 1 or 0 happens). Signed-off-by:

[Mesa-dev] [PATCH 26/41] glapi: gl_XML.py: avoid unnecessary method call

2016-03-31 Thread Dylan Baker
Don't call and store a value that might not be used unless it's know it's needed. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index 3

[Mesa-dev] [PATCH 02/41] glapi: encode python files in utf-8 rather than ascii

2016-03-31 Thread Dylan Baker
ating system that doesn't have UTF-8 support) then that would fail. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/apiexec.py | 3 ++- src/mapi/glapi/gen/glX_XML.py | 3 ++- src/mapi/glapi/gen/glX_proto_common.py | 3 ++- src/mapi/glapi/gen/glX_proto_recv.py | 3 ++- src/

[Mesa-dev] [PATCH 07/41] glapi: remove useless returns from python code

2016-03-31 Thread Dylan Baker
the code to only use returns when they return a real value, or are used for early returns. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_XML.py | 7 --- src/mapi/glapi/gen/glX_proto_recv.py | 13 - src/mapi/glapi/gen/glX_proto_send.py | 19 ---

[Mesa-dev] [PATCH 20/41] glapi: gl_XML.py: make gl_api.categoryIterate a generator

2016-03-31 Thread Dylan Baker
-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index 9298995..b7178d6 100644 --- a/src/mapi/glapi/gen/gl_XML.py +++ b/src/mapi/glapi/gen/gl_XML.py

[Mesa-dev] [PATCH 13/41] glapi: replace deprecated has_key method in python

2016-03-31 Thread Dylan Baker
This method (and it's sibling has_* methods) are deprecated in favor of the 'item in container' syntax. There are countless advantages to this for python, but for us this is necessary to get python 3 support. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_XML.py

[Mesa-dev] [PATCH 09/41] glapi: fix singleton comparisons to use 'is' in python

2016-03-31 Thread Dylan Baker
, True, and False) should always by done with 'is', basically everything else should always be done with '=='. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_XML.py | 2 +- src/mapi/glapi/gen/glX_proto_send.py | 8 src/mapi/glapi/gen/glX_proto_size

[Mesa-dev] [PATCH 14/41] glapi: use xrange instead of range in python

2016-03-31 Thread Dylan Baker
In python 2 range returns a new list, which is okay for very small values, but can get quite expensive for larger lists. xrange on the other hand is an iterator, which requires less memory and processing power. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_proto_size.py | 2 +- src

[Mesa-dev] [PATCH 15/41] glapi: remove useless 0 start parameter for (x)range

2016-03-31 Thread Dylan Baker
Python's range and xrange functions start at 0 by default anyway, so don't bother setting it explicitly to 0. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_proto_size.py | 2 +- src/mapi/glapi/gen/glX_server_table.py | 4 ++-- src/mapi/glapi/gen/gl_XML.py

[Mesa-dev] [PATCH 21/41] glapi: gl_XML.py: simplify gl_api.functionIterateByOffset

2016-03-31 Thread Dylan Baker
Use the max function and a generator expression instead of a loop and if. This is certainly no less efficient, and saves several lines of code. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 17/41] glapi: replace RuntimeError with asserts or Exception

2016-03-31 Thread Dylan Baker
RuntimeError is a very specific type of error. In almost very case it's being raised where an assert is the right choice, and in the rest using a plain Exception is better, at least there it's obvious it's not that the python runtime hit an internal error and died. Signed-off-

[Mesa-dev] [PATCH 12/41] glapi: have only one statement per line in python files.

2016-03-31 Thread Dylan Baker
One line if statements (if foo: break) are pretty uncommon, and are not nearly as readable as their counterparts in other languages. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_XML.py| 3 ++- src/mapi/glapi/gen/glX_proto_send.py | 9 ++--- src/mapi/glapi/gen

[Mesa-dev] [PATCH 19/41] glapi: gl_XML.py: remove gl_api.enumIterateByName

2016-03-31 Thread Dylan Baker
Originally I planned to make it more efficient, but then realized that it wasn't actually used anywhere, so lets just delete it. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src

[Mesa-dev] [PATCH 03/41] glapi: Update copyright in python files to cover more than IBM

2016-03-31 Thread Dylan Baker
It's a bit odd to call IBM out in particular, especially since Brian Paul is listed as a copyright holder on chronologically before IBM. Either way this should probably have the standard "authors and/or copyright holders", in keeping with the standard MIT license.k Signed-off-

[Mesa-dev] [PATCH 18/41] glapi: gl_XML.py: use python's iter() function rather than calling __iter__

2016-03-31 Thread Dylan Baker
s directly, but usually that's in cases where an implementation needs to call it's parent's method. Instead it's best to use the function or operator that the magic method implements. This makes the code cleaner, more idiomatic, and just a bit nicer to read. Signed-off-by: Dylan

[Mesa-dev] [PATCH 06/41] glapi: normalize python newlines

2016-03-31 Thread Dylan Baker
level functions and classes, 1 between methods and nested functions), This doesn't result in huge changes in any one file, but when considering all of the python files it's quite a few changes. This is only whitespace changes. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/

[Mesa-dev] [PATCH 24/41] glapi: gl_XML.py: rework gl_api.functionIterateByOffset

2016-03-31 Thread Dylan Baker
an iterator over that list, instead using an efficient generator to yield each item one at a time. The resulting function is less code, commented, and should be a little more efficient. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 20 ++-- 1 file changed, 6

[Mesa-dev] [PATCH 23/41] glapi: gl_XML.py: use collections to simplify functionsIterateByCategory

2016-03-31 Thread Dylan Baker
This uses the collections.defaultdict to remove the need to check and add an empty dict, since defaultdict will call the default factory for us whenever a KeyError would be raised (by a missing key value). Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 11 --- 1 file

[Mesa-dev] [PATCH 25/41] glapi: gl_XML.py: simplify is_attr_true

2016-03-31 Thread Dylan Baker
Use a boolean instead of 0 or 1, and use an assert rather than a runtime error. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index 334fd6e

[Mesa-dev] [PATCH 11/41] glapi: remove superflous parens in python

2016-03-31 Thread Dylan Baker
assert keyword. assert is a keyword in python, it doesn't take parens, and accidentally (or purposefully to group) will make the assert not behave in the expected way. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 2 +- src/mapi/glapi/gen/gl_apitemp.py | 2 +- src/mapi/glap

[Mesa-dev] [PATCH 30/41] glapi: gl_XML.py: return a tuple from gl_parameter.get_dimensions

2016-03-31 Thread Dylan Baker
rather than a list. In python tuples are mainly for heterogenous collections, especially when position has relevance. Which makes them the right type for the job. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[Mesa-dev] [PATCH 05/41] glapi: use python's textwrap.dedent to make code readable

2016-03-31 Thread Dylan Baker
This allows large blocks of C code that is going to be printed to be nested nicely in the python functions that print them, but still be printed at the same level they were previously. This helps to make the code visually more readable, and fixes syntax folding in vim. Signed-off-by: Dylan Baker

[Mesa-dev] [PATCH 27/41] glapi: gl_XML.py: store compiled re as a module variable

2016-03-31 Thread Dylan Baker
This avoids recompiles of the re each time the function is called. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index a860b0d..73baef6 100644 --- a

[Mesa-dev] [PATCH 22/41] glapi: gl_XML.py: convert gl_api.functionIterateByOffset to a generator

2016-03-31 Thread Dylan Baker
. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index f96e44a..221bd18 100644 --- a/src/mapi/glapi/gen/gl_XML.py +++ b/src/mapi/glapi/gen/gl_XML.py

[Mesa-dev] [PATCH 32/41] glapi: glX_proto_common.py: remove commented out code.

2016-03-31 Thread Dylan Baker
This can easily be restored with a revert if it's ever actually needed. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_proto_common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mapi/glapi/gen/glX_proto_common.py b/src/mapi/glapi/gen/glX_proto_common.py index d1

[Mesa-dev] [PATCH 10/41] glapi: Don't use string module in python modules

2016-03-31 Thread Dylan Baker
7;t very common. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/glX_proto_common.py | 4 +--- src/mapi/glapi/gen/glX_proto_recv.py | 3 +-- src/mapi/glapi/gen/glX_proto_send.py | 15 +++ src/mapi/glapi/gen/glX_proto_size.py | 3 +-- src/mapi/glapi/gen/gl_XML.py |

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