[Mesa-dev] [PATCH] all.tests: add ignore for missing configuration files.

2012-01-08 Thread Dylan Baker
if you don't have an /etc/drirc or ~/.drirc then all of the tests will give a status of 'warn', this addes that warning to the ignored list. --- tests/all.tests |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/all.tests b/tests/all.tests index b713de0..f8d942b 100644

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

2014-01-19 Thread Dylan Baker
)) The only other thing is that this file should probably be in framework, not tests. the only python that should be in tests are profiles, this is more test classes. with those changes you have my r-b: Reviewed-by: Dylan Baker baker.dyla...@gmail.com signature.asc Description: This is a digitally

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 kenn...@whitecape.org Cc: Dylan Baker baker.dyla...@gmail.com Cc: Keith Packard kei...@keithp.com Cc: Eric Anholt e...@anholt.net

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 stable

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

2014-07-18 Thread Dylan Baker
to set. Signed-off-by: Dylan Baker baker.dyla...@gmail.com --- 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

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 ian.d.roman...@intel.com 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

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 ian.d.roman...@intel.com 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

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 setting GBM drivers

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

2014-07-22 Thread Dylan Baker
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 baker.dyla...@gmail.com --- 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

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. Generally this split leads

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 the

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 petri.latv...@intel.com ---

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 petri.latv...@intel.com ---

Re: [Mesa-dev] [PATCH] glx/dri3: Use four buffers until X driver supports async flips

2014-09-29 Thread Dylan Baker
Tested-by: Dylan Baker baker.dyla...@gmail.com On Wednesday, July 02, 2014 02:28:07 PM Keith Packard wrote: A driver which doesn't have async flip support will queue up flips without any way to replace them afterwards. This means we've got a scanout buffer pinned as soon as we schedule a flip

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 luig...@yandex.com 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

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

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 baker.dyla...@gmail.com wrote: 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

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.py

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 baker.dyla...@gmail.com 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 commit builds

Re: [Mesa-dev] [PATCH 5/7] nir/algebraic: Support specifying variable as constant or by type

2015-01-29 Thread Dylan Baker
On Thursday, January 29, 2015 17:00:08 Kenneth Graunke wrote: On Thursday, January 29, 2015 12:50:20 PM Jason Ekstrand wrote: --- src/glsl/nir/nir_algebraic.py | 20 +--- src/glsl/nir/nir_opt_algebraic.py | 12 +--- 2 files changed, 26 insertions(+), 6

Re: [Mesa-dev] [PATCH 11/13] nir/nir: Use a linked list instead of a has set for use/def sets

2015-05-01 Thread Dylan Baker
You have a typo in the subject line: s/has/hash signature.asc Description: Digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 05/20] mesa: Use bool in _mesa_is_ helpers instead of GLboolean

2015-04-29 Thread Dylan Baker
For what it's worth, patches 1-5 are: Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Wed, Apr 29, 2015 at 04:25:56PM -0700, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com Signed-off-by: Ian Romanick ian.d.roman...@intel.com --- src/mesa/main/context.h | 8 1

Re: [Mesa-dev] [PATCH 03/20] glapi: Store static dispatch offsets in a separate table

2015-05-15 Thread Dylan Baker
and use json.load instead of storing it as python? It is just data with no function calls or definitions. It doesn't matter too much to me either way though. fwiw, Reviewed-by: Dylan Baker baker.dyla...@gmail.com +offsets = { +NewList: 0, +EndList: 1, [snip] signature.asc Description

Re: [Mesa-dev] [PATCH 14/20] glapi: Use the offsets from static_data.py instead of from the XML

2015-05-15 Thread Dylan Baker
Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Wed, May 13, 2015 at 12:44:42PM -0700, Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com Signed-off-by: Ian Romanick ian.d.roman...@intel.com Cc: Dylan Baker baker.dyla...@gmail.com --- src/mapi/glapi/gen/gl_XML.py | 22

