[Mesa-dev] [PATCH 6/8] radeonsi: fix si_get_num_queries for radeon

2018-06-08 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_query.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 7f32be39a16..9c51c9892e6 100644 --- a/src/gallium/driv

[Mesa-dev] [PATCH 3/8] radeonsi: set a better NUM_PATCHES hard limit

2018-06-08 Thread Marek Olšák
From: Marek Olšák AMDVLK uses 64 (distributed) and 16 (non-distributed). radeonsi will use 63 and 16. * This might improve tessellation performance on Hawaii, Bonaire, Tahiti, Pitcairn. (they will use 16) * I'm not sure if this matters for 1 SE configs. --- src/gallium/drivers/radeonsi/si_stat

[Mesa-dev] [PATCH 4/8] ac/gpu_info: add radeon_info::num_tcc_blocks

2018-06-08 Thread Marek Olšák
From: Marek Olšák The values for the radeon winsys were copied from the kernel driver. --- src/amd/common/ac_gpu_info.c | 10 +++ src/amd/common/ac_gpu_info.h | 1 + .../winsys/radeon/drm/radeon_drm_winsys.c | 26 +++ 3 files changed, 37

[Mesa-dev] [PATCH 7/8] radeonsi: always put persistent buffers into GTT on radeon

2018-06-08 Thread Marek Olšák
From: Marek Olšák This improves performance for certain games. Cc: 18.1 --- src/gallium/drivers/radeonsi/si_buffer.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_buffer.c b/src/gallium/drivers/radeonsi/si_buffer.c index 2d68edc3404..

[Mesa-dev] [PATCH 5/8] radeonsi: don't expose performance counters for non-existent blocks

2018-06-08 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_perfcounter.c | 29 ++- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c index ad62e55f227..346d4c50044 100644 --- a

[Mesa-dev] [PATCH 2/8] radeonsi: make sure LS-HS vector lanes are reasonably occupied

2018-06-08 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeonsi/si_state_draw.c | 8 1 file changed, 8 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index e7f8389caf3..d61374e95ca 100644 --- a/src/gallium/drivers/radeonsi/si_

[Mesa-dev] [PATCH 8/8] radeonsi: ignore PIPE_RESOURCE_FLAG_MAP_COHERENT

2018-06-08 Thread Marek Olšák
From: Marek Olšák We treat coherent and non-coherent buffers the same. And move external_usage for better packing. --- src/gallium/drivers/radeonsi/si_buffer.c | 3 +-- src/gallium/drivers/radeonsi/si_pipe.h | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/galliu

[Mesa-dev] [PATCH 1/8] radeonsi: properly compute an LS-HS thread group size limit

2018-06-08 Thread Marek Olšák
From: Marek Olšák "64 / max * 4" is less than "64 * 4 / max". --- src/gallium/drivers/radeonsi/si_state_draw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index 942cb3c7994..

[Mesa-dev] [PATCH] gallium/hud: = should rename the last added data source

2018-06-08 Thread Marek Olšák
From: Marek Olšák --- src/gallium/auxiliary/hud/hud_context.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 61db98b4b03..233202453ee 100644 --- a/src/gallium/auxiliary/hud/hud_conte

[Mesa-dev] [PATCH] vkpipeline_db: add support for multi-threading

