[Mesa-dev] [Bug 99119] swr_fence_work.cpp(42): error: argument of type "std::nullptr_t" is incompatible with parameter of type "unsigned long"

2016-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99119 Bruce Cherniak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Mesa-dev] [PATCH v2 0/3] gallium driver for Vivante GPUs

2016-12-23 Thread Christian Gmeiner
As the original patchstack is now about 300 patches, I have choosen to squash the patches together into three different parts. - renderonly library A lightweight library to add basic infrastructure for renderonly GPUs. With this library it is possible to run wayland or and other kms egl apps

[Mesa-dev] [PATCH v2 3/3] imx: gallium driver for imx-drm scanout driver

2016-12-23 Thread Christian Gmeiner
Changes from V1 -> V2: - updated Copyright - added $(top_srcdir)/src/gallium/winsys to include path (suggested by Emil) - adapted driver to new renderonly API Signed-off-by: Christian Gmeiner --- configure.ac | 12 ++ src/gallium/Makefile.am

[Mesa-dev] [PATCH v2 1/3] gallium: add renderonly library

2016-12-23 Thread Christian Gmeiner
This a very lightweight library to add basic support for renderonly GPUs. A kms gallium driver must specify how a renderonly_scanout objects gets created. Also it must provide file handles to the used kms device and the used gpu device. This could look like: struct renderonly ro = { .create_for

[Mesa-dev] [RFC] loader: Automatic PRIME detection

2016-12-23 Thread Thierry Reding
From: Thierry Reding If a device doesn't support rendering and support for PRIME isn't enabled via the DRI_PRIME environment variable or dri.conf, attempt to find a render node which can be used to offload rendering. Signed-off-by: Thierry Reding --- Along with platform and host1x bus support i

[Mesa-dev] [PATCH 1/2] loader: Add support for USB devices

2016-12-23 Thread Thierry Reding
From: Thierry Reding Allow USB devices to be used as output slaves for PRIME. Note that this currently doesn't work on the X.Org server's built-in modesetting driver because it requires glamor in order to expose the necessary capabilities through RandR. It should be possible to use this in order

[Mesa-dev] [PATCH 2/2] loader: Add support for platform and host1x busses

2016-12-23 Thread Thierry Reding
From: Thierry Reding ARM SoCs usually have their DRM/KMS devices on the platform bus, so add support for this bus in order to allow use of the DRI_PRIME environment variable with those devices. While at it, also support the host1x bus, which is effectively the same but uses an additional layer i

[Mesa-dev] [PATCH v4] anv: fix multiple creation with internal failure

2016-12-23 Thread Lionel Landwerlin
The specification section 9.4 says : When an application attempts to create many pipelines in a single command, it is possible that some subset may fail creation. In that case, the corresponding entries in the pPipelines output array will be filled with VK_NULL_HANDLE values. If any pi

Re: [Mesa-dev] [PATCH v2] anv: fix multiple creation with internal failure

2016-12-23 Thread Eduardo Lima Mitev
On 12/23/2016 05:39 PM, Lionel Landwerlin wrote: > The specification section 9.4 says : > >When an application attempts to create many pipelines in a single >command, it is possible that some subset may fail creation. In that >case, the corresponding entries in the pPipelines output ar

[Mesa-dev] [PATCH v3] anv: fix multiple creation with internal failure

2016-12-23 Thread Lionel Landwerlin
The specification section 9.4 says : When an application attempts to create many pipelines in a single command, it is possible that some subset may fail creation. In that case, the corresponding entries in the pPipelines output array will be filled with VK_NULL_HANDLE values. If any pi

[Mesa-dev] [PATCH v2] anv: fix multiple creation with internal failure

2016-12-23 Thread Lionel Landwerlin
The specification section 9.4 says : When an application attempts to create many pipelines in a single command, it is possible that some subset may fail creation. In that case, the corresponding entries in the pPipelines output array will be filled with VK_NULL_HANDLE values. If any pi

[Mesa-dev] [PATCH] anv: fix multiple creation with internal failure

2016-12-23 Thread Lionel Landwerlin
The specification section 9.4 says : When an application attempts to create many pipelines in a single command, it is possible that some subset may fail creation. In that case, the corresponding entries in the pPipelines output array will be filled with VK_NULL_HANDLE values. If any pi

Re: [Mesa-dev] [PATCH] [rfc] spirv: work around doom shaders having load/store to sampler types

2016-12-23 Thread Jason Ekstrand
Bah... It's definitely illegal. I had fix glslang myself. I have some NIR reworks planned that would make this work "properly" but it's a bit more complicated than this hack. That said, I'm very reluctant to fix app bugs in our driver. There are a lot of ways apps can go wrong with Vulkan and w

Re: [Mesa-dev] [PATCH] i965/fs: fix exec_size when emitting DIM instruction

2016-12-23 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2] nir/algebraic: Add optimizations for "a == a && a CMP b"

2016-12-23 Thread Grazvydas Ignotas
On Thu, Dec 22, 2016 at 11:54 PM, Jason Ekstrand wrote: > This sequence shows up The Talos Principal, at least under Vulkan, Not really important, except maybe when looking for patches affecting the game, but I've noticed you keep calling it "Principal", while the game is "The Talos Principle".

Re: [Mesa-dev] [PATCH] vulkan/wsi/x11: don't crash on null visual

2016-12-23 Thread Eero Tamminen
Hi, Either this, or the other commit fixed segfault with vkreplay on DOTA2 Vulkan trace (segfault happened in trace before DOTA2 came to its main menu). - Eero On 23.12.2016 00:10, Jason Ekstrand wrote: pushed On Thu, Dec 22, 2016 at 1:56 PM, Jason Ekstrand mailto:ja...@jlekstrand.

Re: [Mesa-dev] [PATCH] i965/generator/tex: Handle an immediate sampler with an indirect texture

2016-12-23 Thread Eduardo Lima Mitev
Looks good, Reviewed-by: Eduardo Lima Mitev thanks! On 12/23/2016 01:14 AM, Jason Ekstrand wrote: > In this case we were dying when we tried to do SHL addr sampler imm(8) > because that puts an immediate in src0 of a two source instruction. This > fixes 2704 of the new separate sampler Vulkan C

Re: [Mesa-dev] [PATCH] radv: fix rendering to b10g11r11_ufloat_pack32

2016-12-23 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Fri, Dec 23, 2016 at 7:43 AM, Dave Airlie wrote: > From: Dave Airlie > > doom was causing a printf about an illegal color, it was due the > non-void returning -1, and the other function checking for 4, > align these. > > Signed-off-by: Dave Airlie > --- > src

Re: [Mesa-dev] [PATCH] radv: handle multi-component shared load/stores.

2016-12-23 Thread Bas Nieuwenhuizen
On Fri, Dec 23, 2016 at 6:42 AM, Dave Airlie wrote: > From: Dave Airlie > > This was seen in doom shaders, so handle it properly. I was trying to just change the type and keep a single load/store. Turns out that has some issues indeed, and is not that helpful for shared accesses anyway, as LLVM

Re: [Mesa-dev] [PATCH 0/5] nvc0: better instruction pipelining for Maxwell GPUs

2016-12-23 Thread Mike Lothian
Thanks for all your work on Nouveau and I look forward to your contributions to radeonsi On Thu, 22 Dec 2016 at 23:16 Samuel Pitoiset wrote: > Hello, > > This series makes use of the scheduling control code in order to improve > the > instruction pipelining on Maxwell GPUs. > > Starting with the