Re: [Mesa-dev] [PATCH 06/20] glapi: Whitespace clean up after the previous commit

2015-05-15 Thread Dylan Baker
With an opinion on using json rather than python for this data: Patches 3-6: Reviewed-by: Dylan Baker baker.dyla...@gmail.com signature.asc Description: Digital signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http

[Mesa-dev] [PATCH 22/27] glapi: gl_genexec.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_genexec.py | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index 4e76fe3..dbaafa7 100644 --- a/src

[Mesa-dev] [PATCH 18/27] glapi: gl_SPARC_asm.py: use main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_SPARC_asm.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_SPARC_asm.py b/src/mapi/glapi/gen/gl_SPARC_asm.py index df7a039..fa6217e 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 27/27] glapi: glX_proto_size.py: use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_proto_size.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/glX_proto_size.py b/src/mapi/glapi/gen/glX_proto_size.py index 59f65d4..75fc26f 100644 --- a/src/mapi/glapi

[Mesa-dev] [PATCH 26/27] glapi: glX_proto_size.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
This is roughly equivalent to the original getopt, except that it removes the '-h' short option, which argparse reserves for auto-generated help messages. It does retain the long option specified by the getopt version, and changes the makefile to use that. Signed-off-by: Dylan Baker dylanx.c.ba

[Mesa-dev] [PATCH 13/27] glapi: gl_x86_asm.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_x86_asm.py | 39 ++- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/src/mapi/glapi/gen/gl_x86_asm.py b/src/mapi/glapi/gen/gl_x86_asm.py index f855dba..86d45f2 100644

[Mesa-dev] [PATCH 24/27] glapi: glX_proto_recv.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_proto_recv.py | 55 1 file changed, 30 insertions(+), 25 deletions(-) diff --git a/src/mapi/glapi/gen/glX_proto_recv.py b/src/mapi/glapi/gen/glX_proto_recv.py index d076409

[Mesa-dev] [PATCH 16/27] glapi: gl_x86-64_asm.py: Use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_x86-64_asm.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py index 0188964..cf42371 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 25/27] glapi: glX_proto_recv.py: Use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_proto_recv.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/glX_proto_recv.py b/src/mapi/glapi/gen/glX_proto_recv.py index dbc26a8..da468dc 100644 --- a/src/mapi/glapi

[Mesa-dev] [PATCH 23/27] glapy: gl_genexec.py: use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_genexec.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index dbaafa7..0d58a8a 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 21/27] glapi: glX_proto_send.py: use a main function.

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_proto_send.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index ea766af..2b33030 100644 --- a/src/mapi/glapi

[Mesa-dev] [PATCH 20/27] glapi: glX_proto_send.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_proto_send.py | 59 +--- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index b93989f

[Mesa-dev] [PATCH 19/27] glapi: glX_server_table.py: use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/glX_server_table.py | 38 ++ 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/src/mapi/glapi/gen/glX_server_table.py b/src/mapi/glapi/gen/glX_server_table.py index 47aa111

[Mesa-dev] [PATCH 15/27] glapi: gl_x86_64_asm.py: Use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Also removes the redundant -m argument, which could only be set to 'generic', or it would raise an exception. This option wasn't used in the make file. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_x86-64_asm.py | 40 +++-- 1 file

[Mesa-dev] [PATCH 17/27] glapi: gl_SPARC_asm.py use argparse instead of getopt

2015-05-20 Thread Dylan Baker
Also drop -m switch, which only accepted a single value or raised an error, and was unused in the makefile. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_SPARC_asm.py | 38 ++ 1 file changed, 14 insertions(+), 24 deletions

[Mesa-dev] [PATCH 03/27] glapi: remap_helper.py: Fix some low hanging style issues

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com This makes the tools shut up about a bunch of problems, making them more useful for catching actual problems. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/remap_helper.py | 17 + 1 file changed, 13

[Mesa-dev] [PATCH 07/27] glapi: gl_enums.py: use argparse instead of getopt.

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_enums.py | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py index f45782d..927a68b 100644 --- a/src/mapi

