[Mesa-dev] [PATCH 1/4] mesa: add DisjointOperation to gl_shared_state

2017-11-19 Thread Tapani Pälli
This state will be used by EXT_disjoint_timer_query. As first usage, patch sets DisjointOperation true when gpu reset happens. Signed-off-by: Tapani Pälli --- src/mesa/main/mtypes.h | 8 src/mesa/main/robustness.c | 1 + 2 files changed, 9 insertions(+)

[Mesa-dev] [PATCH 0/4] enable GL_EXT_disjoint_timer_query

2017-11-19 Thread Tapani Pälli
This series enables mostly existing functionality but adds the disjoint state required by this extension. WebGL tests seem to utilize desktop extension GL_EXT_timer_query but I wrote a separate simple Piglit test for this. Tapani Pälli (4): mesa: add DisjointOperation to gl_shared_state i965:

[Mesa-dev] [PATCH 2/4] i965: set DisjointOperation true on timestamp overflow

2017-11-19 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/drivers/dri/i965/brw_queryobj.c | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c b/src/mesa/drivers/dri/i965/brw_queryobj.c index bd3f5738eb..b7885430c6 100644 ---

[Mesa-dev] [PATCH 3/4] glapi: add GL_EXT_disjoint_timer_query

2017-11-19 Thread Tapani Pälli
Most entrypoints already available via other extensions like GL_EXT_occlusion_query_boolean, GL_EXT_timer_query. Signed-off-by: Tapani Pälli --- src/mapi/glapi/gen/es_EXT.xml | 16 src/mapi/glapi/gen/gl_API.xml | 4 ++--

[Mesa-dev] [PATCH 4/4] mesa: enable GL_EXT_disjoint_timer_query extension

2017-11-19 Thread Tapani Pälli
Add GL_GPU_DISJOINT_EXT and enable extension when ARB_timer_query is supported by the driver. Following dEQP cases pass: dEQP-EGL.functional.get_proc_address.extension.gl_ext_disjoint_timer_query dEQP-EGL.functional.client_extensions.disjoint Piglit test 'ext_disjoint_timer_query-simple'

Re: [Mesa-dev] [PATCH v4] i965 : optimized bucket index calculation

2017-11-19 Thread Muthukumar, Aravindan
Hi Ian, Could you please review the below version of the patch and provide the comments? All the comments which were given in the previous versions are incorporated. Thanks, Aravindan > -Original Message- > From: Muthukumar, Aravindan > Sent: Thursday, November 9, 2017 11:15 AM

[Mesa-dev] [PATCH 2/2] ac/nir: don't write tcs outputs to LDS that aren't read back.

2017-11-19 Thread Dave Airlie
From: Dave Airlie If the TCS doesn't read back the outputs, no need to store them to LDS in the first place. (except for tess factors). This seems to give about 50fps (3290->3330) with tessellation demo. I haven't tested if it impacts DoW3 at all. Signed-off-by: Dave

[Mesa-dev] [PATCH 1/2] nir: fill outputs_read field and add patch outputs read (v2)

2017-11-19 Thread Dave Airlie
From: Dave Airlie This is to be used for TCS optimisations on radv. v2: don't set written on reads (nha) --- src/compiler/nir/nir_gather_info.c | 40 ++ src/compiler/shader_info.h | 2 ++ 2 files changed, 30 insertions(+), 12

[Mesa-dev] [AppVeyor] mesa master #6206 completed

2017-11-19 Thread AppVeyor
Build mesa 6206 completed Commit 59ca0c4b44 by Dave Airlie on 11/19/2017 11:19 PM: docs/features: mark some r600 extensions supported\n\nThese just looked to be missed when this file was updated.\n\nSigned-off-by: Dave Airlie

Re: [Mesa-dev] [PATCH] glsl: Catch subscripted calls to undeclared subroutines

2017-11-19 Thread Timothy Arceri
Thanks for the fix! I've pushed the patch to master. On 19/11/17 21:55, George Barrett wrote: generate_array_index fails to check whether the target of a subroutine call exists in the AST, potentially passing around null ir_rvalue pointers eventuating in abort/segfault. Fixes:

[Mesa-dev] [Bug 100438] glsl/ir.cpp:1376: ir_dereference_variable::ir_dereference_variable(ir_variable*): Assertion `var != NULL' failed.

2017-11-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100438 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [AppVeyor] mesa master #6205 failed

2017-11-19 Thread AppVeyor
Build mesa 6205 failed Commit f09c2cefdd by George Barrett on 11/19/2017 10:55 AM: glsl: Catch subscripted calls to undeclared subroutines\n\ngenerate_array_index fails to check whether the target of a subroutine\ncall exists in the AST, potentially passing

[Mesa-dev] [PATCH] r600: add cull distance support

2017-11-19 Thread Dave Airlie
From: Dave Airlie This passes all the tests in piglit. Signed-off-by: Dave Airlie --- docs/features.txt| 2 +- docs/relnotes/17.4.0.html| 1 + src/gallium/drivers/r600/evergreen_state.c | 4 ++--

[Mesa-dev] GPU (and system) monitoring

2017-11-19 Thread Gordon Haverland
Greetings. I've been lurking a long time. There is perhaps too much introduction here. Why I've been lurking was related to OpenCL (and btrfs) issues related to some upgrading of hardware and software I have on my LAN when time permitted. Well, winter arrived and now there isn't quite so much

Re: [Mesa-dev] [PATCH v3 20/43] i965/fs: Add byte scattered write message and fs support

2017-11-19 Thread Chema Casanova
On 31/10/17 01:02, Jason Ekstrand wrote: > On Thu, Oct 12, 2017 at 11:38 AM, Jose Maria Casanova Crespo > > wrote: > > Signed-off-by: Jose Maria Casanova Crespo > >

[Mesa-dev] [PATCH] freedreno/a4xx: add stencil texturing support

2017-11-19 Thread Ilia Mirkin
Copied from a5xx, should be identical. Signed-off-by: Ilia Mirkin --- docs/features.txt| 6 ++--- src/gallium/drivers/freedreno/a4xx/fd4_emit.c| 2 ++ src/gallium/drivers/freedreno/a4xx/fd4_format.c | 11 +---

[Mesa-dev] [PATCH 1/2] nir: allow texture offsets with cube maps

2017-11-19 Thread Ilia Mirkin
GL doesn't have this, but some hardware supports it. This is convenient for lowering tg4 to plain texture calls, which is necessary on Adreno A4xx hardware. Signed-off-by: Ilia Mirkin --- src/compiler/nir/nir.h | 15 +-- 1 file changed, 13 insertions(+), 2

[Mesa-dev] [PATCH 2/2] freedreno/ir3: add a pass to lower tg4 to txl, enable gather on a4xx

2017-11-19 Thread Ilia Mirkin
Unfortunately Adreno A4xx hardware returns incorrect results with the GATHER4 opcodes. As a result, we have to lower to 4 individual texture calls (txl since we have to force lod to 0). We achieve this using offsets, including on cube maps which normally never have offsets. Signed-off-by: Ilia

Re: [Mesa-dev] [PATCH 1/4] radv: remove useless check in radv_set_depth_clear_regs()

2017-11-19 Thread Bas Nieuwenhuizen
The series is Reviewed-by: Bas Nieuwenhuizen On Wed, Nov 15, 2017 at 3:43 PM, Samuel Pitoiset wrote: > aspects can't be zero and there is an assertion that ensures > it's not in emit_clear(). > > Signed-off-by: Samuel Pitoiset

Re: [Mesa-dev] [PATCH 00/28] vulkan/wsi: Rework WSI to look a lot more like a layer

2017-11-19 Thread Grazvydas Ignotas
On Sun, Nov 19, 2017 at 1:51 AM, Jason Ekstrand wrote: > On Sat, Nov 18, 2017 at 9:02 AM, Grazvydas Ignotas > wrote: >> >> On Sat, Nov 18, 2017 at 3:06 AM, Jason Ekstrand >> wrote: >> > On Fri, Nov 17, 2017 at 2:18 PM, Grazvydas

[Mesa-dev] FOSDEM 2018: Graphics DevRoom: Call for speaker.

2017-11-19 Thread Luc Verhaegen
Hi, At FOSDEM on saturday the 3rd of february 2018, there will be another graphics DevRoom. URL: https://fosdem.org/2018/ The focus of this DevRoom is of course the same as the previous editions, namely: * Graphics drivers: from display to media to 3d drivers, both in kernel or userspace. Be

[Mesa-dev] [PATCH] glsl: Catch subscripted calls to undeclared subroutines

2017-11-19 Thread George Barrett
generate_array_index fails to check whether the target of a subroutine call exists in the AST, potentially passing around null ir_rvalue pointers eventuating in abort/segfault. Fixes: fd01840c0bd3b22d058a65a17ad30e3b45813b60 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100438 ---

Re: [Mesa-dev] [PATCH 2/2] i965: Implement ARB_texture_filter_minmax

2017-11-19 Thread Kenneth Graunke
On Thursday, November 16, 2017 11:50:48 AM PST Ian Romanick wrote: > On 11/14/2017 02:54 PM, Scott D Phillips wrote: > > On gen >= 9, minmax reduction modes are available as a flag in > > SAMPLER_STATE. > > --- > > docs/features.txt | 2 +- > >