Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Roland Scheidegger
Am 03.01.19 um 20:50 schrieb Jason Ekstrand: > > The problem you're describing is in converting from NIR to another IR, > > not to hardware.  In LLVM they made a choice to put types on SSA > values > > but then to have the actual semantics be based on the instruction > >

[Mesa-dev] [PATCH] st/nine: Ignore null sized windows

2019-01-03 Thread Axel Davy
If for some reason the window size detected is null, just render at normal size. Fixes the regression caused by: commit 2318ca68bbeb4fa6e21a4d8c650cec3f64246596 "st/nine: Handle window resize when a presentation buffer is used" Fixes: https://github.com/iXit/Mesa-3D/issues/331 Fixes:

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Jason Ekstrand
On Thu, Jan 3, 2019 at 2:03 PM Bas Nieuwenhuizen wrote: > On Thu, Jan 3, 2019 at 6:59 PM Jason Ekstrand > wrote: > > > > On Thu, Jan 3, 2019 at 3:39 AM Erik Faye-Lund < > erik.faye-l...@collabora.com> wrote: > >> > >> On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: > >> > On Wed, Jan

Re: [Mesa-dev] [PATCH 6/7] util/queue: add util_queue_adjust_num_threads

2019-01-03 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 11/28/18 6:59 PM, Marek Olšák wrote: > From: Marek Olšák > > for ARB_parallel_shader_compile > --- > src/util/u_queue.c | 50 -- > src/util/u_queue.h | 8 > 2 files changed, 52 insertions(+), 6

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Bas Nieuwenhuizen
On Thu, Jan 3, 2019 at 6:59 PM Jason Ekstrand wrote: > > On Thu, Jan 3, 2019 at 3:39 AM Erik Faye-Lund > wrote: >> >> On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: >> > On Wed, Jan 2, 2019 at 9:43 AM Ilia Mirkin >> > wrote: >> > > Have a look at the first 4 patches in the series

Re: [Mesa-dev] [PATCH 5/7] util/queue: hold a lock when reading num_threads in util_queue_finish

2019-01-03 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 11/28/18 6:59 PM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/util/u_queue.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/util/u_queue.c b/src/util/u_queue.c > index 5aaf60ae78e..612ad5e83c6 100644 >

Re: [Mesa-dev] [PATCH 4/7] util/queue: add ability to kill a subset of threads

2019-01-03 Thread Ian Romanick
On 11/28/18 6:59 PM, Marek Olšák wrote: > From: Marek Olšák > > for ARB_parallel_shader_compile > --- > src/util/u_queue.c | 49 +- > src/util/u_queue.h | 5 ++--- > 2 files changed, 33 insertions(+), 21 deletions(-) > > diff --git

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Jason Ekstrand
On Thu, Jan 3, 2019 at 1:37 PM Roland Scheidegger wrote: > Am 03.01.19 um 18:58 schrieb Jason Ekstrand: > > On Thu, Jan 3, 2019 at 3:39 AM Erik Faye-Lund > > mailto:erik.faye-l...@collabora.com>> > wrote: > > > > On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: > > > On Wed, Jan

Re: [Mesa-dev] [PATCH 3/7] util/queue: move thread creation into a separate function

2019-01-03 Thread Ian Romanick
Looks to be a simple enough refactor. This patch is Reviewed-by: Ian Romanick On 11/28/18 6:59 PM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/util/u_queue.c | 56 ++ > 1 file changed, 32 insertions(+), 24 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH 1/7] mesa: implement ARB/KHR_parallel_shader_compile

2019-01-03 Thread Ian Romanick
On 1/3/19 11:40 AM, Ian Romanick wrote: > On 11/28/18 6:59 PM, Marek Olšák wrote: >> From: Marek Olšák >> >> Tested by piglit. > > It doesn't look like there are any piglit test Ignore that. I started typing, checked the piglit list, then forgot to delete it. >> --- >> docs/features.txt

Re: [Mesa-dev] [PATCH 1/7] mesa: implement ARB/KHR_parallel_shader_compile

2019-01-03 Thread Ian Romanick
On 11/28/18 6:59 PM, Marek Olšák wrote: > From: Marek Olšák > > Tested by piglit. It doesn't look like there are any piglit test > --- > docs/features.txt | 2 +- > docs/relnotes/19.0.0.html | 2 ++ > src/mapi/glapi/gen/gl_API.xml | 15

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Roland Scheidegger
Am 03.01.19 um 18:58 schrieb Jason Ekstrand: > On Thu, Jan 3, 2019 at 3:39 AM Erik Faye-Lund > mailto:erik.faye-l...@collabora.com>> wrote: > > On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: > > On Wed, Jan 2, 2019 at 9:43 AM Ilia Mirkin > >

Re: [Mesa-dev] [PATCH mesa 1/2] docs: fix the meson aarch64 cross-file

2019-01-03 Thread Dylan Baker
Quoting Eric Engestrom (2019-01-03 08:37:03) > `gcc-ar` is preferred over the generic `ar`, and the `arm` family is > for 32-bit ARM [1]. > > [1] https://mesonbuild.com/Reference-tables.html#cpu-families > > Signed-off-by: Eric Engestrom > --- > docs/meson.html | 4 ++-- > 1 file changed, 2

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Jason Ekstrand
On Thu, Jan 3, 2019 at 3:39 AM Erik Faye-Lund wrote: > On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: > > On Wed, Jan 2, 2019 at 9:43 AM Ilia Mirkin > > wrote: > > > Have a look at the first 4 patches in the series from Jonathan > > > Marek > > > to address some of these issues: > > >

[Mesa-dev] MR: ARB_gl_spirv xfb improvement