[Mesa-dev] [PATCH 04/27] glapi: remap_helper.py: use argparse instead of optparse

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com Make the code simpler, cleaner, and easier to work with. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/remap_helper.py | 46 ++ 1 file changed, 22 insertions(+), 24 deletions(-) diff

[Mesa-dev] [PATCH 10/27] glapi: gl_apitemp.py: Use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_apitemp.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_apitemp.py b/src/mapi/glapi/gen/gl_apitemp.py index 7647428..5e985a2 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 05/27] glapi: gl_procs.py: Fix a few long hanging style things

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com Shuts up analysis tools to make them return actual problems. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_procs.py | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/mapi

[Mesa-dev] [PATCH 01/27] glapi: gl_table.py: Fix some low hanging style issues

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com Making the tools shut up about worthless errors so you can see real ones is very useful Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_table.py | 42 ++ 1 file changed, 26

[Mesa-dev] [PATCH 11/27] glapi: gl_gentable.py: Replace getopt with argparse

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_gentable.py | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py index 06a5ebf..f7ffaf0 100644

[Mesa-dev] [PATCH 12/27] glapi: gl_gentable.py: use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_gentable.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py index f7ffaf0..32c1b68 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 02/27] glapi: gl_table.py: replace getopt with argparse.

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com This results in slightly less code, but code that is much more readable. It has the advantage of putting everything together in one place, all of the code is self documenting, help messages are auto-generated, choices are automatically enforced

[Mesa-dev] glapi: use only one kind of argument parser in python generators

2015-05-20 Thread Dylan Baker
This is a small slice of a larger series I'm working on with the end goal of using mako, the khronos XML, and being python3 compatible with our generators. That series is over 100 patches already, and not even finished with the first step of using mako. I've sent this out to get some patches

[Mesa-dev] [PATCH 08/27] glapi: gl_enums.py: use main() function for if __name__ == __main__

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_enums.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py index 927a68b..955f27d 100644 --- a/src/mapi/glapi/gen/gl_enums.py +++ b

[Mesa-dev] [PATCH 14/27] glapi: gl_x86_asm.py: use a main function

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_x86_asm.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_x86_asm.py b/src/mapi/glapi/gen/gl_x86_asm.py index 86d45f2..c0c7941 100644 --- a/src/mapi/glapi/gen

[Mesa-dev] [PATCH 09/27] glapi: gl_apitemp.py: Convert to argparse instead of getopt

2015-05-20 Thread Dylan Baker
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_apitemp.py | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/src/mapi/glapi/gen/gl_apitemp.py b/src/mapi/glapi/gen/gl_apitemp.py index 4157032..7647428 100644

[Mesa-dev] [PATCH 06/27] glapi: gl_procs.py: Use argparse rather than getopt

2015-05-20 Thread Dylan Baker
From: Dylan Baker dylanx.c.ba...@intel.com Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_procs.py | 42 +++--- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/src/mapi/glapi/gen/gl_procs.py b/src/mapi/glapi/gen