2018-06-08 Thread Timothy Arceri
--- CMakeLists.txt | 1 + run.c | 169 +++-- 2 files changed, 121 insertions(+), 49 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e1546c..c1d86c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ project(vkpi

Re: [Mesa-dev] [PATCH 6/7] mesa/util: add allow_glsl_relaxed_es driconfig override

2018-06-08 Thread Kenneth Graunke
On Friday, June 8, 2018 7:14:24 AM PDT Timothy Arceri wrote: > On 09/06/18 00:07, Eero Tamminen wrote: > > Is bug reported to Google Earth VR maintainers and have they stated that > > they aren't going to fix the issues? > > Its been reported and they have stated that there are no plans to update

Re: [Mesa-dev] [PATCH 2/4] meson: Add support for ppc assembly/optimizations

2018-06-08 Thread Matt Turner
On Thu, Jun 7, 2018 at 11:53 AM, Dylan Baker wrote: > --- > meson.build | 30 ++ > meson_options.txt | 7 +++ > 2 files changed, 33 insertions(+), 4 deletions(-) > > diff --git a/meson.build b/meson.build > index 0171328bcd7..f6fe141056a 100644 > --- a/meson

[Mesa-dev] [PATCH] nv50/ir: Improve performance of signed division by powers of two

2018-06-08 Thread Rhys Perry
Signed-off-by: Rhys Perry --- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 29 +++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index 3

Re: [Mesa-dev] [PATCH] radv: fix missing ZRANGE_PRECISION(1) for GFX9+

2018-06-08 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Jun 8, 2018 at 5:59 PM, Samuel Pitoiset wrote: > ZRANGE_PRECISION(1) seems to be the default optimal value, but > it was only set for VI and older chips. > > This fixes a rendering issue with Banished through DXVK, and > might fix more than that. > > There

[Mesa-dev] [Bug 106528] radv doesn't support VK_FORMAT_D24_UNORM_S8_UINT

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106528 --- Comment #7 from Roland Scheidegger --- FWIW (not talking specifically about vulkan here) not supporting d24unorm may not be much of a problem for ordinary apps as you can use d32f instead and adapt your code to it. But if you're translating

[Mesa-dev] [PATCH 0/1] Code formatting changes in swr driver

2018-06-08 Thread Alok Hota
Sorry for the large patch - the changes are all whitespace and code formatting for the swr driver and its rasterizer. The patch file itself is available on Github as a Gist: https://gist.github.com/ahota/34210949630618f684babc4cfa240aa5 This is to prevent the full 3.1 MB of it being sent out to e

Re: [Mesa-dev] [PATCH v2 1/2] gallium: add scalar isa shader cap

2018-06-08 Thread Marek Olšák
FYI, r600 prefers vectors. Marek On Fri, Jun 8, 2018 at 5:10 AM, Christian Gmeiner < christian.gmei...@gmail.com> wrote: > v1 -> v2: > - nv30 is _NOT_ scalar as suggested by Ilia Mirkin. > - Change from a screen cap to a shader cap as suggested >by Eric Anholt. > - radeonsi is scalar as s

Re: [Mesa-dev] Large patch advice

2018-06-08 Thread Jason Ekstrand
On Fri, Jun 8, 2018 at 9:49 AM, Ilia Mirkin wrote: > Push it to a branch somewhere, and mail the commit description + link > to patch. No need to stick 3.1MB of data into everyone's inboxes. > That's a good plan. Another thing you could do would be to run git format-patch with some of the optio

[Mesa-dev] [Bug 106595] [RADV] Rendering distortions only when MSAA is enabled

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106595 --- Comment #10 from zefkerri...@gmail.com --- (In reply to Samuel Pitoiset from comment #9) > Can you capture a trace with renderdoc please? Yes, of course, I will do it if you explain it to me in clear words how and what I should do. Regards.

Re: [Mesa-dev] [PATCH 4/4] meson: remove a bunch of out of date TODO's

2018-06-08 Thread Eric Anholt
Dylan Baker writes: > [ Unknown signature status ] > Quoting Eric Anholt (2018-06-07 14:29:19) >> Dylan Baker writes: >> >> > Some of these are done already, some of them are things we're not going >> > to do, like have a toggle for GLX_TLS. >> > >> > Signed-off-by: Dylan Baker >> >> > - >> >

Re: [Mesa-dev] GitLab Migration: Users and Groups

2018-06-08 Thread Jason Ekstrand
As a quick update, I was wrong about what I said below. Masters cannot add/remove users, only Owners can. I've made everyone in the Masters list below an Owner. It also means that you can do all sorts of dangerous things like delete the entire mesa group. Please be careful. :-) --Jason On Wed

Re: [Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Dylan Baker
Quoting Jason Ekstrand (2018-06-08 10:04:50) > On Fri, Jun 8, 2018 at 9:27 AM, Eric Engestrom > wrote: > > On Friday, 2018-06-08 09:06:06 -0700, Jason Ekstrand wrote: > > On Fri, Jun 8, 2018 at 8:57 AM, Eric Engestrom > > > wrote: > > > > > Now that we're using GitLab, let's

Re: [Mesa-dev] [PATCH v2 2/2] mesa/st: only do scalar lowerings if driver benefits

2018-06-08 Thread Eric Anholt
Christian Gmeiner writes: > As not every (upcoming) backend compiler is happy with > nir_lower_xxx_to_scalar lowerings do them only if the backend > is scalar (and not vec4) based. Reviewed-by: Eric Anholt signature.asc Description: PGP signature __

Re: [Mesa-dev] [PATCH v2 1/2] gallium: add scalar isa shader cap

2018-06-08 Thread Eric Anholt
Christian Gmeiner writes: > v1 -> v2: > - nv30 is _NOT_ scalar as suggested by Ilia Mirkin. > - Change from a screen cap to a shader cap as suggested >by Eric Anholt. > - radeonsi is scalar as suggested by Marek Olšák. > - Change missing ones to be scalar. Reviewed-by: Eric Anholt sig

Re: [Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Jason Ekstrand
On Fri, Jun 8, 2018 at 9:27 AM, Eric Engestrom wrote: > On Friday, 2018-06-08 09:06:06 -0700, Jason Ekstrand wrote: > > On Fri, Jun 8, 2018 at 8:57 AM, Eric Engestrom > > > wrote: > > > > > Now that we're using GitLab, let's take advantage of the "landing page" > > > README feature with some min

Re: [Mesa-dev] Large patch advice

2018-06-08 Thread Ilia Mirkin
Push it to a branch somewhere, and mail the commit description + link to patch. No need to stick 3.1MB of data into everyone's inboxes. On Fri, Jun 8, 2018 at 12:40 PM, Hota, Alok wrote: > Hi all, > > I have a patch that I would like to send in, but it’s quite large. We had a > code formatting ov

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #8 from Samuel Pitoiset --- Okay, I can reproduce the issue with renderdoc, thanks! -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.__

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #7 from Samuel Pitoiset --- Ah okay, sorry I missed your latest comment. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ m

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #6 from Samuel Pitoiset --- Looks like the output is correct on my polaris with mesa master, can you confirm? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.

[Mesa-dev] Large patch advice

2018-06-08 Thread Hota, Alok
Hi all, I have a patch that I would like to send in, but it's quite large. We had a code formatting overhaul for the SWR gallium driver, and the resulting patch file is 3.1 MB. Will this go through the mailing system okay? If not, what's the best course of action to submit this patch to mesa-de

Re: [Mesa-dev] [PATCH 01/24] configure.ac: Add CFLAG -Wno-missing-field-initializers

2018-06-08 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-08 02:29:12) > On Tuesday, 2018-06-05 13:58:44 +0200, Gert Wollny wrote: > > This warning is misleading: When a struct is partially initialized without > > assigning to the structure members by name, then the remaining fields > > will be zeroed out, and this warning

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #5 from James Legg --- Sorry, the more problematic bit is the depth buffer, which should be 0.5 inside the semicircle and 0.0 outside it, which isn't what is shown in the screenshot. -- You are receiving this mail because: You are

Re: [Mesa-dev] [PATCH 2/4] meson: Add support for ppc assembly/optimizations

2018-06-08 Thread Dylan Baker
Quoting Eric Anholt (2018-06-07 14:26:39) > Dylan Baker writes: > > > --- > > meson.build | 30 ++ > > meson_options.txt | 7 +++ > > 2 files changed, 33 insertions(+), 4 deletions(-) > > > > diff --git a/meson.build b/meson.build > > index 0171328bcd7..f6f

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #4 from James Legg --- Created attachment 140095 --> https://bugs.freedesktop.org/attachment.cgi?id=140095&action=edit Expected output A white semicircle on a black background, as shown. -- You are receiving this mail because: Y

[Mesa-dev] [Bug 106595] [RADV] Rendering distortions only when MSAA is enabled

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106595 --- Comment #9 from Samuel Pitoiset --- Can you capture a trace with renderdoc please? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___

Re: [Mesa-dev] [PATCH] virgl: enable ARB_gpu_shader_fp64

2018-06-08 Thread Gurchetan Singh
Tested-by: Gurchetan Singh Reviewed-by: Gurchetan Singh On Thu, Jun 7, 2018 at 7:24 PM Dave Airlie wrote: > > From: Dave Airlie > > This enables ARB_gpu_shader_fp64 if the host provides it. > --- > src/gallium/drivers/virgl/virgl_screen.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(

Re: [Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Eric Engestrom
On Friday, 2018-06-08 09:06:06 -0700, Jason Ekstrand wrote: > On Fri, Jun 8, 2018 at 8:57 AM, Eric Engestrom > wrote: > > > Now that we're using GitLab, let's take advantage of the "landing page" > > README feature with some minimal information, mostly to point people to > > the right resources.

[Mesa-dev] [Bug 106528] radv doesn't support VK_FORMAT_D24_UNORM_S8_UINT

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106528 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

Re: [Mesa-dev] [PATCH 4/4] meson: remove a bunch of out of date TODO's

2018-06-08 Thread Dylan Baker
Quoting Eric Anholt (2018-06-07 14:29:19) > Dylan Baker writes: > > > Some of these are done already, some of them are things we're not going > > to do, like have a toggle for GLX_TLS. > > > > Signed-off-by: Dylan Baker > > > - > > if with_osmesa != 'none' > >if with_osmesa == 'classic' an

Re: [Mesa-dev] [PATCH 4/4] meson: remove a bunch of out of date TODO's

2018-06-08 Thread Dylan Baker
Quoting Emil Velikov (2018-06-08 08:52:03) > On 7 June 2018 at 19:53, Dylan Baker wrote: > > Some of these are done already, some of them are things we're not going > > to do, like have a toggle for GLX_TLS. > > > > Signed-off-by: Dylan Baker > > --- > > meson.build | 11 --- > >

Re: [Mesa-dev] [PATCH] meson: Allow use of ASM for x86 host with x86_64 build machine

2018-06-08 Thread Dylan Baker
Quoting Eric Anholt (2018-06-08 09:10:35) > Dylan Baker writes: > > > [ Unknown signature status ] > > Quoting Eric Anholt (2018-06-07 14:34:02) > >> Dylan Baker writes: > >> > >> > The reason we restrict the use of ASM when cross compiling is that there > >> > is a C based generator (mtypes) t

[Mesa-dev] [Bug 105396] tc compatible htile sets depth of htiles of discarded fragments to 1.0

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105396 --- Comment #3 from Samuel Pitoiset --- What should be the expected output? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev m

Re: [Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-08 09:04:03) > On Friday, 2018-06-08 08:49:33 -0700, Dylan Baker wrote: > > Quoting Eric Engestrom (2018-06-08 07:46:01) > > > On Friday, 2018-06-08 15:38:41 +0100, Emil Velikov wrote: > > > > On 8 June 2018 at 12:26, Eric Engestrom > > > > wrote: > > > > > Suggest

Re: [Mesa-dev] [PATCH] meson: Allow use of ASM for x86 host with x86_64 build machine

2018-06-08 Thread Eric Anholt
Dylan Baker writes: > [ Unknown signature status ] > Quoting Eric Anholt (2018-06-07 14:34:02) >> Dylan Baker writes: >> >> > The reason we restrict the use of ASM when cross compiling is that there >> > is a C based generator (mtypes) that must be run as part of the build >> > process, and it

Re: [Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Jason Ekstrand
On Fri, Jun 8, 2018 at 8:57 AM, Eric Engestrom wrote: > Now that we're using GitLab, let's take advantage of the "landing page" > README feature with some minimal information, mostly to point people to > the right resources. > > Signed-off-by: Eric Engestrom > --- > README.rst | 76

Re: [Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Eric Engestrom
On Friday, 2018-06-08 08:49:33 -0700, Dylan Baker wrote: > Quoting Eric Engestrom (2018-06-08 07:46:01) > > On Friday, 2018-06-08 15:38:41 +0100, Emil Velikov wrote: > > > On 8 June 2018 at 12:26, Eric Engestrom wrote: > > > > Suggested-by: Emil Velikov > > > > Signed-off-by: Eric Engestrom > >

Re: [Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Adam Jackson
On Fri, 2018-06-08 at 16:57 +0100, Eric Engestrom wrote: > +Build & install > +--- > + > +You can find more information in our documentation (`docs/install.html > +`_), but the recommdended way is to use 'recommended' - ajax __

[Mesa-dev] [PATCH] radv: fix missing ZRANGE_PRECISION(1) for GFX9+

2018-06-08 Thread Samuel Pitoiset
ZRANGE_PRECISION(1) seems to be the default optimal value, but it was only set for VI and older chips. This fixes a rendering issue with Banished through DXVK, and might fix more than that. There is still the ZRANGE_PRECISION bug that we need to handle but that can be fixed later. Cc: mesa-sta..

[Mesa-dev] [PATCH mesa] add project README

2018-06-08 Thread Eric Engestrom
Now that we're using GitLab, let's take advantage of the "landing page" README feature with some minimal information, mostly to point people to the right resources. Signed-off-by: Eric Engestrom --- README.rst | 76 ++ 1 file changed, 76 insert

Re: [Mesa-dev] [PATCH 4/4] meson: remove a bunch of out of date TODO's

2018-06-08 Thread Emil Velikov
On 7 June 2018 at 19:53, Dylan Baker wrote: > Some of these are done already, some of them are things we're not going > to do, like have a toggle for GLX_TLS. > > Signed-off-by: Dylan Baker > --- > meson.build | 11 --- > src/egl/meson.build | 2 -- > src/gbm/meson.build | 2 --

Re: [Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-08 07:46:01) > On Friday, 2018-06-08 15:38:41 +0100, Emil Velikov wrote: > > On 8 June 2018 at 12:26, Eric Engestrom wrote: > > > Suggested-by: Emil Velikov > > > Signed-off-by: Eric Engestrom > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106861

[Mesa-dev] [Bug 106861] fatal error: wayland-egl-backend.h: No such file or directory compilation terminated.

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106861 Eric Engestrom changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 1/1] drisw: Fix invalid pointer arithmetic

2018-06-08 Thread Emil Velikov
On 8 June 2018 at 00:59, Jan Vesely wrote: > Use of void * in pointer arithmetic is illegal, use char * instead. > Fixes: cf54bd5e8381dba18d52fe438acda20cc1685bf3 ("drisw: use shared memory > when possible") > Thanks this should get the travis build back to green. Reviewed-by: Emil Velikov -Emi

Re: [Mesa-dev] [PATCH 01/24] configure.ac: Add CFLAG -Wno-missing-field-initializers (v2)

2018-06-08 Thread Emil Velikov
On 8 June 2018 at 12:02, Gert Wollny wrote: > From: Gert Wollny > > This warning is misleading: When a struct is partially initialized without > assigning to the struture members by name, then the un-initialized fields > will be zeroed out, and this warning will be issued (if enabled). If, on the

Re: [Mesa-dev] [PATCH 24/24] gallium/aux/os: Fix warning/handle failure to read from /proc/self/cmdline

2018-06-08 Thread Emil Velikov
On 5 June 2018 at 12:59, Gert Wollny wrote: > Handle the failure to read from /proc/self/cmdline by printing an error > message and fix the -Wsign-compare warning: > > In file included from ./util/u_memory.h:39:0, > from os/os_process.c:31: > os/os_process.c: In function 'os_get_c

Re: [Mesa-dev] [PATCH v4 00/15] TGSI: improved live range tracking, also including arrays

2018-06-08 Thread Gert Wollny
Hello Benedikt, Am Mittwoch, den 06.06.2018, 21:58 +0200 schrieb Benedikt Schemmer: > > The arrays-of-arrays piglit shaders I sent you still crash though > Gert. Can you post a backtrace? > > > - if (get_temp_registers_required_live_ranges( > reg_live_ranges, &this->instructions, > +//

Re: [Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Eric Engestrom
On Friday, 2018-06-08 15:38:41 +0100, Emil Velikov wrote: > On 8 June 2018 at 12:26, Eric Engestrom wrote: > > Suggested-by: Emil Velikov > > Signed-off-by: Eric Engestrom > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106861 > Fixes: ... Thanks; already added locally, didn't want

Re: [Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Emil Velikov
On 8 June 2018 at 12:26, Eric Engestrom wrote: > Suggested-by: Emil Velikov > Signed-off-by: Eric Engestrom Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106861 Fixes: ... > --- a/meson.build > +++ b/meson.build > @@ -1202,7 +1202,7 @@ if with_platform_wayland >dep_wayland_client

Re: [Mesa-dev] [PATCH 1/2] travis: Do our automake build tests with srcdir != builddir.

2018-06-08 Thread Emil Velikov
On 7 June 2018 at 12:20, Eric Engestrom wrote: > On Tuesday, 2018-06-05 12:46:35 -0700, Eric Anholt wrote: >> This will catch many automake bugs that end-users get to experience first, >> otherwise. > > Good idea! Both patches are > Reviewed-by: Eric Engestrom > Agreed, thanks guys! The series is

Re: [Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

2018-06-08 Thread Erik Faye-Lund
On Fri, Jun 8, 2018 at 4:09 PM Rhys Perry wrote: > > Might be good to do something like this: https://codepen.io/anon/pen/ERNdYJ > So that those with NoScript or something won't have gears constantly > rotating on their screen. > Yeah, good point. ___ m

[Mesa-dev] [Bug 106861] fatal error: wayland-egl-backend.h: No such file or directory compilation terminated.

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106861 --- Comment #1 from Eric Engestrom --- Eero, I think this patch should fix the issue: https://lists.freedesktop.org/archives/mesa-dev/2018-June/197142.html -- You are receiving this mail because: You are the QA Contact for the bug.

Re: [Mesa-dev] [PATCH 6/7] mesa/util: add allow_glsl_relaxed_es driconfig override

2018-06-08 Thread Timothy Arceri
On 09/06/18 00:07, Eero Tamminen wrote: Hi, On 08.06.2018 15:19, Timothy Arceri wrote: This relaxes a number of ES shader restrictions allowing shaders to follow more desktop GLSL like rules. This initial implementation relaxes the following:   - allows linking ES shaders with desktop shaders

Re: [Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

2018-06-08 Thread Rhys Perry
Might be good to do something like this: https://codepen.io/anon/pen/ERNdYJ So that those with NoScript or something won't have gears constantly rotating on their screen. On Fri, Jun 8, 2018 at 2:25 PM, Erik Faye-Lund wrote: > On Fri, Jun 8, 2018 at 2:06 PM, Rob Clark wrote: >> On Fri, Jun 8, 20

Re: [Mesa-dev] [PATCH 6/7] mesa/util: add allow_glsl_relaxed_es driconfig override

2018-06-08 Thread Eero Tamminen
Hi, On 08.06.2018 15:19, Timothy Arceri wrote: This relaxes a number of ES shader restrictions allowing shaders to follow more desktop GLSL like rules. This initial implementation relaxes the following: - allows linking ES shaders with desktop shaders - allows mismatching precision qualifi

Re: [Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

2018-06-08 Thread Erik Faye-Lund
On Fri, Jun 8, 2018 at 2:06 PM, Rob Clark wrote: > On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen wrote: >> On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen >> wrote: >>> On 07.06.2018 12:01, Erik Faye-Lund wrote: >>> > Just as a fun toy, I decided to give an animated SVG "variation" of >>> > this a

[Mesa-dev] [Bug 102564] swr: 32-bit binaries crash any app I use with them

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564 Alex Granni changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 106843] Cannot build osmesa with GLES support using Scons and MSVC

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106843 Alex Granni changed: What|Removed |Added Priority|medium |high Severity|normal

[Mesa-dev] [Bug 106843] Cannot build osmesa with GLES support using Scons and MSVC

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106843 Alex Granni changed: What|Removed |Added Component|Other |Drivers/OSMesa Summary|GLES su

Re: [Mesa-dev] [PATCH 1/1] vulkan/wsi: Destroy swapchain images after terminating FIFO queues

2018-06-08 Thread Alex Smith
Thanks, I've pushed it. On 8 June 2018 at 10:38, Lionel Landwerlin wrote: > Sorry for missing that. > > Fixes: e73d136a023080 ("vulkan/wsi/x11: Implement FIFO mode.") > Reviewed-by: Lionel Landwerlin > > > On 01/06/18 12:16, Cameron Kumar wrote: > >> The queue_manager thread can access the imag

Re: [Mesa-dev] Mesa logo animation (was: Move the Mesa Website to Sphinx)

2018-06-08 Thread Ilia Mirkin
On Fri, Jun 8, 2018 at 8:45 AM, Eero Tamminen wrote: > Hi, > > On 08.06.2018 15:06, robdcl...@gmail.com wrote: >> >> On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen wrote: >>> >>> On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen >>> wrote: > > ... For Mesa, WebGL could be more fitting implem

Re: [Mesa-dev] Mesa logo animation (was: Move the Mesa Website to Sphinx)

2018-06-08 Thread Eero Tamminen
Hi, On 08.06.2018 15:06, robdcl...@gmail.com wrote: On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen wrote: On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen wrote: ... For Mesa, WebGL could be more fitting implementation than SVG though... https://github.com/gears3d/gears3d.github.io/blob/master

[Mesa-dev] [PATCH 6/7] mesa/util: add allow_glsl_relaxed_es driconfig override

2018-06-08 Thread Timothy Arceri
This relaxes a number of ES shader restrictions allowing shaders to follow more desktop GLSL like rules. This initial implementation relaxes the following: - allows linking ES shaders with desktop shaders - allows mismatching precision qualifiers - always enables standard derivative builtins

[Mesa-dev] [PATCH 4/7] mesa/util: add allow_glsl_builtin_const_expression driconf override

2018-06-08 Thread Timothy Arceri
Google Earth VR shaders uses builtins in constant expressions with GLSL 1.10. That feature wasn't allowed until GLSL 1.20. --- src/compiler/glsl/ast_function.cpp | 3 ++- src/gallium/auxiliary/pipe-loader/driinfo_gallium.h | 1 + src/gallium/include/state_tracker/st_api.h

[Mesa-dev] [PATCH 7/7] util: add allow_glsl_relaxed_es to drirc for Google Earth VR

2018-06-08 Thread Timothy Arceri
--- src/util/drirc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/drirc b/src/util/drirc index 574374418fd..ee0133f4f40 100644 --- a/src/util/drirc +++ b/src/util/drirc @@ -179,6 +179,7 @@ TODO: document the other workarounds. +

[Mesa-dev] [PATCH 5/7] util: add allow_glsl_builtin_const_expression to drirc for Google Earth VR

2018-06-08 Thread Timothy Arceri
--- src/util/drirc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/drirc b/src/util/drirc index 8e61c32ca71..574374418fd 100644 --- a/src/util/drirc +++ b/src/util/drirc @@ -178,6 +178,7 @@ TODO: document the other workarounds. +

[Mesa-dev] [PATCH 3/7] util: add allow_glsl_semicolon_after_function to drirc for Google Earth VR

2018-06-08 Thread Timothy Arceri
--- src/util/drirc | 4 1 file changed, 4 insertions(+) diff --git a/src/util/drirc b/src/util/drirc index c76f1ca4380..8e61c32ca71 100644 --- a/src/util/drirc +++ b/src/util/drirc @@ -176,6 +176,10 @@ TODO: document the other workarounds. + + +

[Mesa-dev] [PATCH 2/7] mesa/util: add allow_glsl_semicolon_after_function driconfig override

2018-06-08 Thread Timothy Arceri
These are seen in Google Earth VR shaders. --- src/compiler/glsl/glsl_parser.yy | 18 +- .../auxiliary/pipe-loader/driinfo_gallium.h| 1 + src/gallium/include/state_tracker/st_api.h | 1 + src/gallium/state_trackers/dri/dri_screen.c| 2 ++ src/mesa/main

[Mesa-dev] [PATCH 1/7] util: manually extract the program name from program_invocation_name

2018-06-08 Thread Timothy Arceri
Glibc has the same code to get program_invocation_short_name. However for some reason the short name gets mangled for some wine apps. For example with Google Earth VR I get: program_invocation_name: "/home/tarceri/.local/share/Steam/steamapps/common/EarthVR/Earth.exe" program_invocation_short_na

Re: [Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

2018-06-08 Thread Rob Clark
On Fri, Jun 8, 2018 at 3:02 AM, Jordan Justen wrote: > On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen > wrote: >> On 07.06.2018 12:01, Erik Faye-Lund wrote: >> > Just as a fun toy, I decided to give an animated SVG "variation" of >> > this a go myself: >> > >> > https://codepen.io/kusma/pen/vrXppL

[Mesa-dev] [Bug 106861] fatal error: wayland-egl-backend.h: No such file or directory compilation terminated.

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106861 Bug ID: 106861 Summary: fatal error: wayland-egl-backend.h: No such file or directory compilation terminated. Product: Mesa Version: git Hardware: Other OS

[Mesa-dev] [PATCH mesa] autotools/meson: compile against wayland-egl-*backend*

2018-06-08 Thread Eric Engestrom
Suggested-by: Emil Velikov Signed-off-by: Eric Engestrom --- configure.ac | 4 ++-- meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 875c47fcd43a29e6c5d5..75ee1a7c01c9663250e3 100644 --- a/configure.ac +++ b/configure.ac @@ -90

[Mesa-dev] [PATCH 01/24] configure.ac: Add CFLAG -Wno-missing-field-initializers (v2)

2018-06-08 Thread Gert Wollny
From: Gert Wollny This warning is misleading: When a struct is partially initialized without assigning to the struture members by name, then the un-initialized fields will be zeroed out, and this warning will be issued (if enabled). If, on the other hand, the partial initialization is done by ass

[Mesa-dev] [PATCH 01/24] configure.ac: Add CFLAG -Wno-missing-field-initializers (v2)

2018-06-08 Thread Gert Wollny
From: Gert Wollny This warning is misleading: When a struct is partially initialized without assigning to the struture members by name, then the un-initialized fields will be zeroed out, and this warning will be issued (if enabled). If, on the other hand, the partial initialization is done by ass

Re: [Mesa-dev] [PATCH] radv: add a workaround for DXVK hangs by setting amdgpu-skip-threshold

2018-06-08 Thread Samuel Pitoiset
On 06/08/2018 12:16 PM, Grazvydas Ignotas wrote: I haven't tried it, but maybe calling LLVMParseCommandLineOptions() second time would work (after creating the target machine, through call_once) to avoid all this code duplication? Maybe, yes. Gražvydas On Fri, Jun 8, 2018 at 12:38 PM, Sam

Re: [Mesa-dev] [PATCH] radv: add a workaround for DXVK hangs by setting amdgpu-skip-threshold

2018-06-08 Thread Grazvydas Ignotas
I haven't tried it, but maybe calling LLVMParseCommandLineOptions() second time would work (after creating the target machine, through call_once) to avoid all this code duplication? Gražvydas On Fri, Jun 8, 2018 at 12:38 PM, Samuel Pitoiset wrote: > Workaround for bug in llvm that causes the GPU

Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-06-08 Thread Samuel Pitoiset
I'm going to fix this because it might fix some rendering issues with DXVK as well. Sorry for the delay. On 03/08/2018 12:59 PM, James Legg wrote: This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware bug which PAL calls WaTcCompatZRange, but I don't know for sure. In the VK_

Re: [Mesa-dev] [PATCH 1/1] vulkan/wsi: Destroy swapchain images after terminating FIFO queues

2018-06-08 Thread Lionel Landwerlin
Sorry for missing that. Fixes: e73d136a023080 ("vulkan/wsi/x11: Implement FIFO mode.") Reviewed-by: Lionel Landwerlin On 01/06/18 12:16, Cameron Kumar wrote: The queue_manager thread can access the images from x11_present_to_x11, hence this reorder prevents dereferencing of dangling pointers.

[Mesa-dev] [PATCH] radv: add a workaround for DXVK hangs by setting amdgpu-skip-threshold

2018-06-08 Thread Samuel Pitoiset
Workaround for bug in llvm that causes the GPU to hang in presence of nested loops because there is an exec mask issue. The proper solution is to fix LLVM but this might require a bunch of work. This fixes a bunch of GPU hangs that happen with DXVK. Vega10: Totals from affected shaders: SGPRS: 11

Re: [Mesa-dev] [PATCH 01/24] configure.ac: Add CFLAG -Wno-missing-field-initializers

2018-06-08 Thread Eric Engestrom
On Tuesday, 2018-06-05 13:58:44 +0200, Gert Wollny wrote: > This warning is misleading: When a struct is partially initialized without > assigning to the structure members by name, then the remaining fields > will be zeroed out, and this warning will be issued (if enabled). If, on the > other hand,

[Mesa-dev] [PATCH v2 2/2] mesa/st: only do scalar lowerings if driver benefits

2018-06-08 Thread Christian Gmeiner
As not every (upcoming) backend compiler is happy with nir_lower_xxx_to_scalar lowerings do them only if the backend is scalar (and not vec4) based. Signed-off-by: Christian Gmeiner --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 39 +-- 1 file changed, 30 insertions(+), 9 de

[Mesa-dev] [PATCH v2 1/2] gallium: add scalar isa shader cap

2018-06-08 Thread Christian Gmeiner
v1 -> v2: - nv30 is _NOT_ scalar as suggested by Ilia Mirkin. - Change from a screen cap to a shader cap as suggested by Eric Anholt. - radeonsi is scalar as suggested by Marek Olšák. - Change missing ones to be scalar. Signed-off-by: Christian Gmeiner --- src/gallium/auxiliary/gallivm/lp

Re: [Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

2018-06-08 Thread Christian Gmeiner
Am Fr., 8. Juni 2018 um 11:06 Uhr schrieb Roland Scheidegger : > > Should probably fill in all drivers... > softpipe/llvmpipe are scalar, svga - well that would depend but likely > scalar in the end too... > Thanks - will added in V2. > Roland > > Am 07.06.2018 um 21:55 schrieb Ilia Mirkin: > > O

Re: [Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

2018-06-08 Thread Christian Gmeiner
Am Fr., 8. Juni 2018 um 05:42 Uhr schrieb Marek Olšák : > > radeonsi is scalar. > Thanks for the info.. will be fixed in V2. > Marek > > On Thu, Jun 7, 2018 at 3:32 PM, Christian Gmeiner > wrote: >> >> Signed-off-by: Christian Gmeiner >> --- >> src/gallium/docs/source/screen.rst

Re: [Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

2018-06-08 Thread Christian Gmeiner
Am Do., 7. Juni 2018 um 23:11 Uhr schrieb Eric Anholt : > > Christian Gmeiner writes: > > > Signed-off-by: Christian Gmeiner > > Shouldn't the cap be per shader target, rather than per screen? i965, > for example, was vector VS and scalar FS for a long time. I am fine with that change.. will be

Re: [Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

2018-06-08 Thread Roland Scheidegger
Should probably fill in all drivers... softpipe/llvmpipe are scalar, svga - well that would depend but likely scalar in the end too... Roland Am 07.06.2018 um 21:55 schrieb Ilia Mirkin: > On Thu, Jun 7, 2018 at 3:32 PM, Christian Gmeiner > wrote: >> diff --git a/src/gallium/drivers/nouveau/nv30/

Re: [Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

2018-06-08 Thread Christian Gmeiner
Am Do., 7. Juni 2018 um 21:55 Uhr schrieb Ilia Mirkin : > > On Thu, Jun 7, 2018 at 3:32 PM, Christian Gmeiner > wrote: > > diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c > > b/src/gallium/drivers/nouveau/nv30/nv30_screen.c > > index a77f70e6bb..f7566958f9 100644 > > --- a/src/gallium

Re: [Mesa-dev] [PATCH] anv: Disable __gen_validate_value if NDEBUG is set.

2018-06-08 Thread Kenneth Graunke
On Thursday, June 7, 2018 4:46:24 PM PDT Jason Ekstrand wrote: > On Thu, Jun 7, 2018 at 4:02 PM, Kenneth Graunke > wrote: > > > We were enabling undefined memory checking for genxml values based on > > Valgrind being installed at build time, even for release builds. This > > generates piles and

Re: [Mesa-dev] [PATCH 1/1] vulkan/wsi: Destroy swapchain images after terminating FIFO queues

2018-06-08 Thread Alex Smith
Any feedback on this? On 1 June 2018 at 12:16, Cameron Kumar wrote: > The queue_manager thread can access the images from x11_present_to_x11, > hence this reorder prevents dereferencing of dangling pointers. > > Cc: "18.1" > --- > src/vulkan/wsi/wsi_common_x11.c | 6 +++--- > 1 file changed, 3

Re: [Mesa-dev] [PATCH v2 2/2] i965: Implement ARB_compute_variable_group_size.

2018-06-08 Thread Jordan Justen
On 2018-06-07 08:34:26, Plamena Manolova wrote: > This patch adds the implementation of ARB_compute_variable_group_size > for i965. We do this by storing the group size in a buffer surface, > similarly to the work group number. > > v2: Fix some indentation inconsistencies (Jordan, Ilia) > Do D

Re: [Mesa-dev] [PATCH 00/16] Move the Mesa Website to Sphinx

2018-06-08 Thread Jordan Justen
On Thu, Jun 7, 2018 at 2:56 AM Eero Tamminen wrote: > On 07.06.2018 12:01, Erik Faye-Lund wrote: > > Just as a fun toy, I decided to give an animated SVG "variation" of > > this a go myself: > > > > https://codepen.io/kusma/pen/vrXppL > > > > The actual SVG can be found here: > > > > https://gitla

  1   2   >