[Mesa-dev] [Bug 98172] Concurrent call to glClientWaitSync results in segfault in one of the waiters.

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98172 --- Comment #12 from Michel Dänzer --- It should be fine. You're right that fence_finish can run concurrently in multiple threads, but even if it returns true in multiple threads, the fence_reference calls are serialized by the mutex. So the seco

[Mesa-dev] [PATCH] draw: improved handling of undefined inputs

2016-10-13 Thread sroland
From: Roland Scheidegger Previous attempts to zero initialize all inputs were not really optimal (though no performance impact was measurable). In fact this is not really necessary, since we know the max number of inputs used. Instead, just generate fetch for up to max inputs used by the shader,

[Mesa-dev] [Bug 98172] Concurrent call to glClientWaitSync results in segfault in one of the waiters.

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98172 --- Comment #13 from shinji.suz...@gmail.com --- > So the second fence_reference call will find so->fence == NULL and do nothing. Thank you. I failed to see that fence_reference(screen,&nullptr,0) is no-op thanks to "if (ptr != refererence)" in p

[Mesa-dev] [Bug 98223] dEQP GLES3.1 program_interface_query failures w/ error "could not find target resource"

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98223 --- Comment #7 from Randy --- (In reply to Alejandro Piñeiro (freenode IRC: apinheiro) from comment #6) > > The problem is that the spec is contradictory. The patch on that link (that > btw, the author is Kenneth, that wrote comment 1) fixes som

[Mesa-dev] [PATCH 5/6] radv: drop local MIN/MAX macros.

2016-10-13 Thread Dave Airlie
From: Dave Airlie Use the ones in macros.h instead. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 5 + src/amd/vulkan/radv_wsi_x11.c | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 1

[Mesa-dev] [PATCH 6/6] anv: drop local MIN/MAX macros.

2016-10-13 Thread Dave Airlie
From: Dave Airlie Use the ones from mesa, most places already did. Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_image.c | 2 +- src/intel/vulkan/anv_private.h | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_

[Mesa-dev] [PATCH 1/6] util: add vector util code.

2016-10-13 Thread Dave Airlie
From: Dave Airlie This is ported from anv, both anv and radv can share this. Signed-off-by: Dave Airlie --- src/util/Makefile.sources | 4 +- src/util/u_vector.c | 98 +++ src/util/u_vector.h | 85

[Mesa-dev] [PATCH 2/6] anv: port to using new u_vector shared helper.

2016-10-13 Thread Dave Airlie
From: Dave Airlie This just removes the anv vector code and uses the new helper. Signed-off-by: Dave Airlie --- src/intel/vulkan/anv_allocator.c | 8 ++-- src/intel/vulkan/anv_batch_chain.c | 40 ++-- src/intel/vulkan/anv_private.h | 52 ++ src/in

[Mesa-dev] [PATCH 3/6] radv: make use of shared vector helper.

2016-10-13 Thread Dave Airlie
From: Dave Airlie This removes the vector code from radv in favour of sharing code with anv. Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_private.h | 53 src/amd/vulkan/radv_util.c| 74 --- src/amd/vulkan/radv_w

[Mesa-dev] [PATCH 4/6] util: move min/max/clamp macros to util macros.h

2016-10-13 Thread Dave Airlie
From: Dave Airlie Although the vulkan drivers include mesa macros.h, for radv I'd like to move away from that. Signed-off-by: Dave Airlie --- src/mesa/main/macros.h | 13 - src/util/macros.h | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/s

[Mesa-dev] [PATCH] gallivm: print out time for jitting functions with GALLIVM_DEBUG=perf

2016-10-13 Thread sroland
From: Roland Scheidegger Compilation to actual machine code can easily take as much time as the optimization passes on the IR if not more, so print this out too. --- src/gallium/auxiliary/gallivm/lp_bld_init.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/gallium/auxiliary

Re: [Mesa-dev] [PATCH v2] clover: Allow OpenCL version override

2016-10-13 Thread Jan Vesely
On Fri, 2016-10-14 at 02:34 +0200, Vedran Miletić wrote: > CLOVER_CL_VERSION_OVERRIDE allows overriding default OpenCL version > supported by Clover, analogous to MESA_GL_VERSION_OVERRIDE for OpenGL. > CLOVER_CL_C_VERSION_OVERRIDE allows overridng default OpenCL C version. > > v2: > - move versi