2019-01-03 Thread apinheiro
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/63 This series started as just trying to use the general NIR xfb gathering pass, added for Vulkan consumption, and ended fixing some corner cases on such gathering, and on the ARB_gl_spirv support for xfb itself. All that can be tested on

[Mesa-dev] MR: i965: fix VF cache issue workaround

2019-01-03 Thread Lionel Landwerlin
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/62 A small series to fix an issue observed in Blender : https://bugs.freedesktop.org/show_bug.cgi?id=109072 Cheers, - Lionel ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH mesa 2/2] docs: advertise distro-provided meson cross-files

2019-01-03 Thread Eric Engestrom
Hopefully we can kick start the revolution and other distros will start providing them as well :) Signed-off-by: Eric Engestrom --- docs/meson.html | 9 + 1 file changed, 9 insertions(+) diff --git a/docs/meson.html b/docs/meson.html index eff13aa1c515825eb564..082333b19d3673af1340

[Mesa-dev] [PATCH mesa 1/2] docs: fix the meson aarch64 cross-file

2019-01-03 Thread Eric Engestrom
`gcc-ar` is preferred over the generic `ar`, and the `arm` family is for 32-bit ARM [1]. [1] https://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by: Eric Engestrom --- docs/meson.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/meson.html

[Mesa-dev] [Bug 108900] Non-recoverable GPU hangs with GfxBench v5 Aztec Ruins Vulkan test

2019-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108900 Eero Tamminen changed: What|Removed |Added See Also||https://bugs.freedesktop.or

[Mesa-dev] [Bug 109058] Machine freezes during early stages of gfxbench startup

2019-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109058 --- Comment #3 from Eero Tamminen --- (In reply to cstout from comment #0) > Is this hardware known to work? > Is there a recommended test app to validate that the driver works on my > system? > I'm trying to run gfxbench 5.0, the

Re: [Mesa-dev] [PATCH] virgl: use primconvert provoking vertex properly

2019-01-03 Thread Gert Wollny
Am Donnerstag, den 03.01.2019, 14:28 +0100 schrieb Gert Wollny: > Tested it, looks fine, > Reviewed-By: Gert Wollny Sorry, that should be > > Am Freitag, den 28.12.2018, 16:54 +1000 schrieb Dave Airlie: > > From: Dave Airlie > > > > This stores the raster state and calls the correct

Re: [Mesa-dev] [PATCH] virgl: use primconvert provoking vertex properly

2019-01-03 Thread Gert Wollny
Tested it, looks fine, Reviewed-By: Gert Wollny Am Freitag, den 28.12.2018, 16:54 +1000 schrieb Dave Airlie: > From: Dave Airlie > > This stores the raster state and calls the correct primconvert > interface > using the currently bound raster state. > > This fixes piglit glsl-fs-flat-color >

[Mesa-dev] st/va: Return correct status from vlVaQuerySurfaceStatus

2019-01-03 Thread Das, Indrajit-kumar
From: Indrajit Das Date: Thu, 3 Jan 2019 14:36:33 +0530 Subject: [PATCH] st/va: Return correct status from vlVaQuerySurfaceStatus Signed-off-by: Indrajit Das --- src/gallium/state_trackers/va/surface.c | 31 + 1 file changed, 31 insertions(+) diff --git

Re: [Mesa-dev] NIR constant problem for GPU which doesn't have native integer support

2019-01-03 Thread Erik Faye-Lund
On Wed, 2019-01-02 at 10:16 -0600, Jason Ekstrand wrote: > On Wed, Jan 2, 2019 at 9:43 AM Ilia Mirkin > wrote: > > Have a look at the first 4 patches in the series from Jonathan > > Marek > > to address some of these issues: > > > > https://patchwork.freedesktop.org/series/54295/ > > > > Not

[Mesa-dev] DriConf replacement

2019-01-03 Thread Rithvik Patibandla
Hi, I am a college senior from India. I have been looking for new open source projects that I can contribute to and I found a project idea on Xorg's website named `DriConf replacement` [1]. I want to work on this project and I was wondering if it is still open and up-for-grabs? If yes, can

Re: [Mesa-dev] [PATCH v2 28/53] intel/compiler: add new half-float register type for 3-src instructions

2019-01-03 Thread Iago Toral
On Thu, 2019-01-03 at 10:25 +0200, Pohjolainen, Topi wrote: > On Thu, Jan 03, 2019 at 07:50:03AM +0100, Iago Toral wrote: > > On Wed, 2019-01-02 at 11:35 +0200, Pohjolainen, Topi wrote: > > > On Wed, Dec 19, 2018 at 12:50:56PM +0100, Iago Toral Quiroga > > > wrote: > > > > This is available since

Re: [Mesa-dev] [PATCH v2 28/53] intel/compiler: add new half-float register type for 3-src instructions

2019-01-03 Thread Pohjolainen, Topi
On Thu, Jan 03, 2019 at 07:50:03AM +0100, Iago Toral wrote: > On Wed, 2019-01-02 at 11:35 +0200, Pohjolainen, Topi wrote: > > On Wed, Dec 19, 2018 at 12:50:56PM +0100, Iago Toral Quiroga wrote: > > > This is available since gen8. > > > --- > > > src/intel/compiler/brw_reg_type.c | 35 > > >

Re: [Mesa-dev] [PATCH v2 13/53] intel/compiler: add a helper to handle conversions to 64-bit in atom

2019-01-03 Thread Iago Toral
Thanks Curro, I'll check it out. Iago On Wed, 2019-01-02 at 15:00 -0800, Francisco Jerez wrote: > This patch is redundant with the regioning lowering pass I sent a few > days ago [1]. The problem with this approach is that on the one hand > it's easy for the back-end compiler to cause code