Re: [Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

2015-06-21 Thread Dylan Baker
Cleanups are definitely party of the plan. I'm doing three phases. First is going to mako for generation. Second is using the khronos XML. Finally I want to clean things up and hybridize for python 3 On Jun 21, 2015 7:34 AM, Emil Velikov emil.l.veli...@gmail.com wrote: On 19/06/15 18:43, Dylan

Re: [Mesa-dev] [PATCH 1/2] glapi: gl_table.py: remove unused variable 'es'

2015-06-19 Thread Dylan Baker
I was planning to do this too. Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Jun 19, 2015 5:17 AM, Emil Velikov emil.l.veli...@gmail.com wrote: None of the three build systems ever set it, as such we can clear things up a bit. Cc: Dylan Baker dylanx.c.ba...@intel.com Cc: Jose

Re: [Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

2015-06-19 Thread Dylan Baker
: There are no more users of gl_api.filter_functions_by_api(). Should we just nuke it ? Cc: Dylan Baker dylanx.c.ba...@intel.com Cc: Jose Fonseca jfons...@vmware.com Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- src/mapi/glapi/gen/remap_helper.py | 8 1 file changed, 8

Re: [Mesa-dev] [RFC shader-db] Add support for shadertoy tests

2015-06-23 Thread Dylan Baker
I have a couple of python pointers for you, feel free to take them or leave them. Dylan On Tue, Jun 16, 2015 at 03:46:50PM -0400, Rob Clark wrote: Attached script grabs shaders from shadertoy, and dumps them out as .shader_test files which can be run through shader-db for compiler testing.

Re: [Mesa-dev] [PATCH] glapi: fix argument parsing in glX_proto_recv.py

2015-07-03 Thread Dylan Baker
I asked about dumping them and was told that they would leave mesa only when x itself died. If be more than happy to see them go if they're not useful On Jul 3, 2015 06:28, Emil Velikov emil.l.veli...@gmail.com wrote: On 02/07/15 18:25, Dylan Baker wrote: One of the plugins I use with vim

[Mesa-dev] [PATCH] glapi: fix argument parsing in glX_proto_recv.py

2015-07-02 Thread Dylan Baker
One of the plugins I use with vim helpfully added an underscore to the front of mode for kicks. Obviously this isn't a feature used very often because it's been broken since d986cb7c70db (since May 20th), and no one has noticed. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi

Re: [Mesa-dev] [PATCH] nv50: fix a SIGSEGV with piglit bin/gl-3.1-vao-broken-attrib

2015-07-06 Thread Dylan Baker
+ } else + if (!vb-buffer) { Should the else and if be on the same line? The general style elsewhere is to do it in this weird way. Can't say I'm a big fan, but I prefer consistency. I'd happily take a change that undid that oddity. Odd, okay. signature.asc

Re: [Mesa-dev] [PATCH] nv50: fix a SIGSEGV with piglit bin/gl-3.1-vao-broken-attrib

2015-07-06 Thread Dylan Baker
On Mon, Jul 06, 2015 at 11:34:23PM +0200, Samuel Pitoiset wrote: Before validating vertex arrays we need to check if a VBO is present. Checking if vb-buffer is not NULL fixes the issue. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/nouveau/nv50/nv50_vbo.c

[Mesa-dev] [PATCH] glapi: fix scons build

2015-05-22 Thread Dylan Baker
The arguments for glX_proto_size.py changed slightly, the '-h' short option was removed, because argparse reserves that for help messages. The auto-tools based build was already updated to account for this change, but the scons build was not. Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com

Re: [Mesa-dev] [PATCH] glx: fix Scons build

2015-05-22 Thread Dylan Baker
Well, I wrote the exact same patch and sent it a few seconds ago before I noticed this. Sorry to break things. Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Fri, May 22, 2015 at 01:23:52PM -0700, Brian Paul wrote: Replace -h with --header-tag as was done for the Makefile build

Re: [Mesa-dev] [PATCH 05/27] glapi: gl_procs.py: Fix a few long hanging style things

2015-05-21 Thread Dylan Baker
Err, yes. Fixed. On Wed, May 20, 2015 at 06:27:22PM -0700, Matt Turner wrote: glapi: gl_procs.py: Fix a few long hanging style things s/long/low/ presumably signature.asc Description: Digital signature ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH 11/27] glapi: gl_gentable.py: Replace getopt with argparse

2015-05-21 Thread Dylan Baker
Fixed locally On Wed, May 20, 2015 at 06:28:58PM -0700, Matt Turner wrote: On Wed, May 20, 2015 at 6:03 PM, Dylan Baker baker.dyla...@gmail.com wrote: Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com --- src/mapi/glapi/gen/gl_gentable.py | 29 +++-- 1 file

Re: [Mesa-dev] [PATCH] glapi: Avoid argparse type argument for API XML input files.

2015-05-26 Thread Dylan Baker
On Tue, May 26, 2015 at 11:15:36AM +0100, Jose Fonseca wrote: argparse type is a nice type saver for simple data types, but it doesn't look a good fit for the input XML file: - Certain implementations of argparse (particularly python 2.7.3's) invoke the type constructor for the default

