[Mesa-dev] [PATCH] Android: use bionic pthread_barrier_* if possible

2017-06-03 Thread Chih-Wei Huang
The pthread_barrier_* functions were introduced to bionic since Nougat. Signed-off-by: Chih-Wei Huang --- Android.common.mk| 1 + src/gallium/auxiliary/os/os_thread.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Android.common.mk b/Android.common.mk i

[Mesa-dev] [PATCH] Android: define PIPE_OS_BSD

2017-06-03 Thread Chih-Wei Huang
Android bionic is derived from OpenBSD. So the logics of BSD almost apply to Android as well. It fixes the warnings external/mesa/src/gallium/auxiliary/os/os_process.c:43:2: warning: unexpected platform in os_process.c [-W#warnings] ^ external/mesa/src/gallium/auxiliary/os/os_process.c:97:2: wa

Re: [Mesa-dev] [PATCH 2/2] radeonsi: move PSIZE and CLIPDIST unique IO indices after GENERIC

2017-06-03 Thread Dieter Nützel
It improves Uningine Heaven performance here (RX 580, 8 GB),too. without Tessellation Before: FPS: 79.0 Score:1991 Min FPS: 20.8 Max FPS: 189.8 After: FPS: 79.1 Score:1993 Min FPS: 19.6 Max FPS: 185.9 with Tessellation Before: FPS: 67.7 Score:1705 Min FPS: 8.8

[Mesa-dev] [Bug 101291] FAIL: glsl/tests/optimization-test

2017-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101291 Bug ID: 101291 Summary: FAIL: glsl/tests/optimization-test Product: Mesa Version: 17.0 Hardware: Other OS: All Status: NEW Severity: normal Pri

Re: [Mesa-dev] [PATCH] i965: Change INTEL_DEBUG=vec4 to INTEL_SCALAR_VS for consistency.

2017-06-03 Thread Jason Ekstrand
Acked-by: Jason Ekstrand On Sat, Jun 3, 2017 at 12:29 PM, Kenneth Graunke wrote: > We moved to INTEL_SCALAR_* when we added more than a single stage, but > never went back and converted the VS to work that way. Be consistent. > > Also update the documentation to actually mention these debug va

[Mesa-dev] [PATCH] i965: Change INTEL_DEBUG=vec4 to INTEL_SCALAR_VS for consistency.

2017-06-03 Thread Kenneth Graunke
We moved to INTEL_SCALAR_* when we added more than a single stage, but never went back and converted the VS to work that way. Be consistent. Also update the documentation to actually mention these debug variables. --- docs/envvars.html | 2 +- src/intel/common/gen_debug.c |

[Mesa-dev] [Bug 100876] Variable GALLIUM_HUD_DUMP_DIR is not working with Wine LFS

2017-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100876 --- Comment #5 from Edmondo Tommasina --- Hi Balázs Did you have a chance to check mesa 17.1 if the problem is solved for you? Thanks edmondo -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee fo

Re: [Mesa-dev] Mesa 17.1.2 release candidate

2017-06-03 Thread Jason Ekstrand
On Sat, Jun 3, 2017 at 11:30 AM, Juan A. Suarez Romero wrote: > On Sat, 2017-06-03 at 11:10 -0700, Jason Ekstrand wrote: > > On Sat, Jun 3, 2017 at 10:05 AM, Juan A. Suarez Romero < > jasua...@igalia.com> wrote: > > On Thu, 2017-06-01 at 16:35 -0700, Jason Ekstrand wrote: > > On Thu, Jun 1, 2017

Re: [Mesa-dev] [PATCH 2/2] radeonsi: move PSIZE and CLIPDIST unique IO indices after GENERIC

2017-06-03 Thread Edmondo Tommasina
It improves Uningine Heaven performance here (RX 470). Before: 47.5 After: 47.7 For this series: Tested-by: Edmondo Tommasina Thanks edmondo On Sat, Jun 3, 2017 at 6:04 PM, Marek Olšák wrote: > From: Marek Olšák > > Heaven LDS usage for LS+HS is below. The masks are "outputs_written" > for

Re: [Mesa-dev] Mesa 17.1.2 release candidate

2017-06-03 Thread Juan A. Suarez Romero
On Sat, 2017-06-03 at 11:10 -0700, Jason Ekstrand wrote: > On Sat, Jun 3, 2017 at 10:05 AM, Juan A. Suarez Romero ia.com> wrote: > > On Thu, 2017-06-01 at 16:35 -0700, Jason Ekstrand wrote: > > > On Thu, Jun 1, 2017 at 4:20 PM, Juan A. Suarez Romero > > galia.com> wrote: > > > > Hello list, > > >

[Mesa-dev] [PATCH 4/7] util: Port nir_array functionality to u_dynarray

2017-06-03 Thread Thomas Helland
--- src/gallium/drivers/freedreno/freedreno_batch.c | 6 +-- src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 2 +- src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c | 2 +- src/gallium/drivers/nouveau/nv50/nv50_context.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 2 +- src

[Mesa-dev] [PATCH 6/7] nir: Port to u_dynarray and delete nir_array

2017-06-03 Thread Thomas Helland
--- src/compiler/Makefile.sources| 1 - src/compiler/nir/nir_array.h | 99 src/compiler/spirv/vtn_cfg.c | 6 +-- src/compiler/spirv/vtn_private.h | 4 +- 4 files changed, 5 insertions(+), 105 deletions(-) delete mode 100644 src/compiler/nir/

[Mesa-dev] [PATCH 5/7] nir: Remove unused include

2017-06-03 Thread Thomas Helland
--- src/compiler/nir/nir_lower_locals_to_regs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/nir/nir_lower_locals_to_regs.c b/src/compiler/nir/nir_lower_locals_to_regs.c index f1af237b5e..d0667bc504 100644 --- a/src/compiler/nir/nir_lower_locals_to_regs.c +++ b/src/compiler/nir

[Mesa-dev] [PATCH 7/7] util: Add extern c to u_dynarray.h

2017-06-03 Thread Thomas Helland
--- src/util/u_dynarray.h | 8 1 file changed, 8 insertions(+) diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h index ad3889a7c8..e9109ccd2d 100644 --- a/src/util/u_dynarray.h +++ b/src/util/u_dynarray.h @@ -30,6 +30,10 @@ #include #include "ralloc.h" +#ifdef __cplusplus +

[Mesa-dev] [PATCH 0/7] Unify our two dynamic array implementations

2017-06-03 Thread Thomas Helland
We currently have two dynamic array implementations in mesa. One lives in nir, and is used in only one location, and the other lives in galliums util directory. Let's merge these two, so that we can get the best of both worlds. This series uses the u_dynarray from gallium as the basis, and merges

[Mesa-dev] [PATCH 1/7] gallium: Add missing includes

2017-06-03 Thread Thomas Helland
These will need to be in place to avoid regressions when removing these includes from u_dynarray --- src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 1 + src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c | 1 + src/gallium/state_trackers/va/config.c | 1 + src/gallium/state_trackers/va

[Mesa-dev] [PATCH 3/7] util: Remove unused includes and convert to lower-case memory ops

2017-06-03 Thread Thomas Helland
Also, prepare for the next commit by correcting some coding style changes. This should be all non-functional changes. --- src/util/u_dynarray.h | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h index 7b7a

[Mesa-dev] [PATCH 2/7] util: Move u_dynarray to src/util

2017-06-03 Thread Thomas Helland
This will be used as the basis for unification --- src/gallium/auxiliary/Makefile.sources| 1 - src/util/Makefile.sources | 1 + src/{gallium/auxiliary => }/util/u_dynarray.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{gallium/auxiliary => }/util/u_

Re: [Mesa-dev] Mesa 17.1.2 release candidate

2017-06-03 Thread Jason Ekstrand
On Sat, Jun 3, 2017 at 10:05 AM, Juan A. Suarez Romero wrote: > On Thu, 2017-06-01 at 16:35 -0700, Jason Ekstrand wrote: > > On Thu, Jun 1, 2017 at 4:20 PM, Juan A. Suarez Romero > wrote: > > Hello list, > > The candidate for the Mesa 17.1.2 is now available. Currently we have: > - 51 queued >

[Mesa-dev] [Bug 101071] compiling glsl fails with undefined reference to `pthread_create'

2017-06-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101071 --- Comment #14 from war...@o2.pl --- Emil, Now compiles OK. I'm not sure why as I tested compilation with -lptrhead and -pthread...but with this patch compiles OK :-) thx for Your work with this! -- You are receiving this mail because: You are

Re: [Mesa-dev] Mesa 17.1.2 release candidate

2017-06-03 Thread Juan A. Suarez Romero
On Thu, 2017-06-01 at 16:35 -0700, Jason Ekstrand wrote: > On Thu, Jun 1, 2017 at 4:20 PM, Juan A. Suarez Romero > wrote: > > Hello list, > > > > > > > > The candidate for the Mesa 17.1.2 is now available. Currently we have: > > > >  - 51 queued > > > >  - 3 nominated (outstanding) > > > >

[Mesa-dev] [PATCH 2/2] radeonsi: move PSIZE and CLIPDIST unique IO indices after GENERIC

2017-06-03 Thread Marek Olšák
From: Marek Olšák Heaven LDS usage for LS+HS is below. The masks are "outputs_written" for LS and HS. Note that 32K is the maximum size. Before: heaven_x64: ls=1f1 tcs=1f1, lds=32K heaven_x64: ls=31 tcs=31, lds=24K heaven_x64: ls=71 tcs=71, lds=28K After: heaven_x64: ls=3f tcs=3f, lds=2