Re: [Mesa-dev] [PATCH 3/7] radeonsi: compile all TGSI compute shaders asynchronously

2017-03-17 Thread Christian Inci
This patch results into an infinite, but interruptible, hang when trying to use OpenCL. Not even the piglit quick_cl tests are working. It works fine after revert. System info: Gentoo AMD64 Unstable RX 470 8GB (Polaris 10) LLVM, Clang, Mesa incl. dependencies on Git Master. P.S.: OpenCL on Ola

[Mesa-dev] [PATCH v2] configure.ac: Use POSIX word boundary regex.

2017-03-17 Thread Vinson Lee
Fixes: fe56c745b8cb ("Convert sed(1) syntax to be compatible with FreeBSD and OpenBSD") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100236 Suggested-by: Jan Beich Suggested-by: Michel Dänzer Signed-off-by: Vinson Lee --- configure.ac | 16 1 file changed, 8 insertio

[Mesa-dev] [PATCH 0/2] anv: 48-bit address support

2017-03-17 Thread Jason Ekstrand
This little series adds 48-bit address support to the Vulkan driver. This allows us to advertise heap sizes over 4 GiB on Broadwell hardware and above. On my laptop with 8 GiB of RAM, we now report a heap size of 6 GiB. This series has only been tested lightly because I didn't want to send it to

[Mesa-dev] [PATCH 1/2] anv: Add support for 48-bit addresses

2017-03-17 Thread Jason Ekstrand
This commit adds support for using the full 48-bit address space on Broadwell and newer hardware. Thanks to certain limitations, not all objects can be placed above the 32-bit boundary. In particular, general and state base address need to live within 32 bits. (See also Wa32bitGeneralStateOffset

[Mesa-dev] [PATCH 2/2] anv: Advertise larger heap sizes

2017-03-17 Thread Jason Ekstrand
Instead of just advertising the aperture size, we do something more intelligent. On systems with a full 48-bit PPGTT, we can address 100% of the available system RAM from the GPU. In order to keep clients from burning 100% of your available RAM for graphics resources, we have a nice little heuris

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Timothy Arceri
Pushed, Thanks! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 99789] Memory leak on failure to create an ir_constant in calculate_iterations in loop_controls.cpp

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99789 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] mesa glthread: allow asynchronous pixel transfer operation when a buffer is bound

2017-03-17 Thread Markus Wick
Hi gregory, Am 2017-03-17 10:25, schrieb Gregory Hainaut: diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c index f8cad30..43a70d4 100644 --- a/src/mesa/main/marshal.c +++ b/src/mesa/main/marshal.c @@ -214,6 +218,12 @@ track_vbo_binding(struct gl_context *ctx, GLenum target, GLuint

[Mesa-dev] [Bug 100266] Glitches in blender

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100266 Michel Dänzer changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Mesa-dev] [Bug 79858] Artifacts/Glitches in Blender menu

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79858 Michel Dänzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH 1/5] i965/dri: Store the screen associated with the image

2017-03-17 Thread Ben Widawsky
I intend to need to get to the devinfo structure, and storing the screen is an easy way to do that. It seems to be the consensus that you cannot share an image between multiple screens. Scape-goat: Rob Clark Signed-off-by: Ben Widawsky Reviewed-by: Eric Engestrom Acked-by: Daniel Stone --- s

[Mesa-dev] [PATCH 5/5] i965: Handle X-tiled modifier

2017-03-17 Thread Ben Widawsky
This doesn't really "do" anything because the default tiling for the winsys buffer is X tiled. We do however want the X tiled modifier to work correctly from the API perspective, which would imply that if you set this modifier, and later do a get_modifier, you get back at least X tiled. v2: priori

[Mesa-dev] [PATCH 3/5] i965: Handle the linear fb modifier

2017-03-17 Thread Ben Widawsky
At image creation create a path for dealing with the linear modifier. This works exactly like the old usage flags where __DRI_IMAGE_USE_LINEAR was specified. During development of this patch series, it was decided that a lack of modifier was an insufficient way to express the required modifiers. A

[Mesa-dev] [PATCH 4/5] i965: Handle Y-tiled modifier

2017-03-17 Thread Ben Widawsky
This patch begins introducing how we'll actually handle the potentially many modifiers coming in from the API, how we'll store them, and the structure in the code to support it. Prior to this patch, the Y-tiled modifier would be entirely ignored. It shouldn't actually be used until this point beca