Re: [Mesa-dev] [PATCH] glapi: Avoid argparse type argument for API XML input files.

2015-05-26 Thread Dylan Baker
On Tue, May 26, 2015 at 02:05:41PM -0400, Ilia Mirkin wrote: On Tue, May 26, 2015 at 2:06 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Tue, May 26, 2015 at 11:15:36AM +0100, Jose Fonseca wrote: argparse type is a nice type saver for simple data types, but it doesn't look a good fit

Re: [Mesa-dev] [PATCH] glapi: Avoid argparse type argument for API XML input files.

2015-05-26 Thread Dylan Baker
On Tue, May 26, 2015 at 02:15:37PM -0400, Ilia Mirkin wrote: On Tue, May 26, 2015 at 2:14 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Tue, May 26, 2015 at 02:05:41PM -0400, Ilia Mirkin wrote: On Tue, May 26, 2015 at 2:06 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Tue, May

Re: [Mesa-dev] [PATCH] glapi: fix argument parsing in glX_proto_recv.py

2015-07-21 Thread Dylan Baker
in mesa, or does X/xserver relies on them ? Cheers, Emil On 3 July 2015 at 21:13, Dylan Baker baker.dyla...@gmail.com wrote: I asked about dumping them and was told that they would leave mesa only when x itself died. If be more than happy to see them go if they're not useful

Re: [Mesa-dev] [PATCH] [v3] i965: Split out gen8 push constant state upload

2015-07-13 Thread Dylan Baker
On Fri, Jul 10, 2015 at 02:24:42PM -0700, Ben Widawsky wrote: On Fri, Jul 10, 2015 at 12:03:54PM -0700, Matt Turner wrote: I don't think putting Intel-internal links in the commit message is a good idea. Ken's made similar comments to me. Also, so much off the wall commentary...

Re: [Mesa-dev] [PATCH shader-db] check_dependencies: refactor to a python script

2015-10-12 Thread Dylan Baker
On Sat, Oct 10, 2015 at 06:45:08PM +1100, Rhys Kidd wrote: > Deliver consistency with all other shader-db scripts, which are Python > scripts. > > No change in features or output strings. > > Passed pep8, except for two comment lines suggesting commands to add > dependencies to the [require]

Re: [Mesa-dev] [PATCH shader-db] Add support for shadertoy tests

2015-07-09 Thread Dylan Baker
There's a few more cleanups you could do if you wanted, but either way: Reviewed-by: Dylan Baker baker.dyla...@gmail.com On Thu, Jul 09, 2015 at 10:41:05AM -0400, Rob Clark wrote: Attached script grabs shaders from shadertoy, and dumps them out as .shader_test files which can be run through

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-08 Thread Dylan Baker
[snip] Quoting Jason Ekstrand (2016-06-08 16:20:33) > gen_format_layout.c.mako > > I made this comment in the office today but I think the mako here is simple > enough that we might be better off just putting it all in one file. > I know you're not a fan of separate templates, and if the

[Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-07 Thread Dylan Baker
rated file, do not edit" warning. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/isl/Makefile.am| 7 +- src/intel/isl/gen_format_layout.c.mako | 77 + src/intel/isl/gen_format_layout.py | 143 ++

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Emil, should this take an argument, or is it fine as is? I was going to ask Matt, but he's on vacation... Dylan signature.asc Description: signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH v2] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
rated file, do not edit" warning. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> v2: - Provide the python file with the csvfile and output location as arguments (Jason, Emil) - Put the mako template in the python file (Jason) - Merge Emil's Android.mk changes --

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Quoting Emil Velikov (2016-06-09 14:12:46) > On 9 June 2016 at 21:56, Dylan Baker <dy...@pnwbakers.com> wrote: > > Emil, should this take an argument, or is it fine as is? I was going to > > ask Matt, but he's on vacation... > > > As Jason, suggested - it's better if

Re: [Mesa-dev] [PATCH] isl: Replace bash generator with python generator

2016-06-09 Thread Dylan Baker
Quoting Dylan Baker (2016-06-09 15:06:42) > Quoting Emil Velikov (2016-06-09 14:12:46) > > On 9 June 2016 at 21:56, Dylan Baker <dy...@pnwbakers.com> wrote: > > > Emil, should this take an argument, or is it fine as is? I was going to > > > ask Matt, but he's

[Mesa-dev] [PATCH v3] isl: Replace bash generator with python generator

2016-06-13 Thread Dylan Baker
rated file, do not edit" warning. Cc: "12.0" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> --- I don't have

[Mesa-dev] [PATCH 0/7] Enable python 2 support for intel/genmxl

2016-05-31 Thread Dylan Baker
This adds support for python 2 in genxml, and disables python3 support across the board, since genxml is now required for both vulkan and the i965 OpenGL driver. Dylan Baker (7): genxml: mark gen_pack_header.py as encoded in utf-8 genxml: Make classes descendants of object genxml: mark re

[Mesa-dev] [PATCH 1/7] genxml: mark gen_pack_header.py as encoded in utf-8

2016-05-31 Thread Dylan Baker
There is unicode in this file, and I'm actually surprised that the python interpreter hasn't gotten grumpy. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/genxml/gen_pack_header.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/genxml/gen_pack_header.py

[Mesa-dev] [PATCH 2/7] genxml: Make classes descendants of object

2016-05-31 Thread Dylan Baker
This is the default in python3, but in python2 you get old style classes. No one likes old-style classes. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/genxml/gen_pack_header.py | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src

[Mesa-dev] [PATCH 6/7] genxml: use the isalpha method rather than str.isalpha.

2016-05-31 Thread Dylan Baker
This fixes gen_pack_header to work on python 2, where name[0] is unicode not str. Signed-off-by: Dylan Bake --- src/intel/genxml/gen_pack_header.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/genxml/gen_pack_header.py

[Mesa-dev] [PATCH 3/7] genxml: mark re strings as raw

2016-05-31 Thread Dylan Baker
This is a correctness issue. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/genxml/gen_pack_header.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py index ddaa234..a0

[Mesa-dev] [PATCH 5/7] genxml: change chbang to python 2

2016-05-31 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/genxml/gen_pack_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py index 98e5676..468bfea 100644 --- a/src/intel/

[Mesa-dev] [PATCH 7/7] Don't use python 3

2016-05-31 Thread Dylan Baker
Now there are not files that require python 3, so for now just remove the python 3 dependency and use python 2. I think the right plan is to just get all of the python ready for python 3, and then use whatever python is available. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.

[Mesa-dev] [PATCH 4/7] genxml: require future imports for python2 compatibility.

2016-05-31 Thread Dylan Baker
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/intel/genxml/gen_pack_header.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/genxml/gen_pack_header.py b/src/intel/genxml/gen_pack_header.py index a0037cea..98e5676 100644 --- a/src/intel/genxml/gen_pack_hea

[Mesa-dev] [PATCH v2] genxml: Make classes descendants of object

2016-05-31 Thread Dylan Baker
This is the default in python3, but in python2 you get old style classes. No one likes old-style classes. Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- v2: - remove extra newlines src/intel/genxml/gen_pack_header.py | 8 1 file changed, 4 insertions(+), 4 del

[Mesa-dev] [PATCH v2] genxml: use the isalpha method rather than str.isalpha.

2016-05-31 Thread Dylan Baker
This fixes gen_pack_header to work on python 2, where name[0] is unicode not str. Signed-off-by: Dylan Bake --- v2: - remove extra newline src/intel/genxml/gen_pack_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH] glcpp: Only expose ARB_enhanced_layouts if it's supported.