[Mesa-dev] [Bug 98241] dEQP GLES3.1 failure "Compute Shader should not have compiled with #version 300 es."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98241 Bug ID: 98241 Summary: dEQP GLES3.1 failure "Compute Shader should not have compiled with #version 300 es." Product: Mesa Version: git Hardware: x86-64 (AMD64)

[Mesa-dev] [Bug 98241] dEQP GLES3.1 failure "Compute Shader should not have compiled with #version 300 es."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98241 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs: https://bugs.freedeskto

[Mesa-dev] [Bug 98241] dEQP GLES3.1 failure "Compute Shader should not have compiled with #version 300 es."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98241 Tapani Pälli changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132 Tapani Pälli changed: What|Removed |Added CC||randy...@intel.com --- Comment #1 from Ta

[Mesa-dev] [PATCH v3] doc/features.txt: factor out i965/hsw+ & radeonsi as GL45 complete

2016-10-13 Thread Edward O'Callaghan
V2. add i965/hsw+ to list V3. rebased on master. Signed-off-by: Edward O'Callaghan --- docs/features.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 0d6c16a..acea0cf 100644 --- a/docs/features.txt +++ b/docs/f

Re: [Mesa-dev] [PATCH] radeonsi: shorten "shader->selector" to "sel" in si_shader_create

2016-10-13 Thread Edward O'Callaghan
yes, nicer. Reviewed-by: Edward O'Callaghan On 10/14/2016 04:16 AM, Marek Olšák wrote: > From: Marek Olšák > > --- > src/gallium/drivers/radeonsi/si_shader.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/src/gallium/drivers/radeonsi/si_shader.c > b

Re: [Mesa-dev] [PATCH 1/6] util: add vector util code.

2016-10-13 Thread Edward O'Callaghan
Too easy, one trivial comment below but either way: Reviewed-by: Edward O'Callaghan P.S. thanks for getting on top of this kind of maintainability stuff so fast ! On 10/14/2016 02:16 PM, Dave Airlie wrote: > From: Dave Airlie > > This is ported from anv, both anv and radv can share this. > >

[Mesa-dev] [Bug 98242] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to compile."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 Bug ID: 98242 Summary: GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to compile." Product: Mesa Version: git Hardware: All

[Mesa-dev] [Bug 98243] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to link."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98243 Bug ID: 98243 Summary: GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to link." Product: Mesa Version: git Hardware: All OS

[Mesa-dev] [Bug 98244] GLES3 shader negative dEQP failure "expected compilation to fail, but shaders compiled correctly."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98244 Bug ID: 98244 Summary: GLES3 shader negative dEQP failure "expected compilation to fail, but shaders compiled correctly." Product: Mesa Version: git Hardware: All

[Mesa-dev] [Bug 98242] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to compile."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 --- Comment #1 from Randy --- Mesa git top commit: 389d6dedbe75defe07216ad761569a9b94f44e58 dEQP git top commit: ca988480be945772473f9256b6ae91fa6aa62bd1 Reproduced on HSW and SKL -- You are receiving this mail because: You are the assignee fo

[Mesa-dev] [Bug 98243] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to link."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98243 --- Comment #1 from Randy --- Mesa git top commit: 389d6dedbe75defe07216ad761569a9b94f44e58 dEQP git top commit: ca988480be945772473f9256b6ae91fa6aa62bd1 Reproduced on HSW and SKL -- You are receiving this mail because: You are the assignee fo

[Mesa-dev] [Bug 98222] [radv] LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.image.store

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98222 Mathieu Belanger changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] [Bug 98245] GLES3.1 link negative dEQP "expected linking to fail, but passed."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98245 Bug ID: 98245 Summary: GLES3.1 link negative dEQP "expected linking to fail, but passed." Product: Mesa Version: git Hardware: All OS: Linux (All)

[Mesa-dev] [Bug 98243] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to link."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98243 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs: https://bugs.freedeskto

[Mesa-dev] [Bug 98245] GLES3.1 link negative dEQP "expected linking to fail, but passed."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98245 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs: https://bugs.freedeskto

[Mesa-dev] [Bug 98242] GLES3.0 dEQP failure "expected shaders to compile and link properly, but failed to compile."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98242 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs: https://bugs.freedeskto

[Mesa-dev] [Bug 98244] GLES3 shader negative dEQP failure "expected compilation to fail, but shaders compiled correctly."

2016-10-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98244 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs: https://bugs.freedeskto

<    1   2