Re: [Mesa-dev] Patchwork has 'Server Error (500)'

2018-03-18 Thread Daniel Stone
Hi Dieter, On 18 March 2018 at 00:48, Dieter Nützel wrote: > @ least, here fromm Germany. > > https://patchwork.freedesktop.org/ > Server Error (500) This is fixed now, and I think that particular problem shouldn't happen again. Cheers, Daniel ___ mes

[Mesa-dev] [Bug 105464] Reading per-patch outputs in Tessellation Control Shader returns undefined values

2018-03-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105464 soredake changed: What|Removed |Added CC||fds...@krutt.org -- You are receiving this

Re: [Mesa-dev] [PATCH 4/5 v6] clover/llvm: Add get_[cl|language]_version, validation and some helpers

2018-03-18 Thread Pierre Moreau
On 2018-03-01 — 20:02, Aaron Watry wrote: > Used to calculate the default CLC language version based on the --cl-std in > build args > and the device capabilities. > > According to section 5.8.4.5 of the 2.0 spec, the CL C version is chosen by: > 1) If you have -cl-std=CL1.1+ use the version spe

[Mesa-dev] [Bug 102542] mesa-17.2.0/src/gallium/state_trackers/nine/nine_ff.c:1938: bad assignment ?

2018-03-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102542 --- Comment #4 from Axel Davy --- Should be fixed by: https://cgit.freedesktop.org/mesa/mesa/commit/?id=f61e9a958bd8d61cb7ca575ca987caefc6edbffd -- You are receiving this mail because: You are the QA Contact for the bug.___

Re: [Mesa-dev] [PATCH 04/11] nir/spirv: add gl_spirv_validation method

2018-03-18 Thread Timothy Arceri
On 08/03/18 19:19, Alejandro Piñeiro wrote: ARB_gl_spirv adds the ability to use SPIR-V binaries, and a new method, glSpecializeShader. From OpenGL 4.6 spec, section 7.2.1 "Shader Specialization", error table: INVALID_VALUE is generated if does not name a valid entry point for

Re: [Mesa-dev] [PATCH 0/6] Shader cache; transform feedback; i965 program-binary

2018-03-18 Thread Timothy Arceri
Thanks for finishing this off Jordan. Series: Reviewed-by: Timothy Arceri On 14/03/18 18:26, Jordan Justen wrote: git://people.freedesktop.org/~jljusten/mesa shader-cache-xform-fb+prog-bin-v1 Patches 1 - 3 remove the restriction preventing the disk shader cache from being enabled if transform

[Mesa-dev] [PATCH v2 3/5] mesa: simplify MESA_GL_VERSION_OVERRIDE behavior of API override

2018-03-18 Thread Andres Gomez
From: Marek Olšák v2: - Provide a correct explanation on the envvars documentation (Ian). - Provide a more correct explanation on the function comments (Andres). Fixes: 2599b92eb97 ("mesa: allow forcing >=3.1 compatibility contexts with MESA_GL_VERSION_OVERRIDE") Cc: Jordan Justen Cc: Ian Ro

[Mesa-dev] [PATCH v2 2/5] dri_util: don't fail when not supporting ARB_compatibility with GL3.1

2018-03-18 Thread Andres Gomez
Currently, any driver that does not support the ARB_compatibility extension will fail on GL3.1 context creation if the application does not request the forward-compatiblity flag. Restore the original check which changes mesa_api to API_OPENGL_CORE, only when: - GL3.1 is requested, without the for

[Mesa-dev] [PATCH 1/5] dri_util: when overriding, always reset the core version

2018-03-18 Thread Andres Gomez
This way we won't fail when validating just because we may have a non overriden core version that is lower than the requested one, even when the compat version is high enough. For example, running glcts from VK-GL-CTS with i965, this will succeed: $ MESA_GL_VERSION_OVERRIDE=4.6 ./glcts --deqp-cas

[Mesa-dev] [PATCH v2 0/5] update MESA_GL_VERSION_OVERRIDE usage and documentation

2018-03-18 Thread Andres Gomez
A second take on this small series. With permission of Marek, I've included and done a new revision of his patch to simplify MESA_GL_VERSION_OVERRIDE. Additionslly, this series includes a correction for the drivers not supporting ARB_compatibility with GL3.1 and, also, the additional change in be

[Mesa-dev] [PATCH 5/5] mesa: adds some comments regarding MESA_GLES_VERSION_OVERRIDE usage

2018-03-18 Thread Andres Gomez
Fixes: 03fd6704db9 ("mesa: Add support for a new override string MESA_GLES_VERSION_OVERRIDE") Cc: Jordan Justen Cc: Ian Romanick Signed-off-by: Andres Gomez Reviewed-by: Emil Velikov --- src/mesa/main/version.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src

