[Mesa-dev] [PATCH 01/13] i965: Set the r8stencil flag in miptree_finish_write

2018-06-12 Thread Nanley Chery
This seems to be the most appropriate place. --- src/mesa/drivers/dri/i965/brw_blorp.c | 6 +- src/mesa/drivers/dri/i965/brw_clear.c | 8 src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 +++- src/mesa/drivers/dri/i965/intel_tex_image.c | 3 --- 4 files changed, 4

[Mesa-dev] [Bug 106903] radv: Fragment shader output goes to wrong attachments when render targets are sparse

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106903 Bug ID: 106903 Summary: radv: Fragment shader output goes to wrong attachments when render targets are sparse Product: Mesa Version: git Hardware: Other

Re: [Mesa-dev] [PATCH 2/2] nir: add lowering for gl_HelperInvocation

2018-06-12 Thread Rob Clark
On Mon, Jun 11, 2018 at 10:59 PM, Roland Scheidegger wrote: > Am 12.06.2018 um 01:17 schrieb Rob Clark: >> On Mon, Jun 11, 2018 at 6:59 PM, Roland Scheidegger >> wrote: >>> Am 12.06.2018 um 00:32 schrieb Jason Ekstrand: On Wed, Jun 6, 2018 at 7:43 AM, Rob Clark >>>

Re: [Mesa-dev] [PATCH 46/48] appveyor: Add support for meson as well as scons

2018-06-12 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-12 04:46:19) > On Monday, 2018-06-11 15:56:13 -0700, Dylan Baker wrote: > > This currently builds softpipe only > > --- > > appveyor.yml | 28 +++- > > 1 file changed, 19 insertions(+), 9 deletions(-) > > > > diff --git a/appveyor.yml

[Mesa-dev] winsys/svga/drm: Include sys/types.h

2018-06-12 Thread Ross Burton
From: Khem Raj vmw_screen.h uses dev_t which is defines in sys/types.h this header is required to be included for getting dev_t definition. This issue happens on musl C library, it is hidden on glibc since sys/types.h is included through another system headers Upstream-Status: Submitted

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

2018-06-12 Thread Samuel Pitoiset
Very nice. :-) Reviewed-by: Samuel Pitoiset On 06/09/2018 03:23 AM, Timothy Arceri wrote: --- CMakeLists.txt | 1 + run.c | 169 +++-- 2 files changed, 121 insertions(+), 49 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt

[Mesa-dev] [PATCH v2 0/2] nv50/ir: SHLADD related improvements

2018-06-12 Thread Rhys Perry
This series implements an alternative solution to the problem fixed in 0bd83d0 ("nv50/ir: move LateAlgebraicOpt to the very end"). Overall, it slightly helps various shaders while slightly hurting a few others. Effects of both patches: total instructions in shared programs : 5265148 -> 5256901

[Mesa-dev] [PATCH v2 2/2] nv50/ir: move LateAlgebraicOpt back to right after ConstantFolding

2018-06-12 Thread Rhys Perry
Reverts 3072bbe ("nv50/ir: move LateAlgebraicOpt to the very end") since SHLADD is now handled in IndirectPropagation. total instructions in shared programs : 5264804 -> 5256901 (-0.15%) total gprs used in shared programs: 624341 -> 624328 (-0.00%) total shared used in shared programs :

[Mesa-dev] [PATCH v2 1/2] nv50/ir: handle SHLADD in IndirectPropagation

2018-06-12 Thread Rhys Perry
An alternative solution to the problem fixed in 0bd83d0 ("nv50/ir: move LateAlgebraicOpt to the very end"). total instructions in shared programs : 5265148 -> 5264804 (-0.01%) total gprs used in shared programs: 624346 -> 624341 (-0.00%) total shared used in shared programs : 360704 ->

Re: [Mesa-dev] [PATCH] virgl: add ARB_tessellation_shader support.

2018-06-12 Thread Elie Tournier
On Fri, Jun 08, 2018 at 03:15:36PM +1000, Dave Airlie wrote: > From: Dave Airlie > > This should add all the pieces to enable tess shaders on virgl. Hi I think that we also need to add the following code: --- a/src/gallium/drivers/virgl/virgl_winsys.h +++

Re: [Mesa-dev] [PATCH v2 1/2] nv50/ir: handle SHLADD in IndirectPropagation

2018-06-12 Thread Karol Herbst
this can potentially lead to worse code, but shladd is usually only used in regards to load, and the shader-db result also states there are no regressions. I would really like to be able to do certain ops conditionally, but that's kind of a bigger project. Anyway... Reviewed-by: Karol Herbst On

Re: [Mesa-dev] [PATCH v1] configure.ac: Missed package 'wayland-egl-backend'

2018-06-12 Thread Eric Engestrom
On Tuesday, 2018-06-12 11:07:40 -0500, Aaron Watry wrote: > On Tue, Jun 12, 2018 at 10:31 AM, Eric Engestrom > wrote: > > On Tuesday, 2018-06-12 18:22:03 +0300, Sergii Romantsov wrote: > >> Added support of wayland-egl-backend for old Ubuntus. > >> Building of mesa with parameter

Re: [Mesa-dev] [PATCH 44/48] meson: add windows specific linker flags

2018-06-12 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-12 04:38:04) > On Monday, 2018-06-11 15:56:11 -0700, Dylan Baker wrote: > > --- > > meson.build | 21 + > > 1 file changed, 21 insertions(+) > > > > diff --git a/meson.build b/meson.build > > index a244694fd4a..e1b3afbe688 100644 > > ---

Re: [Mesa-dev] [PATCH 14/48] meson: don't build shader cache on windows

2018-06-12 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-12 04:30:47) > On Monday, 2018-06-11 15:55:41 -0700, Dylan Baker wrote: > > --- > > meson.build | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meson.build b/meson.build > > index 4247d195bc1..ed63276b63e 100644 > > --- a/meson.build

Re: [Mesa-dev] [PATCH 26/48] meson: fix pipe-loader compilation for windows

2018-06-12 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-12 03:39:17) > On Monday, 2018-06-11 15:55:53 -0700, Dylan Baker wrote: > > --- > > src/gallium/auxiliary/pipe-loader/meson.build | 9 +++-- > > 1 file changed, 7 insertions(+), 2 deletions(-) > > > > diff --git a/src/gallium/auxiliary/pipe-loader/meson.build

Re: [Mesa-dev] [PATCH 35/48] util/tests: Use define instead of VLA

2018-06-12 Thread Dylan Baker
Quoting Eric Engestrom (2018-06-12 04:01:57) > On Monday, 2018-06-11 15:56:02 -0700, Dylan Baker wrote: > > To allow the this test to be built with MSVC, which doesn't support > > VLAs. > > --- > > src/util/tests/hash_table/clear.c | 13 +++-- > >

[Mesa-dev] [PATCH] intel/fs: use uint type for per_slot_offset at GS

2018-06-12 Thread Jose Maria Casanova Crespo
This helps us to compact original instruction: mul(8) g3<1>D g6<8,8,1>UD 0x0006UD { align1 1Q }; So now we emit: mul(8) g3<1>UD g6<8,8,1>UD 0x0006UD { align1 1Q compacted }; --- src/intel/compiler/brw_fs_visitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH] configure.ac/meson.build: Add options for library suffixes

2018-06-12 Thread bmgordon
From: Benjamin Gordon When building the Chrome OS Android container, we need to build copies of mesa that don't conflict with the Android system-supplied libraries. This adds options to create suffixed versions of EGL and GLES libraries: libEGL.so -> libEGL${egl-lib-suffix}.so libGLESv1_CM.so

<    1   2