[Mesa-dev] [PATCH 0/5] i965 tiling modifiers

2017-03-17 Thread Ben Widawsky
This was the third chunk of the Renderbuffer Decompression series (aka GBM modifiers). Splitting this up to make merging easier. These patches are plumbing through the existing modifiers (up to the new CCS ones). After this series we should support Y-tiled modifiers properly, thus allowing the mod

[Mesa-dev] [PATCH 2/5] i965: Enable modifier queries

2017-03-17 Thread Ben Widawsky
New to the patch series after reordering things for landing smaller chunks. This will essentially enable modifiers from clients that were just enabled in previous patches. A client could use the modifiers by setting all of them at create, but had no way to actually query them after creating the su

[Mesa-dev] [PATCH] nir: Add positional argument specifiers.

2017-03-17 Thread Vinson Lee
Fix build with Python < 2.7. File "src/compiler/nir/nir_builder_opcodes_h.py", line 46, in from nir_opcodes import opcodes File "src/compiler/nir/nir_opcodes.py", line 178, in unop_convert("{}2{}{}".format(src_t[0], dst_t[0], bit_size), ValueError: zero length field name in format F

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Ville Syrjälä
On Fri, Mar 17, 2017 at 09:13:39AM -0700, Matt Turner wrote: > On Fri, Mar 17, 2017 at 9:05 AM, Jason Ekstrand wrote: > > On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner wrote: > >> > >> On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand > >> wrote: > >> > Older versions of GCC don't like compound lit

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 3:15 PM, Ville Syrjälä wrote: > On Fri, Mar 17, 2017 at 09:13:39AM -0700, Matt Turner wrote: > > On Fri, Mar 17, 2017 at 9:05 AM, Jason Ekstrand > wrote: > > > On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner > wrote: > > >> > > >> On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekst

Re: [Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Grazvydas Ignotas
On Fri, Mar 17, 2017 at 8:05 PM, Alan Swanson wrote: > Since switching to LRU eviction the only user of these predicate > functions now resolves directory entry stats itself so pass them > directly saving calling fstat and strlen twice (and the > expensive strlen is skipped entirely if access time

[Mesa-dev] [PATCH] anv: add the main include directory back

2017-03-17 Thread Grazvydas Ignotas
Fixes build without vulkan.h installed in system header locations: CC vulkan/vulkan_libvulkan_intel_la-anv_gem.lo In file included from vulkan/anv_private.h:66:0, from vulkan/anv_gem.c:31: /opt/xorg/include/vulkan/vulkan_intel.h:27:20: fatal error: vulkan.h: No such file or

[Mesa-dev] [Bug 100266] Glitches in blender

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100266 Bug ID: 100266 Summary: Glitches in blender Product: Mesa Version: 17.0 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium

Re: [Mesa-dev] [RFC libdrm 0/2] Replace the build system with meson

2017-03-17 Thread Marek Olšák
On Fri, Mar 17, 2017 at 5:15 AM, Dylan Baker wrote: > Quoting Marek Olšák (2017-03-16 18:53:59) >> On Fri, Mar 17, 2017 at 12:11 AM, Dylan Baker wrote: >> > Quoting Marek Olšák (2017-03-16 15:36:26) >> >> Is there a way not to use ninja with meson, because ninja redirects >> >> all stderr output

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 --- Comment #6 from Christoph Haag --- My workaround was to revert https://cgit.freedesktop.org/mesa/mesa/commit/?id=191ff914a2c77d7d982048ef21422a209e1e7e06, then make install works. Subsequent builds of git master will then link correctly to

Re: [Mesa-dev] Mesa 17.0.2 release candidate

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 11:07 AM, Emil Velikov wrote: > Hello list, > > The candidate for the Mesa 17.0.2 is now available. Currently we have: > - 42 queued > - 3 nominated (outstanding) > - and 1 rejected patch(es) > > > Current queue consists predominantly of ANV and RADV fixes. The i965, >

Re: [Mesa-dev] [PATCH 1/3] intel: remove blorp_alloc_dynamic_state unused argument

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 12:28 PM, Emil Velikov wrote: > On 17 March 2017 at 19:05, Jason Ekstrand wrote: > > On Fri, Mar 17, 2017 at 10:10 AM, Emil Velikov > > > wrote: > >> > >> On 17 March 2017 at 16:55, Emil Velikov > wrote: > >> > From: Emil Velikov > >> > > >> > The enum aub_state_struct

[Mesa-dev] [Bug 100262] libswrAVX2.so Causes hang with QOpenGLWidget

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100262 ch...@circlecvi.com changed: What|Removed |Added CC||ch...@circlecvi.com -- You are re

[Mesa-dev] [Bug 100262] libswrAVX2.so Causes hang with QOpenGLWidget

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100262 Bug ID: 100262 Summary: libswrAVX2.so Causes hang with QOpenGLWidget Product: Mesa Version: 13.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Sev

Re: [Mesa-dev] [PATCH 1/3] intel: remove blorp_alloc_dynamic_state unused argument

2017-03-17 Thread Emil Velikov
On 17 March 2017 at 19:05, Jason Ekstrand wrote: > On Fri, Mar 17, 2017 at 10:10 AM, Emil Velikov > wrote: >> >> On 17 March 2017 at 16:55, Emil Velikov wrote: >> > From: Emil Velikov >> > >> > The enum aub_state_struct_type type is a seeming left over from the >> > i965 days. Since we don't us

Re: [Mesa-dev] [PATCH 1/3] intel: remove blorp_alloc_dynamic_state unused argument

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 10:10 AM, Emil Velikov wrote: > On 17 March 2017 at 16:55, Emil Velikov wrote: > > From: Emil Velikov > > > > The enum aub_state_struct_type type is a seeming left over from the > > i965 days. Since we don't use we can safely drop it. > > > > As a nice side-effect the on

Re: [Mesa-dev] [PATCH] glsl: use set for copy propagation kills

2017-03-17 Thread Thomas Helland
I have a similar patch locally on my machine. s/list/set in the very last comment in the patch and it is: Reviewed-by: Thomas Helland There are also similar situations in other areas where we can do the same trick. Constant propagation I believe? Afk, so can't check what other passes I looked at

[Mesa-dev] [Bug 100257] Mesa 17.0.1 says OpenGL Core 4.5 even though my Intel HD 520 Graphics Card supports only 4.4

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100257 --- Comment #3 from Eero Tamminen --- Yeah, Windows driver is still stuck on GL 4.4 and product material is pretty Windows centric. (Windows driver supports some additional extensions that Mesa doesn't support yet.) -- You are receiving this

Re: [Mesa-dev] [PATCH v2 00/23] Fix the broken^Wfragile glsl tests

2017-03-17 Thread Kenneth Graunke
On Friday, March 17, 2017 6:19:26 AM PDT Emil Velikov wrote: > Hi all > > A few weeks ago I've notice that the glsl tests have not been executed > for 2+years and attempted to resolve that. Namely: > > - make distcheck - generates and executes 0 (yes zero) tests > - out of tree make check is

[Mesa-dev] [PATCH] docs/releasing: do not pass any arguments to autogen.sh

2017-03-17 Thread Emil Velikov
From: Emil Velikov Things should just work (tm) with the default options. Plus the one we pass is already the default, so just drop it. Signed-off-by: Emil Velikov --- docs/releasing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releasing.html b/docs/releasing.h

[Mesa-dev] Mesa 17.0.2 release candidate

2017-03-17 Thread Emil Velikov
Hello list, The candidate for the Mesa 17.0.2 is now available. Currently we have: - 42 queued - 3 nominated (outstanding) - and 1 rejected patch(es) Current queue consists predominantly of ANV and RADV fixes. The i965, nouveau (nvc0) and radeons has also seen some Improvements. To top it up

[Mesa-dev] [PATCH] util/disk_cache: pass predicate functions file stats directly (v4)

2017-03-17 Thread Alan Swanson
Since switching to LRU eviction the only user of these predicate functions now resolves directory entry stats itself so pass them directly saving calling fstat and strlen twice (and the expensive strlen is skipped entirely if access time is newer). v2: Update for empty cache dir detection changes

Re: [Mesa-dev] [PATCH] mesa glthread: allow asynchronous pixel transfer operation when a buffer is bound

2017-03-17 Thread gregory hainaut
On Fri, 17 Mar 2017 13:11:31 +0100 Markus Wick wrote: > Hi gregory, > > Am 2017-03-17 10:25, schrieb Gregory Hainaut: > > diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c > > index f8cad30..43a70d4 100644 > > --- a/src/mesa/main/marshal.c > > +++ b/src/mesa/main/marshal.c > > @@ -2

Re: [Mesa-dev] [Mesa-stable] [PATCH] radeonsi: add new polaris12 pci id

2017-03-17 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Mar 17, 2017 at 4:17 PM, Alex Deucher wrote: > Cc: 17.0 > Signed-off-by: Alex Deucher > --- > include/pci_ids/radeonsi_pci_ids.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/pci_ids/radeonsi_pci_ids.h > b/include/pci_ids/radeonsi_pc

Re: [Mesa-dev] [PATCH] st/dri: wait for thread to finish before unbinding context

2017-03-17 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Mar 17, 2017 at 1:02 AM, Timothy Arceri wrote: > Fixes a bunch of piglit crashes that hit an assert() when trying > to delete the framebuffer. The assert() was triggered because > WinSysDrawBuffer was set to NULL before glDeleteFramebuffers() > was called.

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 1/3] intel: remove blorp_alloc_dynamic_state unused argument

2017-03-17 Thread Emil Velikov
On 17 March 2017 at 16:55, Emil Velikov wrote: > From: Emil Velikov > > The enum aub_state_struct_type type is a seeming left over from the > i965 days. Since we don't use we can safely drop it. > > As a nice side-effect the only libdrm_intel requirement in src/intel > [outside of tools/aubinator

[Mesa-dev] [Bug 100257] Mesa 17.0.1 says OpenGL Core 4.5 even though my Intel HD 520 Graphics Card supports only 4.4

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100257 --- Comment #2 from Francis Herne --- FWIW, if the Khronos list is up-to-date, the Windows driver really doesn't support 4.5 yet. https://www.khronos.org/conformance/adopters/conformant-products#opengl -- You are receiving this mail because:

[Mesa-dev] [PATCH 1/3] intel: remove blorp_alloc_dynamic_state unused argument

2017-03-17 Thread Emil Velikov
From: Emil Velikov The enum aub_state_struct_type type is a seeming left over from the i965 days. Since we don't use we can safely drop it. As a nice side-effect the only libdrm_intel requirement in src/intel [outside of tools/aubinator] - include intel_aub.h can now be removed. And with next co

[Mesa-dev] [PATCH 3/3] intel: automake: move INTEL_CFLAGS as applicable

2017-03-17 Thread Emil Velikov
From: Emil Velikov Only tools/aubinator requires it [for intel_aub.h]. Signed-off-by: Emil Velikov --- src/intel/Makefile.am | 1 - src/intel/Makefile.tools.am | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am index 63bfd45f

[Mesa-dev] [PATCH 2/3] intel: android: remove libdrm_intel requirement

2017-03-17 Thread Emil Velikov
From: Emil Velikov The only part which requires libdrm_intel tools/aubinator is not built on Android. Signed-off-by: Emil Velikov --- src/intel/Android.blorp.mk| 2 -- src/intel/Android.compiler.mk | 3 --- src/intel/Android.vulkan.mk | 13 ++--- 3 files changed, 6 insertions(+

Re: [Mesa-dev] [PATCH v2 16/16] anv: Turn on inherited queries

2017-03-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 16/03/17 21:34, Jason Ekstrand wrote: It all just works since it's just a hardware register so we might as well turn it on. --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/

Re: [Mesa-dev] [PATCH v2 15/16] anv: Implement pipeline statistics queries

2017-03-17 Thread Lionel Landwerlin
Looks good to me : Reviewed-by: Lionel Landwerlin On 16/03/17 21:34, Jason Ekstrand wrote: From: Ilia Mirkin In the end, pipeline statistics queries look a lot like occlusion queries only with between 1 and 11 begin/end pairs being generated instead of just the one. Reviewed-By: Lionel Land

Re: [Mesa-dev] [PATCH v2 14/16] anv: Disable VF statistics for blorp and SOL memcpy

2017-03-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 16/03/17 21:34, Jason Ekstrand wrote: In order to get accurate statistics, we need to disable statistics for blits, clears, and the surface state memcpy at the top of each secondary command buffer. There are two possible approaches to this: 1) Disable befor

[Mesa-dev] [Bug 100257] Mesa 17.0.1 says OpenGL Core 4.5 even though my Intel HD 520 Graphics Card supports only 4.4

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100257 Jason Ekstrand changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 --- Comment #4 from bellamort...@gmail.com --- Came here to file the exact same bug. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ me

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Matt Turner
On Fri, Mar 17, 2017 at 9:05 AM, Jason Ekstrand wrote: > On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner wrote: >> >> On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand >> wrote: >> > Older versions of GCC don't like compound literals in static const >> > variable declarations because they don't think

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 LoneVVolf changed: What|Removed |Added Version|unspecified |git -- You are receiving this mail because

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 --- Comment #3 from LoneVVolf --- libtool: install: (cd /home/panoramix/Documents/WIP/pkgbuilds/lib32-mesa-git/src/mesa/src/egl; /bin/sh "/home/panoramix/Documents/WIP/pkgbuilds/lib32-mesa-git/src/mesa/libtool" --silent --tag CC --mode=relink g

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 --- Comment #2 from LoneVVolf --- Created attachment 130292 --> https://bugs.freedesktop.org/attachment.cgi?id=130292&action=edit make install phase -- You are receiving this mail because: You are the assignee for the bug. You are the QA Con

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 --- Comment #1 from LoneVVolf --- Created attachment 130291 --> https://bugs.freedesktop.org/attachment.cgi?id=130291&action=edit log of build() phase -- You are receiving this mail because: You are the QA Contact for the bug. You are the as

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 9:05 AM, Jason Ekstrand wrote: > On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner wrote: > >> On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand >> wrote: >> > Older versions of GCC don't like compound literals in static const >> > variable declarations because they don't think

Re: [Mesa-dev] [PATCH] anv/device: init timestampPeriod from devinfo

2017-03-17 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Fri, Mar 17, 2017 at 9:03 AM, Robert Bragg wrote: > I've just pushed an old patch (was already reviewed, but I never followed > up on > it) that added a timebase_scale to gen_device_info so we can use that > instead > here instead. > > --- >8 --- > > Now that ther

Re: [Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 9:04 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Nah ignore me, we don't have any bit field for that in vulkan.h... > Might be nice to rename me like CLIP though ;) > You want 3DSTATE_STREAMOUT statistics renamed? I ca do that easily enough as a follow

[Mesa-dev] [Bug 100259] [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers'

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100259 Bug ID: 100259 Summary: [EGL] [GBM] lib32 undefined reference to `gbm_bo_create_with_modifiers' Product: Mesa Version: unspecified Hardware: x86-64 (AMD64)

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Jason Ekstrand
On Fri, Mar 17, 2017 at 8:45 AM, Matt Turner wrote: > On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand > wrote: > > Older versions of GCC don't like compound literals in static const > > variable declarations because they don't think it's an actual constant > > value. > > Probably because the typ

Re: [Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics

2017-03-17 Thread Lionel Landwerlin
Nah ignore me, we don't have any bit field for that in vulkan.h... Might be nice to rename me like CLIP though ;) On 17/03/17 16:03, Lionel Landwerlin wrote: Do we want to enable statistics on 3DSTATE_STREAMOUT as well? On 16/03/17 21:34, Jason Ekstrand wrote: --- src/intel/vulkan/genX_pipel

[Mesa-dev] [PATCH] anv/device: init timestampPeriod from devinfo

2017-03-17 Thread Robert Bragg
I've just pushed an old patch (was already reviewed, but I never followed up on it) that added a timebase_scale to gen_device_info so we can use that instead here instead. --- >8 --- Now that there's a timebase_scale in gen_device_info which is effectively the 'period' this switches anv_GetPhysic

Re: [Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics

2017-03-17 Thread Lionel Landwerlin
Do we want to enable statistics on 3DSTATE_STREAMOUT as well? On 16/03/17 21:34, Jason Ekstrand wrote: --- src/intel/vulkan/genX_pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index a6ec3b6..bb3e203 100644 ---

Re: [Mesa-dev] [PATCH v2 13/16] anv/pipeline: Enable clipper statistics

2017-03-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 16/03/17 21:34, Jason Ekstrand wrote: --- src/intel/vulkan/genX_pipeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index a6ec3b6..bb3e203 100644 --- a/src/intel/vulkan/genX_pipel

Re: [Mesa-dev] [PATCH v2 12/16] genxml: s/Clipper Statistics Enable/Statistics Enable/

2017-03-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 16/03/17 21:34, Jason Ekstrand wrote: It's in 3DSTATE_CLIP, so it doesn't really need the extra detail. This matches what we do for VS, FS, etc. --- src/intel/genxml/gen6.xml | 2 +- src/intel/genxml/gen7.xml | 2 +- src/intel/genxml/gen75.xml | 2 +- s

Re: [Mesa-dev] [PATCH] i965: Allow a per gen timebase scale factor

2017-03-17 Thread Robert Bragg
On Fri, Jan 6, 2017 at 9:28 PM, Kenneth Graunke wrote: > On Friday, January 6, 2017 1:17:39 PM PST Kenneth Graunke wrote: >> From: Robert Bragg >> >> v2: (Ken) Update timebase_scale for platforms past Skylake/Broxton too. > > Hi Robert! > > Your patch had merge conflicts in gen_device_info.c at t

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Matt Turner
On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand wrote: > Older versions of GCC don't like compound literals in static const > variable declarations because they don't think it's an actual constant > value. Probably because the type it was cast to was explicitly non-const.

[Mesa-dev] [Bug 100257] Mesa 17.0.1 says OpenGL Core 4.5 even though my Intel HD 520 Graphics Card supports only 4.4

2017-03-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100257 Bug ID: 100257 Summary: Mesa 17.0.1 says OpenGL Core 4.5 even though my Intel HD 520 Graphics Card supports only 4.4 Product: Mesa Version: 17.0 Hardware: x86-64 (AMD64)

Re: [Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

2017-03-17 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 16/03/17 21:09, Jason Ekstrand wrote: Older versions of GCC don't like compound literals in static const variable declarations because they don't think it's an actual constant value. --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1

[Mesa-dev] [PATCH] radeonsi: add new polaris12 pci id

2017-03-17 Thread Alex Deucher
Cc: 17.0 Signed-off-by: Alex Deucher --- include/pci_ids/radeonsi_pci_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/pci_ids/radeonsi_pci_ids.h b/include/pci_ids/radeonsi_pci_ids.h index fca47b0..b14291d 100644 --- a/include/pci_ids/radeonsi_pci_ids.h +++ b/include/pci_ids/ra

Re: [Mesa-dev] [PATCH] anv/device: fix timestampPeriod for Broxton

2017-03-17 Thread Lionel Landwerlin
I thought I remembered patches with those numbers in gen_device_info somewhere... Anyway : Reviewed-by: Lionel Landwerlin On 17/03/17 14:41, Robert Bragg wrote: Broxton's reference clock for timestamps runs at 19.2MHz and gives us a period of 52.083 nanoseconds. Signed-off-by: Robert Bragg

[Mesa-dev] [PATCH] anv/device: fix timestampPeriod for Broxton

2017-03-17 Thread Robert Bragg
Broxton's reference clock for timestamps runs at 19.2MHz and gives us a period of 52.083 nanoseconds. Signed-off-by: Robert Bragg --- src/intel/vulkan/anv_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c

[Mesa-dev] [PATCH v2 2/4] glsl: lower sqrt(abs()) and inversesqrt(abs()) if requested

2017-03-17 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/compiler/glsl/ir_optimization.h | 1 + src/compiler/glsl/lower_instructions.cpp | 14 ++ 2 files changed, 15 insertions(+) diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h index 67a7514c7d..b103687973

[Mesa-dev] [PATCH v2 3/4] st/glsl_to_tgsi: enable lower_sqrt() conditionally

2017-03-17 Thread Samuel Pitoiset
It relies on the force_glsl_abs_sqrt driconf option. Signed-off-by: Samuel Pitoiset --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 7b917ebe47..42cdc5

[Mesa-dev] [PATCH] glsl: use set for copy propagation kills

2017-03-17 Thread Timothy Arceri
Previously each time we saw a variable we just created a duplicate entry in the list. This is particularly bad for loops were we add everything twice, and then throw nested loops into the mix and the list was growing expoentially. This stops the glsl-vs-unroll-explosion test which has 16 nested lo

[Mesa-dev] [PATCH v2 16/23] glsl/tests/optimization-test: print only the test basedir/name

2017-03-17 Thread Emil Velikov
From: Emil Velikov The relative/absolute path brings little to no benefit in being printed as testname. Trim it out. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/optimization-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/tests/optimiza

[Mesa-dev] [PATCH v2 15/23] glsl/tests/optimization-test: error if zero tests were executed

2017-03-17 Thread Emil Velikov
From: Emil Velikov We don't want to lie ourselves that 'everything is fine' when no tests were found/ran. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/optimization-test.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/tests/optimization-test.sh b/src/co

[Mesa-dev] [PATCH v2 20/23] glcpp/tests/glcpp-test: error out if we cannot find any tests

2017-03-17 Thread Emil Velikov
From: Emil Velikov Signed-off-by: Emil Velikov --- src/compiler/glsl/glcpp/tests/glcpp-test.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test.sh b/src/compiler/glsl/glcpp/tests/glcpp-test.sh index 474e8ef5307..d98c408f739 100755 --- a/src/comp

[Mesa-dev] [PATCH v2 23/23] glcpp/tests/glcpp-test-cr-lf: error out if we cannot find any tests

2017-03-17 Thread Emil Velikov
From: Emil Velikov Signed-off-by: Emil Velikov --- src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh b/src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh index f0043adba10..c1e39290d39 100

[Mesa-dev] [PATCH v2 17/23] glsl/tests/optimization-test: 'echo' only folders which has generators

2017-03-17 Thread Emil Velikov
From: Emil Velikov The current "let's print any folder which exists" is simply confusing. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/optimization-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/tests/optimization-test.sh b/src/compile

[Mesa-dev] [PATCH v2 10/23] glsl/tests/optimization-test: correctly set compare_ir

2017-03-17 Thread Emil Velikov
From: Emil Velikov Now that we have srcdir we can use it to correctly manage/point to the script. Effectively fixing OOT invokation of `make check'. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/optimization-test.sh | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[Mesa-dev] [PATCH v2 19/23] glcpp/tests/glcpp-test: print only the test basename

2017-03-17 Thread Emil Velikov
From: Emil Velikov Signed-off-by: Emil Velikov --- src/compiler/glsl/glcpp/tests/glcpp-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test.sh b/src/compiler/glsl/glcpp/tests/glcpp-test.sh index 3546a3e0168..474e8ef5307 100755

[Mesa-dev] [PATCH v2 22/23] glcpp/tests/glcpp-test-cr-lf: correctly set/use srcdir/abs_builddir

2017-03-17 Thread Emil Velikov
From: Emil Velikov Otherwise manual invokation of the script from elsewhere than `dirname $0` will fail. With these all the artefacts should be created in the correct location, and thus we can remove the old (and slighly strange) clean-local line. Signed-off-by: Emil Velikov --- src/compiler/

[Mesa-dev] [PATCH v2 21/23] glcpp/tests: update testname in help string

2017-03-17 Thread Emil Velikov
From: Emil Velikov Rather than hardcoding glcpp/other use `basename "$0"` which expands appropriatelly. Signed-off-by: Emil Velikov --- src/compiler/glsl/glcpp/tests/glcpp-test-cr-lf.sh | 2 +- src/compiler/glsl/glcpp/tests/glcpp-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deleti

[Mesa-dev] [PATCH v2 14/23] glsl/tests/optimization-test: pass glsl_test as argument

2017-03-17 Thread Emil Velikov
From: Emil Velikov Rather than hardcoding the binary location (which ends up wrong in a number of occasions) in the python script, pass it as argument. This allows us to remove a couple of dirname/basename workarounds that aimed to keep this working, and succeeded in the odd occasion. Signed-of

[Mesa-dev] [PATCH v2 13/23] glsl/tests/optimization-test: error out if we fail to generate any tests

2017-03-17 Thread Emil Velikov
From: Emil Velikov v2: use -eq over a string comparison (Eric) Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom --- src/compiler/glsl/tests/optimization-test.sh | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/tests/optimization-test.s

[Mesa-dev] [PATCH v2 18/23] glcpp/tests/glcpp-test: set srcdir/abs_builddir variables

2017-03-17 Thread Emil Velikov
From: Emil Velikov Current definitions work fine for the manual invokation of the script, although the whole script does not consider that one can run it OOT. The latter will be handled with latter patches, although it will be extensively using the two variables. Signed-off-by: Emil Velikov --

[Mesa-dev] [PATCH v2 12/23] glsl/tests/optimization-test: correctly manage srcdir/builddir

2017-03-17 Thread Emil Velikov
From: Emil Velikov At the moment we look for generator script(s) in builddir while they are in srcdir, and we proceed to generate the tests and expected output in srcdir, which is not allowed. To untangle: - look for the generator script in the correct place - generate the files in builddir, b

[Mesa-dev] [PATCH v2 08/23] glsl/tests/optimisation-test: make sure that $PYTHON2 is set/available

2017-03-17 Thread Emil Velikov
From: Emil Velikov Otherwise we'll fail when invoking the script outside of "make check" v2: use -ne over a string comparison (Eric) Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom --- src/compiler/glsl/tests/optimization-test.sh | 10 ++ 1 file changed, 10 insertions(+) dif

[Mesa-dev] [PATCH v2 07/23] glsl/tests/warnings-test: print only the test basename

2017-03-17 Thread Emil Velikov
From: Emil Velikov Spamming the log with the (in some cases extremely long) test location is of limited use. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/warnings-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl/tests/warnings-test.sh b/

[Mesa-dev] [PATCH v2 11/23] glsl/tests/optimisation-test: ensure that compare_ir is available

2017-03-17 Thread Emil Velikov
From: Emil Velikov Bail out early if the script is not where we expect it to be. v2: use -f instead of -e. latter returns true on folder(s) Signed-off-by: Emil Velikov --- Eric, -r does not distinguish between files and folders so I've changed to -f and removed your r-b. I think as-is it addre

[Mesa-dev] [PATCH v2 09/23] glsl/tests/optimization-test: add fallback srcdir/abs_builddir defines

2017-03-17 Thread Emil Velikov
From: Emil Velikov There is no robust way to detect either one, so simply hope for the best and warn just in case. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/optimization-test.sh | 13 + 1 file changed, 13 insertions(+) diff --git a/src/compiler/glsl/tests/optimizatio

[Mesa-dev] [PATCH v2 04/23] glsl/tests/warnings-test: add fallback srcdir/abs_builddir defines

2017-03-17 Thread Emil Velikov
From: Emil Velikov There is no robust way to detect either one, so simply hope for the best and warn just in case. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/warnings-test.sh | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/test

[Mesa-dev] [PATCH v2 01/23] glsl/tests: automake: cleanup all artefacts during clean-local

2017-03-17 Thread Emil Velikov
From: Emil Velikov With later commits we'll fix the generators to produce the files in the correct location. That in itself will cause an issue since the files will be left dangling and make distcheck will fail. Cc: Matt Turner Signed-off-by: Emil Velikov --- Matt, do you think we should pick

[Mesa-dev] [PATCH v2 00/23] Fix the broken^Wfragile glsl tests

2017-03-17 Thread Emil Velikov
Hi all A few weeks ago I've notice that the glsl tests have not been executed for 2+years and attempted to resolve that. Namely: - make distcheck - generates and executes 0 (yes zero) tests - out of tree make check is broken - either generates or executes 0 tests, or fails since the glsl_com

[Mesa-dev] [PATCH v2 03/23] glsl/tests/warnings-test: error out if glsl_compiler is missing

2017-03-17 Thread Emil Velikov
From: Emil Velikov ... or non-executable, in particular. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/warnings-test.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler/glsl/tests/warnings-test.sh index 6a52d4064f8..50d

[Mesa-dev] [PATCH v2 06/23] glsl/tests/warnings-test: error if zero tests were executed

2017-03-17 Thread Emil Velikov
From: Emil Velikov We don't want to lie ourselves that 'everything is fine' when no tests were found/ran. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/warnings-test.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler/g

[Mesa-dev] [PATCH v2 05/23] glsl/tests/warnings-test: correctly manage srcdir/builddir

2017-03-17 Thread Emil Velikov
Before this commit, we would effectively fail to run any of the test in a OOT builds. Signed-off-by: Emil Velikov --- src/compiler/glsl/tests/warnings-test.sh | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/tests/warnings-test.sh b/src/compiler

[Mesa-dev] [PATCH v2 02/23] glsl: automake: export abs_builddir for the tests

2017-03-17 Thread Emil Velikov
From: Emil Velikov We're going to use them with the next commits to determine where to put the generated tests and/or built binaries. Signed-off-by: Emil Velikov --- src/compiler/Makefile.glsl.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/M

Re: [Mesa-dev] [PATCH] glapi: avoid using $< in non-suffix make rules

2017-03-17 Thread Emil Velikov
On 17 March 2017 at 06:10, Jonathan Gray wrote: > Using $< in non-suffix make rules is a GNU extension. Explicitly use > the name of the python script to fix the build on OpenBSD. > Thanks Jonathan. R-b and pushed to master. -Emil ___ mesa-dev mailing

  1   2   >