[Mesa-dev] [PATCH 4/5] mesa: adjust incorrect comment in texture_buffer_range

2018-03-18 Thread Andres Gomez
From: Marek Olšák --- src/mesa/main/teximage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 928e50d472d..c3f769d58ce 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5458,8 +5458,8 @@ tex

Re: [Mesa-dev] [PATCH v2] egl/android: Implement the eglSwapinterval for Android.

2018-03-18 Thread Wu, Zhongmin
Hi Emil: Thanks very much. Yes, the previous patches (V1) is superseded now. -Original Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Friday, March 16, 2018 22:14 To: Wu, Zhongmin Cc: Tomasz Figa ; ML mesa-dev ; Rob Herring ; Liu, Zhiquan ; Long, Zhifang ; Kondapa

[Mesa-dev] [PATCH 2/3] radv/query: handle multiview queries properly. (v3)

2018-03-18 Thread Dave Airlie
From: Dave Airlie For multiview we need to emit a number of sequential queries depending on the view mask. This avoids dEQP-VK.multiview.queries.15 waiting forever on the CPU for query results that are never coming. We only really want to emit one query, and the rest should be blank (amdvlk doe

[Mesa-dev] [PATCH 1/3] radv/query: split out begin/end query emission

2018-03-18 Thread Dave Airlie
From: Dave Airlie This just splits out the begin/end query hw emissions, it makes it easier to add multiview support for queries. --- src/amd/vulkan/radv_query.c | 98 ++--- 1 file changed, 57 insertions(+), 41 deletions(-) diff --git a/src/amd/vulkan/rad

[Mesa-dev] [PATCH 3/3] radv/query: handle multiview timestamp queries.

2018-03-18 Thread Dave Airlie
From: Dave Airlie For each view bit we need to emit a timestamp query. Fixes: dEQP-VK.multiview.queries* --- src/amd/vulkan/radv_query.c | 79 - 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulk

Re: [Mesa-dev] Patchwork has 'Server Error (500)'

2018-03-18 Thread Dieter Nützel
Works as before. Thanks Daniel! Dieter Am 18.03.2018 16:47, schrieb Daniel Stone: Hi Dieter, On 18 March 2018 at 00:48, Dieter Nützel wrote: @ least, here fromm Germany. https://patchwork.freedesktop.org/ Server Error (500) This is fixed now, and I think that particular problem shouldn't

Re: [Mesa-dev] [PATCH 0/2] nir_instr_worklist for nir_opt_dce V2

2018-03-18 Thread Dieter Nützel
For the series Tested-by: Dieter Nützel running on RX580. Dieter Am 18.03.2018 00:09, schrieb Thomas Helland: This is take two on reducing ralloc overhead in nir_opt_dce. I've ditched the previous solution with a freelist, and instead gone for a wrapper on u_vector. That should remove the ne

Re: [Mesa-dev] [PATCH 1/2] st/glsl_to_nir: gather next_stage in shader_info

2018-03-18 Thread Timothy Arceri
On 28/02/18 03:45, Marek Olšák wrote: On Mon, Feb 26, 2018 at 10:43 AM, Timothy Arceri wrote: --- src/compiler/shader_info.h| 5 + src/mesa/state_tracker/st_glsl_to_nir.cpp | 13 + 2 files changed, 18 insertions(+) diff --git a/src/compiler/shader_info.h

[Mesa-dev] [PATCH] radv/multiview: mark layer_input if we have input attachments.

2018-03-18 Thread Dave Airlie
From: Dave Airlie This fixes: dEQP-VK.multiview.input_attachments* --- src/amd/vulkan/radv_shader_info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_shader_info.c b/src/amd/vulkan/radv_shader_info.c index 7208bd2f587..9c18791524d 100644 --- a/src/a

[Mesa-dev] [PATCH] radv: lower constant initializers on output variables earlier

2018-03-18 Thread Dave Airlie
From: Dave Airlie If a shader only writes to an output via a constant initializer we need to lower it before we call nir_remove_dead_variables so that this pass sees the stores from the initializer and doesn't kill the output. Fixes test failures in new work-in-progress CTS tests: dEQP-VK.spirv_

[Mesa-dev] [PATCH] radv: revert "only enable used channels when exporting parameters"

2018-03-18 Thread Dave Airlie
From: Dave Airlie This pretty much reverts: f3275ca01cddd5d1e999e3805eff42e06ce6e974 Author: Samuel Pitoiset Date: Thu Mar 1 11:54:22 2018 +0100 ac/nir: only enable used channels when exporting parameters To fix a regression in: dEQP-VK.spirv_assembly.instruction.graphics.variable_init.