2016-06-16 Thread Dylan Baker
This fixes the following piglit tests: spec/arb_enhanced_layouts/preprocessor/disabled-defined-core.* Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/compiler/glsl/glcpp/glcpp-parse.y | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl

Re: [Mesa-dev] [PATCH] glcpp: Only expose ARB_enhanced_layouts if it's supported.

2016-06-17 Thread Dylan Baker
Quoting Jason Ekstrand (2016-06-17 11:15:54) > > On Jun 17, 2016 11:07 AM, "Dylan Baker" <dy...@pnwbakers.com> wrote: > > > > Quoting Ian Romanick (2016-06-16 20:07:14) > > > This patch is > > > > > > Reviewed-by: Ian Romanick <ian

Re: [Mesa-dev] [PATCH] glcpp: Only expose ARB_enhanced_layouts if it's supported.

2016-06-17 Thread Dylan Baker
Quoting Ian Romanick (2016-06-16 20:07:14) > This patch is > > Reviewed-by: Ian Romanick <ian.d.roman...@intel.com> > > On 06/16/2016 06:15 PM, Dylan Baker wrote: > > This fixes the following piglit tests: > > spec/arb_enhanced_layouts/preprocessor/disabled-d

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 <baker.dyla...@gmail.com> 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 >

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,

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] [GSoC2016] Interested in implementing "Soft" double precision floating point support

2016-03-10 Thread Dylan Baker
Quoting Marek Olšák (2016-03-10 06:57:57) > On Thu, Mar 10, 2016 at 3:30 PM, tournier.elie > wrote: > > First, thank you all for your answers. > > > > So if I summarize what was said, we need > > Ian: > > - add > > - negate > > - absolute value > > - multiply > > -

Re: [Mesa-dev] [PATCH 06/11] glapi: Fix whitespace droppings when printing the license header

2016-03-29 Thread Dylan Baker
Quoting Adam Jackson (2016-03-29 07:41:01) > On Mon, 2016-03-28 at 11:19 -0700, Dylan Baker wrote: > > Quoting Ian Romanick (2016-03-28 11:03:58) > > > > > > On 03/25/2016 05:33 PM, Dylan Baker wrote: > > > > > > > > Quoting Dylan Baker (201

Re: [Mesa-dev] [PATCH 2/4] nir: Silence unused "options" warning in algebraic passes.

2016-04-08 Thread Dylan Baker
Quoting Dylan Baker (2016-04-08 14:54:38) > Quoting Kenneth Graunke (2016-04-08 11:48:01) > > On Friday, April 8, 2016 11:18:46 AM PDT Dylan Baker wrote: > > > > Quoting Eduardo Lima Mitev (2016-04-08 08:26:22) > > > > On 04/08/2016 01:35 AM, Kenneth Graunke

Re: [Mesa-dev] [PATCH 2/4] nir: Silence unused "options" warning in algebraic passes.

2016-04-08 Thread Dylan Baker
Quoting Kenneth Graunke (2016-04-08 11:48:01) > On Friday, April 8, 2016 11:18:46 AM PDT Dylan Baker wrote: > > > Quoting Eduardo Lima Mitev (2016-04-08 08:26:22) > > > On 04/08/2016 01:35 AM, Kenneth Graunke wrote: > > > > Some passes may not refer to options-

Re: [Mesa-dev] [PATCH 2/4] nir: Silence unused "options" warning in algebraic passes.

2016-04-08 Thread Dylan Baker
Quoting Eduardo Lima Mitev (2016-04-08 08:26:22) > On 04/08/2016 01:35 AM, Kenneth Graunke wrote: > > Some passes may not refer to options->..., at which point the compiler > > will warn about an unused variable. Just cast to void unconditionally > > to shut it up. > > > > Signed-off-by: Kenneth

  1   2   3   4   5   6   7   8   9   10   >