Re: [Mesa-dev] [PATCH 0/2] Use target attribute for architecture optimizations

2015-01-27 Thread Marc Dietrich
Am Freitag, 16. Januar 2015, 13:42:53 schrieb Marc Dietrich: > The GCC specific target function attribute or pragma can be used to enable > architecture depended optimisation options (e.g. SSE) directly in source > files instead of specifing them on the compiler command line. This is >

[Mesa-dev] [PATCH 2/4] add visibility hidden to tls entry points

2015-02-16 Thread Marc Dietrich
Avoid redefined symbol errors in clang. Based on a suggestion from Rafael Ávila de Espíndola in http://llvm.org/bugs/show_bug.cgi?id=19778. Signed-off-by: Marc Dietrich --- src/mapi/entry_x86-64_tls.h | 3 ++- src/mapi/entry_x86_tls.h| 5 +++-- src/mapi/entry_x86_tsd.h| 5 +++-- 3

[Mesa-dev] [PATCH 1/4] configure: add visibility macro detection to configure

2015-02-16 Thread Marc Dietrich
This adds clang/gcc visibility macro detection to configure and util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" attribute to a function. Signed-off-by: Marc Dietrich --- configure.ac | 28 ++-- src/util/macros.h | 6 ++ 2 fil

Re: [Mesa-dev] [LLVMdev] mesa-10.4.4: BROKEN TLS support in GLXwith llvm-toolchain v3.6.0rc2

2015-02-16 Thread Marc Dietrich
Am Samstag, 14. Februar 2015, 18:20:12 schrieb Dimitry Andric: > On 11 Feb 2015, at 11:16, Sedat Dilek wrote: > > On Wed, Feb 11, 2015 at 12:09 AM, Emil Velikov wrote: > >> On 10/02/15 13:17, Dimitry Andric wrote: > >>> On 09 Feb 2015, at 18:52, Sedat Dilek wrote: > On Mon, Feb 9, 2015 at

Re: [Mesa-dev] [LLVMdev] mesa-10.4.4: BROKEN TLS support in GLXwithllvm-toolchain v3.6.0rc2

2015-02-16 Thread Marc Dietrich
Am Montag, 16. Februar 2015, 12:42:19 schrieb Sedat Dilek: > On Mon, Feb 16, 2015 at 10:39 AM, Marc Dietrich wrote: > > Am Samstag, 14. Februar 2015, 18:20:12 schrieb Dimitry Andric: > >> On 11 Feb 2015, at 11:16, Sedat Dilek wrote: > >> > On Wed, Feb 11,

Re: [Mesa-dev] [PATCH 1/4] configure: add visibility macro detection to configure

2015-02-16 Thread Marc Dietrich
Am Montag, 16. Februar 2015, 10:36:32 schrieb Marc Dietrich: > This adds clang/gcc visibility macro detection to configure and > util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" > attribute to a function. > > Signed-off-by: Marc Dietrich for any

[Mesa-dev] [PATCH 1/2 v2] configure: add visibility macro detection to configure

2015-02-17 Thread Marc Dietrich
This adds clang/gcc visibility macro detection to configure and util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" attribute to a function. Signed-off-by: Marc Dietrich --- v2: use VISIBILITY_*FLAGS instead of *FLAGS directly configure.ac

[Mesa-dev] [PATCH 2/2 v2] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Avoid redefined symbol errors in clang. Based on a suggestion from Rafael Ávila de Espíndola in http://llvm.org/bugs/show_bug.cgi?id=19778. Signed-off-by: Marc Dietrich --- v2: no change src/mapi/entry_x86-64_tls.h | 3 ++- src/mapi/entry_x86_tls.h| 5 +++-- src/mapi/entry_x86_tsd.h

Re: [Mesa-dev] [PATCH 1/4] configure: add visibility macro detectionto configure

2015-02-17 Thread Marc Dietrich
Am Montag, 16. Februar 2015, 10:14:02 schrieb Matt Turner: > On Mon, Feb 16, 2015 at 1:36 AM, Marc Dietrich wrote: > > This adds clang/gcc visibility macro detection to configure and > > util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" &g

Re: [Mesa-dev] [LLVMdev] mesa-10.4.4: BROKEN TLS support inGLXwithllvm-toolchain v3.6.0rc2

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 10:05:33 schrieb Sedat Dilek: > On Mon, Feb 16, 2015 at 12:45 PM, Marc Dietrich wrote: > > Am Montag, 16. Februar 2015, 12:42:19 schrieb Sedat Dilek: > >> On Mon, Feb 16, 2015 at 10:39 AM, Marc Dietrich wrote: > >> > Am Samstag, 14.

[Mesa-dev] [PATCH 0/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Patch 1 adds a check for the compilers visibility macro to configure.ac. Patch 2 avoids redefined symbol errors in clang of the tls entry points. Based on a suggestion from Rafael Ávila de Espíndola in http://llvm.org/bugs/show_bug.cgi?id=19778. Tested with gcc 4.9 and clang 3.6(rc) Marc

[Mesa-dev] [PATCH 2/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Avoid redefined symbol errors in clang. Based on a suggestion from Rafael Ávila de Espíndola in http://llvm.org/bugs/show_bug.cgi?id=19778. Signed-off-by: Marc Dietrich --- v2: - no change v3: - include util directory in Makefile.am in order to avoid relative include paths, - make

[Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detection to configure

2015-02-17 Thread Marc Dietrich
This adds clang/gcc visibility macro detection to configure and util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" attribute to a function. Signed-off-by: Marc Dietrich --- v2: use VISIBILITY_*FLAGS instead of *FLAGS directly v3: no change configure.ac

Re: [Mesa-dev] [PATCH 2/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 11:58:06 schrieb Sedat Dilek: > On Tue, Feb 17, 2015 at 10:40 AM, Marc Dietrich wrote: > > Avoid redefined symbol errors in clang. Based on a suggestion from > > Rafael Ávila de Espíndola in > > http://llvm.org/bugs/show_bug.cgi?id=19778. &

Re: [Mesa-dev] [PATCH 2/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 12:42:00 schrieb Sedat Dilek: > On Tue, Feb 17, 2015 at 12:38 PM, Marc Dietrich wrote: > > Am Dienstag, 17. Februar 2015, 11:58:06 schrieb Sedat Dilek: > >> On Tue, Feb 17, 2015 at 10:40 AM, Marc Dietrich wrote: > >> > Avoid redefined

Re: [Mesa-dev] [PATCH 2/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 12:53:17 schrieb Sedat Dilek: > On Tue, Feb 17, 2015 at 12:47 PM, Marc Dietrich wrote: > > Am Dienstag, 17. Februar 2015, 12:42:00 schrieb Sedat Dilek: > >> On Tue, Feb 17, 2015 at 12:38 PM, Marc Dietrich wrote: > >> > Am Dienst

Re: [Mesa-dev] [PATCH 2/2 v3] add visibility hidden to tls entry points

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 13:13:28 schrieb Sedat Dilek: > On Tue, Feb 17, 2015 at 12:38 PM, Marc Dietrich wrote: > > Am Dienstag, 17. Februar 2015, 11:58:06 schrieb Sedat Dilek: > >> On Tue, Feb 17, 2015 at 10:40 AM, Marc Dietrich wrote: > >> > Avoid redefined

Re: [Mesa-dev] [PATCH 2/2 v2] add visibility hidden to tls entrypoints

2015-02-17 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 15:51:38 schrieb Kai Wasserbäch: > Marc Dietrich wrote on 17.02.2015 10:05: > > Avoid redefined symbol errors in clang. Based on a suggestion from > > Rafael Ávila de Espíndola in > > Whoever commits this, might want to fix Rafael's

Re: [Mesa-dev] [PATCH 2/4] add visibility hidden to tls entry points

2015-02-18 Thread Marc Dietrich
Am Dienstag, 17. Februar 2015, 21:21:18 schrieb Matt Turner: > On Mon, Feb 16, 2015 at 10:25 AM, Matt Turner wrote: > > On Mon, Feb 16, 2015 at 1:36 AM, Marc Dietrich wrote: > >> Avoid redefined symbol errors in clang. Based on a suggestion from > >> Rafael à vila

Re: [Mesa-dev] [PATCH 0/2 v3] add visibility hidden to tls entry points

2015-02-26 Thread Marc Dietrich
Am Mittwoch, 25. Februar 2015, 17:49:28 schrieb Sedat Dilek: > On Fri, Feb 20, 2015 at 1:45 PM, Sedat Dilek wrote: > > On Tue, Feb 17, 2015 at 1:55 PM, Sedat Dilek wrote: > >> On Tue, Feb 17, 2015 at 10:40 AM, Marc Dietrich wrote: > >>> Patch 1 adds a check for

Re: [Mesa-dev] [PATCH 1/2 v3] configure: add visibility macro detectionto configure

2015-02-26 Thread Marc Dietrich
Am Donnerstag, 26. Februar 2015, 14:44:25 schrieb Emil Velikov: > Hi Marc > > On 17/02/15 09:40, Marc Dietrich wrote: > > This adds clang/gcc visibility macro detection to configure and > > util/macros.h. This is can be used to conveniently add e.g. a "HIDDEN" &

[Mesa-dev] [PATCH] configure: simplify visibility compiler flag detection

2015-03-01 Thread Marc Dietrich
This patch simplifies the visibility compiler flag detection in configure and makes it more generic to also support compilers other than gcc. Cc: Emil Velikov Signed-off-by: Marc Dietrich --- configure.ac | 32 +++- 1 file changed, 7 insertions(+), 25 deletions

Re: [Mesa-dev] [PATCH] configure: simplify visibility compiler flag detection

2015-03-01 Thread Marc Dietrich
Am Sonntag 01 März 2015, 10:30:08 schrieb Matt Turner: > On Sun, Mar 1, 2015 at 6:09 AM, Marc Dietrich wrote: > > This patch simplifies the visibility compiler flag detection in configure > > and makes it more generic to also support compilers other than gcc. > > This sim

Re: [Mesa-dev] [PATCH] configure: simplify visibility compiler flag detection

2015-03-01 Thread Marc Dietrich
Am Sonntag 01 März 2015, 17:28:18 schrieb Sedat Dilek: > On Sun, Mar 1, 2015 at 3:09 PM, Marc Dietrich wrote: > > This patch simplifies the visibility compiler flag detection in configure > > and makes it more generic to also support compilers other than gcc. > > > > C

Re: [Mesa-dev] [PATCH] configure: simplify visibility compiler flagdetection

2015-03-01 Thread Marc Dietrich
Am Sonntag 01 März 2015, 13:05:52 schrieb Alan Coopersmith: > On 03/ 1/15 10:57 AM, Emil Velikov wrote: > > On 01/03/15 18:30, Matt Turner wrote: > >> On Sun, Mar 1, 2015 at 6:09 AM, Marc Dietrich wrote: > >>> This patch simplifies the visibility compiler flag de

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enable glsl/tgsi on-disk cache

2017-02-22 Thread Marc Dietrich
Am Mittwoch, 22. Februar 2017, 04:45:46 CET schrieb Timothy Arceri: > For gpu generations that use LLVM we create a timestamp string > containing both the LLVM and Mesa build times, otherwise we just > use the Mesa build time. > > Reviewed-by: Marek Olšák > Reviewed-by: Edward O'Callaghan > ---

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enable glsl/tgsi on-disk cache

2017-02-22 Thread Marc Dietrich
Am Mittwoch, 22. Februar 2017, 15:48:18 CET schrieb Emil Velikov: > On 22 February 2017 at 13:31, Marc Dietrich wrote: > > Am Mittwoch, 22. Februar 2017, 04:45:46 CET schrieb Timothy Arceri: > >> For gpu generations that use LLVM we create a timestamp string > >> contai

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enable glsl/tgsi on-diskcache

2017-02-22 Thread Marc Dietrich
Am Mittwoch, 22. Februar 2017, 22:27:42 CET schrieb Timothy Arceri: > On 23/02/17 01:57, Marc Dietrich wrote: > > Am Mittwoch, 22. Februar 2017, 15:48:18 CET schrieb Emil Velikov: > >> On 22 February 2017 at 13:31, Marc Dietrich wrote: > >>> Am Mittwoch, 22. Febr

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enable glsl/tgsion-diskcache

2017-02-23 Thread Marc Dietrich
Am Donnerstag, 23. Februar 2017, 04:10:23 CET schrieb Timothy Arceri: > On 23/02/17 09:44, Marc Dietrich wrote: > > Am Mittwoch, 22. Februar 2017, 22:27:42 CET schrieb Timothy Arceri: > >> On 23/02/17 01:57, Marc Dietrich wrote: > >>> Am Mittwoch, 22. Februar 2

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enableglsl/tgsion-diskcache

2017-02-23 Thread Marc Dietrich
Am Donnerstag, 23. Februar 2017, 10:54:39 CET schrieb Michel Dänzer: > On 23/02/17 06:39 PM, Marc Dietrich wrote: > > Am Donnerstag, 23. Februar 2017, 04:10:23 CET schrieb Timothy Arceri: > >> I've pushed a fix for building with an old version of llvm. Hopefully >

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi: enableglsl/tgsion-diskcache

2017-02-24 Thread Marc Dietrich
Am Donnerstag, 23. Februar 2017, 11:50:07 CET schrieb Emil Velikov: > On 23 February 2017 at 10:20, Marc Dietrich wrote: > > Am Donnerstag, 23. Februar 2017, 10:54:39 CET schrieb Michel Dänzer: > >> On 23/02/17 06:39 PM, Marc Dietrich wrote: > >> > Am Donnerstag,

[Mesa-dev] [PATCH] r600: add amdgpuinfo to the llvm required module list

2017-02-27 Thread Marc Dietrich
This fixes the build when mesa is build against a static libllvm and consolidates the module collection a bit. Signed-off-by: Marc Dietrich --- configure.ac | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 890a37999c..adc81260a9 100644

Re: [Mesa-dev] [PATCH 8/8] r600/radeonsi:enableglsl/tgsion-diskcache

2017-02-27 Thread Marc Dietrich
Am Sonntag, 26. Februar 2017, 17:24:13 CET schrieb Tobias Droste: > Mit freundlichen Grüßen > > Am Freitag, 24. Februar 2017, 11:25:24 CET schrieb Marc Dietrich: > > Am Donnerstag, 23. Februar 2017, 11:50:07 CET schrieb Emil Velikov: > > > On 23 February 2017 at 10:

Re: [Mesa-dev] [PATCH] r600: add amdgpuinfo to the llvm requiredmodule list

2017-02-27 Thread Marc Dietrich
Am Montag, 27. Februar 2017, 15:26:18 CET schrieb Jan Vesely: > On Mon, 2017-02-27 at 12:54 +0100, Marc Dietrich wrote: > > This fixes the build when mesa is build against a static libllvm and > > consolidates the module collection a bit. > > > > S

[Mesa-dev] [PATCH] r600g: fix build without opencl and static llvm libs

2017-02-27 Thread Marc Dietrich
radeon_llvm_check was never called in the no-opencl case, which broke the llvm module list (amdgpuinfo was not included). As --enable-opencl always requires --enable-llvm, the test can be easily fixed. Signed-off-by: Marc Dietrich --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1

Re: [Mesa-dev] Improving ralloc performance for the GLSL compiler

2016-09-01 Thread Marc Dietrich
Am Mittwoch, 31. August 2016, 22:07:48 CEST schrieb Emil Velikov: > On 31 August 2016 at 17:39, Marek Olšák wrote: > > On Wed, Aug 31, 2016 at 4:39 PM, Eero Tamminen > > > > wrote: > >> Hi, > >> > >> On 31.08.2016 16:37, Marek Olšák wrote: > >> ... > >> > >>> OK. I'm afraid malloc/calloc/reall

Re: [Mesa-dev] [PATCH] st/xorg: Include u_surface.h for u_copy_rect

2013-10-01 Thread Marc Dietrich
Am Dienstag, 1. Oktober 2013, 11:16:49 schrieb Alex Deucher: > Fixes build errors. > > Signed-off-by: Alex Deucher > --- > src/gallium/state_trackers/xorg/xorg_crtc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/state_trackers/xorg/xorg_crtc.c > b/src/gallium/state_track

Re: [Mesa-dev] [PATCH] r600/llvm: Store inputs in function arguments

2013-11-15 Thread Marc Dietrich
Hi, Am Donnerstag, 14. November 2013, 10:24:52 schrieb Andy Furniss: > Vincent Lejeune wrote: > > --- > > > > src/gallium/drivers/r600/r600_llvm.c | 119 > > +++ src/gallium/drivers/r600/r600_shader.c > >| 1 + > > src/gallium/drivers/radeon/radeon_llvm.

Re: [Mesa-dev] [PATCH] r600/llvm: Store inputs in function arguments

2013-11-15 Thread Marc Dietrich
sorry, mailer program ate the cc list... Hi, Am Donnerstag, 14. November 2013, 10:24:52 schrieb Andy Furniss: > Vincent Lejeune wrote: > > --- > > > > src/gallium/drivers/r600/r600_llvm.c | 119 > > +++ src/gallium/drivers/r600/r600_shader.c > >| 1 + > >

[Mesa-dev] [PATCH] [demos] fix direct rendering context in glxinfo

2014-07-22 Thread Marc Dietrich
commit e769bc682b4a0d0f597286b067f54f923d159866 broke direct rendering context because it defaults to indirect rendering and there is no way to reverse it. Signed-of-by: Marc Dietrich --- src/xdemos/glinfo_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdemos

Re: [Mesa-dev] [PATCH] [demos] fix direct rendering context in glxinfo

2014-07-28 Thread Marc Dietrich
anyone? Am Dienstag, 22. Juli 2014, 10:35:40 schrieb Marc Dietrich: > commit e769bc682b4a0d0f597286b067f54f923d159866 broke direct rendering > context because it defaults to indirect rendering and there is no way > to reverse it. > > Signed-of-by: Marc Dietrich >

Re: [Mesa-dev] r600g geometry shader and hence GL 3.3 support

2014-02-04 Thread Marc Dietrich
Hi Dave, Am Dienstag, 4. Februar 2014, 09:53:17 schrieb Dave Airlie: > These 30 patches comprise geometry shader support for r600->cayman GPUs, > > Since I last posted, I've fixed all the regressions caused by the initial > introduction of geometry shaders patch, this passes a large amount of the

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection

2014-03-28 Thread Marc Dietrich
Am Freitag, 28. März 2014, 10:35:00 schrieb Lauri Kasanen: > On Thu, 27 Mar 2014 21:00:39 + > > Emil Velikov wrote: > > By doing GC the linker removes all the symbols that are not referenced > > and/or used by the final library. This results in a saving of ~100K > > up-to ~600K per (stripped)

[Mesa-dev] [PATCH 1/2] Add target attribute check to configure

2015-01-16 Thread Marc Dietrich
The target attribute allows for function or file specific compiler target specification. This will be useful when compiling with LTO enabled. Signed-off-by: Marc Dietrich --- configure.ac| 2 ++ m4/ax_gcc_func_attribute.m4 | 9 + 2 files changed, 11 insertions(+) diff

[Mesa-dev] [PATCH 0/2] Use target attribute for architecture optimizations

2015-01-16 Thread Marc Dietrich
using LTO. Marc Dietrich (2): Add target attribute check to configure Make architecture specific compiler flags conditional for vector optimizations configure.ac | 2 ++ m4/ax_gcc_func_attribute.m4 | 9 + src/mesa/Makefile.am | 2

[Mesa-dev] [PATCH 2/2] Make architecture specific compiler flags conditional for vector optimizations

2015-01-16 Thread Marc Dietrich
link time. Signed-off-by: Marc Dietrich --- src/mesa/Makefile.am | 2 ++ src/mesa/main/sse_minmax.c| 1 + src/mesa/main/streaming-load-memcpy.c | 1 + 3 files changed, 4 insertions(+) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 5a7884c..af64d74 1

Re: [Mesa-dev] glx-tls: Visibility hidden attribute and fix x86/x86_64 tls/tdsentry points

2015-09-29 Thread Marc Dietrich
Am Samstag, 26. September 2015, 04:47:19 schrieb Sedat Dilek: > On Sat, Sep 26, 2015 at 1:59 AM, Sedat Dilek wrote: > > Hi, > > > > unfortunately, we still have no cool upstream fix for > > -fvisibility=hidden compiler flag handling. > > There is still no visibility-attribute "hidden" available o

Re: [Mesa-dev] glx-tls: Visibility hidden attribute and fix x86/x86_64tls/tdsentry points

2015-10-03 Thread Marc Dietrich
Hi Emil, Am Freitag, 2. Oktober 2015, 18:55:47 schrieb Emil Velikov: > Hi Marc, > > On 29 September 2015 at 10:31, Marc Dietrich wrote: > > As expressed before, using hidden attribute only hides some hack on how to > > find the head of the dispatch entry table afaict. >

Re: [Mesa-dev] [PATCH] Fix symbol 'x86_64_entry_start' is alreadydefined when building with LLVM/clang

2015-05-19 Thread Marc Dietrich
Am Montag, 18. Mai 2015, 13:35:48 schrieb Tomasz Gajc: > Hello, > my patch is based on that LLVM bug. Mesa with that patch was tested only > with clang by me, and I haven't found any issues when running my system > with mesa with that patch applied. we had this discussion in the past already, see

Re: [Mesa-dev] [PATCH v2] replace file specific compiler optimization withinline attibute

2014-09-24 Thread Marc Dietrich
Hi Matt, Am Montag, 22. September 2014, 11:48:29 schrieb Matt Turner: > On Fri, Sep 12, 2014 at 4:56 AM, Marc Dietrich wrote: > > File specific optimization as used for src/mesa/main/streaming-load-memcpy.c > > currently will cause problems with LTO in the future

Re: [Mesa-dev] [PATCH v2] replace file specific compiler optimization withinline attibute

2014-09-25 Thread Marc Dietrich
Am Mittwoch, 24. September 2014, 18:35:24 schrieb Matt Turner: > On Wed, Sep 24, 2014 at 6:25 AM, Marc Dietrich wrote: > > Am Montag, 22. September 2014, 11:48:29 schrieb Matt Turner: > >> We need a configure check for support for __attribute__((target)). I'm > >>

Re: [Mesa-dev] [PATCH v2] replace file specific compileroptimization withinline attibute

2014-09-30 Thread Marc Dietrich
Hi Matt, Am Donnerstag, 25. September 2014, 09:56:42 schrieb Marc Dietrich: > Am Mittwoch, 24. September 2014, 18:35:24 schrieb Matt Turner: > > On Wed, Sep 24, 2014 at 6:25 AM, Marc Dietrich wrote: > > > Am Montag, 22. September 2014, 11:48:29 schrieb Matt Turner: > >

Re: [Mesa-dev] [PATCH V5] mesa: add SSE optimisation forglDrawElements

2014-11-06 Thread Marc Dietrich
Am Donnerstag, 6. November 2014, 11:55:59 schrieb Matt Turner: > On Wed, Nov 5, 2014 at 12:54 PM, Matt Turner wrote: > > On Wed, Nov 5, 2014 at 12:50 PM, Timothy Arceri wrote: > >> There have been quite a few eyes over this now but nobody has given it a > >> reviewed by yet. > >> > >> Would be

Re: [Mesa-dev] [PATCH] configure: simplify visibility compiler flag detection

2015-03-13 Thread Marc Dietrich
Am Donnerstag, 12. März 2015, 19:57:39 schrieb Sedat Dilek: > On Sun, Mar 1, 2015 at 8:51 PM, Marc Dietrich wrote: > > Am Sonntag 01 März 2015, 17:28:18 schrieb Sedat Dilek: > >> On Sun, Mar 1, 2015 at 3:09 PM, Marc Dietrich wrote: > >> > This patch simplifie

Re: [Mesa-dev] [PATCH] r600g/sb: Enable SB for geometry shaders

2015-03-25 Thread Marc Dietrich
Am Dienstag, 24. März 2015, 20:05:46 schrieb Glenn Kennard: > On Tue, 24 Mar 2015 17:21:35 +0100, Dieter Nützel > > wrote: > > Am 20.03.2015 14:13, schrieb Glenn Kennard: > >> Add SV_GEOMETRY_EMIT special variable type to track the > >> implicit dependencies between CUT/EMIT_VERTEX/MEM_RING > >>

Re: [Mesa-dev] [PATCH] r600g/sb: Update last_cf for loops

2015-03-26 Thread Marc Dietrich
Am Donnerstag, 26. März 2015, 02:56:50 schrieb Glenn Kennard: > CF_END could end up emitted in the middle of a shader on cayman > when there was a loop at the very end. > > Fixes glsl-1.50-geometry-end-primitive and > ext_transform_feedback-geometry-shaders-basic piglit tests. yes, I just found o

Re: [Mesa-dev] [PATCH] r600g/sb: Update last_cf for loops

2015-03-26 Thread Marc Dietrich
Am Donnerstag, 26. März 2015, 11:24:24 schrieb Marc Dietrich: > Am Donnerstag, 26. März 2015, 02:56:50 schrieb Glenn Kennard: > > CF_END could end up emitted in the middle of a shader on cayman > > when there was a loop at the very end. > > > > Fixes glsl-1.50

Re: [Mesa-dev] [PATCH] r600g/sb: Update last_cf for loops

2015-03-26 Thread Marc Dietrich
Am Donnerstag, 26. März 2015, 11:33:57 schrieb Marc Dietrich: > Am Donnerstag, 26. März 2015, 11:24:24 schrieb Marc Dietrich: > > Am Donnerstag, 26. März 2015, 02:56:50 schrieb Glenn Kennard: > > > CF_END could end up emitted in the middle of a shader on cayman > > > w

Re: [Mesa-dev] [PATCH] mesa: Enable LTO compilation

2016-06-01 Thread Marc Dietrich
Am Mittwoch, 1. Juni 2016, 12:36:15 CEST schrieb Eero Tamminen: > Hi, > > On 31.05.2016 21:43, ⚛ wrote: > > On Tue, May 31, 2016 at 8:30 PM, Aaron Watry wrote: > >> Given the header that it's failing in, I removed the --enable-glx-tls > >> flag, and then things built successfully.> > > mesa.spec

[Mesa-dev] [PATCH] replace file specific compiler optimization with inline attibute

2014-09-11 Thread Marc Dietrich
__attribute__((cpu_specific(cpuid))) with cpuid core_2_duo_sse4_1, but I'm not sure if mesa compiles with it and how it behaves on different platforms. Signed-off-by: Marc Dietrich --- src/mesa/Makefile.am | 1 - src/mesa/main/streaming-load-memcpy.c | 4 ++-- 2 files chang

Re: [Mesa-dev] [PATCH] replace file specific compiler optimizationwith inline attibute

2014-09-12 Thread Marc Dietrich
Am Donnerstag, 11. September 2014, 08:52:39 schrieb Matt Turner: > On Thu, Sep 11, 2014 at 6:58 AM, Marc Dietrich wrote: > > File specific optimization as used for > > src/mesa/main/streaming-load-memcpy.c currently will cause problems with > > LTO in the f

[Mesa-dev] [PATCH v2] replace file specific compiler optimization with inline attibute

2014-09-12 Thread Marc Dietrich
__attribute__((cpu_specific(cpuid))) with cpuid core_2_duo_sse4_1, but I'm not sure if mesa compiles with it and how it behaves on different platforms. V2: limit support for this optimization to gcc >= 4.4 only Signed-off-by: Marc Dietrich --- This is the simplest solution I see for now. Dra

Re: [Mesa-dev] [PATCH] replace file specific compileroptimizationwith inline attibute

2014-09-18 Thread Marc Dietrich
Hello Matt, Am Sonntag, 14. September 2014, 21:12:57 schrieb Matt Turner: > On Fri, Sep 12, 2014 at 1:02 AM, Marc Dietrich wrote: > > Am Donnerstag, 11. September 2014, 08:52:39 schrieb Matt Turner: > >> On Thu, Sep 11, 2014 at 6:58 AM, Marc Dietrich wrote: > >> >

[Mesa-dev] [PATCH] r600: fix compilation error without amdgpu

2017-05-22 Thread Marc Dietrich
^~ compilation terminated. Signed-off-by: Marc Dietrich --- src/amd/Makefile.common.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/Makefile.common.am b/src/amd/Makefile.common.am index dff461c35d..677fd52975 100644 --- a/src/amd/Makefile.common.am +++ b/src/amd/Makefile.common.am @@ -26,6

Re: [Mesa-dev] [PATCH 04/13] meson: build r600 driver

2017-11-02 Thread Marc Dietrich
Hi Dylan, Am Mittwoch, 1. November 2017, 23:49:39 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > Tested-by: Aaron Watry > --- > meson.build | 20 -- > meson_options.txt| 2 +- > src/gallium/drivers/r600/meson.build | 128 > +++

Re: [Mesa-dev] [PATCH 04/13] meson: build r600 driver

2017-11-02 Thread Marc Dietrich
Am Donnerstag, 2. November 2017, 13:03:17 CET schrieb Eric Engestrom: > On Thursday, 2017-11-02 11:32:44 +0100, Marc Dietrich wrote: > > Hi Dylan, > > > > Am Mittwoch, 1. November 2017, 23:49:39 CET schrieb Dylan Baker: > > > Signed-off-by: Dylan Baker

Re: [Mesa-dev] [PATCH 3/5] meson: move gl pkgconfig generation out ofglx

2017-11-03 Thread Marc Dietrich
Hi Dylan, Am Freitag, 3. November 2017, 01:06:27 CET schrieb Dylan Baker: > Because the same generation logic is required by xlib glx and > gallium-xlib glx, it makes sense to pull it out. > > Signed-off-by: Dylan Baker > --- > src/glx/meson.build | 11 --- > src/meson.build | 12 ++

Re: [Mesa-dev] [PATCH 11/13] meson: build gallium omx state tracker

2017-11-03 Thread Marc Dietrich
Am Mittwoch, 1. November 2017, 23:49:46 CET schrieb Dylan Baker: > --- > meson.build| 54 ++- > meson_options.txt | 13 > src/gallium/meson.build| 7 +- > .../state_trackers/omx_b

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB register updates

2017-04-26 Thread Marc Dietrich
Am Dienstag, 25. April 2017, 13:59:44 CEST schrieb Constantine Kharlamov: > Split out of "avoid redundant CB register updates" for easier review. > > Signed-off-by: Constantine Kharlamov > Tested-by: Dieter Nützel > --- This one generates GPU crashes here (RS880) when running UH4: radeon :

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB register updates

2017-04-26 Thread Marc Dietrich
Am Mittwoch, 26. April 2017, 16:16:35 CEST schrieb Constantine Kharlamov: > Thank you for testing! What is "UH4" btw? old GL3.3 benchmark Unigine Heaven 4.0 https://benchmark.unigine.com/heaven Marc > > On 26.04.2017 17:03, Marc Dietrich wrote: > > Am Dienstag, 25.

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB register updates

2017-04-26 Thread Marc Dietrich
Am Mittwoch, 26. April 2017, 16:36:39 CEST schrieb Constantine Kharlamov: > HEAD recently have triggered a bug in sb compiler, so, just for the safe > case, can you tell if reverting this commit > > git revert --no-commit eb8aa93c03ee89ffd3041d41b6293e4b282b6ce6 > > but having my patch still appl

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB register updates

2017-04-27 Thread Marc Dietrich
Am Mittwoch, 26. April 2017, 19:48:46 CEST schrieb Constantine Kharlamov: > On 26.04.2017 17:51, Marc Dietrich wrote: > > Am Mittwoch, 26. April 2017, 16:36:39 CEST schrieb Constantine Kharlamov: > >> HEAD recently have triggered a bug in sb compiler, so, just for the safe >

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB registerupdates

2017-04-27 Thread Marc Dietrich
Am Donnerstag, 27. April 2017, 10:05:32 CEST schrieb Marc Dietrich: > Am Mittwoch, 26. April 2017, 19:48:46 CEST schrieb Constantine Kharlamov: > > On 26.04.2017 17:51, Marc Dietrich wrote: > > > Am Mittwoch, 26. April 2017, 16:36:39 CEST schrieb Constantine Kharlamov: > &g

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB registerupdates

2017-04-28 Thread Marc Dietrich
Hi Constantine, Am Donnerstag, 27. April 2017, 21:04:37 CEST schrieb Constantine Kharlamov: > Please, could you try this patch. The change is: I'm setting dirty_zsbuf in > r600_bind_blend_state_internal() as well. It was the difference between > radeonsi and r600 for CB updates, and my guess is,

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB registerupdates

2017-04-28 Thread Marc Dietrich
een+ generations if the glitches for r600 cant get fixed. Marc > > Dieter > > Am 28.04.2017 09:57, schrieb Marc Dietrich: > > Hi Constantine, > > > > > > Am Donnerstag, 27. April 2017, 21:04:37 CEST schrieb Constantine > > > > Kharlamov: > >

Re: [Mesa-dev] [PATCH 1/4] r600g: avoid redundant DB registerupdates

2017-05-03 Thread Marc Dietrich
Hi Constantine, Am Mittwoch, 3. Mai 2017, 05:48:14 CEST schrieb Constantine Kharlamov: > On 03.05.2017 00:50, Constantine Kharlamov wrote: > > On 28.04.2017 10:57, Marc Dietrich wrote: > >> Hi Constantine, > >> > >> Am Donnerstag, 27. April 2017, 21:04:37

[Mesa-dev] [PATCH] strip double const from generated file

2017-05-04 Thread Marc Dietrich
In some cases gl_marshal.py generates entries with "const const" leading to a compiler warning. This strips the superfluous const from the type string. Signed-off-by: Marc Dietrich --- src/mapi/glapi/gen/gl_marshal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH] strip double const from generated file

2017-05-04 Thread Marc Dietrich
roblem ;-) Marc > > On 05/04/2017 01:16 PM, Marc Dietrich wrote: > > In some cases gl_marshal.py generates entries with "const const" leading > > to a compiler warning. This strips the superfluous const from the type > > string. > > > > Signe

Re: [Mesa-dev] [PATCH v3 04/15] meson: build r600 driver

2017-11-14 Thread Marc Dietrich
Hi Dylan, Am Dienstag, 14. November 2017, 02:09:08 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > Tested-by: Aaron Watry > --- > meson.build | 22 -- > src/gallium/drivers/r600/meson.build | 128 > +++ src/gallium/meson.build

Re: [Mesa-dev] [PATCH v3 14/15] meson: build gallium va state tracker

2017-11-14 Thread Marc Dietrich
Hi Dylan, Am Dienstag, 14. November 2017, 02:09:18 CET schrieb Dylan Baker: > v2: - set with_gallium_va when -Dgallium-va=true > - Fix megadrivers install > - only use cflags from pkg-config, don't add linker flags. > - Don't get version from pkg-config, it's not tracking the same >

Re: [Mesa-dev] [PATCH v3 15/15] meson: build gallium xa state tracker

2017-11-14 Thread Marc Dietrich
Hi Dylan, Am Dienstag, 14. November 2017, 02:09:19 CET schrieb Dylan Baker: > v2: - set with_gallium_xa when -Dgallium-xa=true > - install pkg config file > --- > meson.build | 22 > meson_options.txt | 7 +++ > src/gallium/meson

Re: [Mesa-dev] [PATCH] r600: fix cubemap arrays

2017-11-15 Thread Marc Dietrich
Hi Dave, Am Dienstag, 14. November 2017, 23:28:38 CET schrieb Dave Airlie: > From: Dave Airlie > > A lot of cubemap array piglits fail, port the texture type > picking code from radeonsi which seems to fix most of them. > > For images I will port the rest of the code. > > Fixes: > getteximage-

Re: [Mesa-dev] [PATCH 06/14] meson: use driver_deps for gallium osmesa

2017-11-29 Thread Marc Dietrich
Hi Dylan, Am Mittwoch, 29. November 2017, 00:30:27 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > --- > src/gallium/targets/osmesa/meson.build | 13 +++-- > 1 file changed, 3 insertions(+), 10 deletions(-) > > diff --git a/src/gallium/targets/osmesa/meson.build > b/src/gallium/

Re: [Mesa-dev] [PATCH 06/14] meson: use driver_deps for galliumosmesa

2017-11-29 Thread Marc Dietrich
Am Mittwoch, 29. November 2017, 12:59:30 CET schrieb Marc Dietrich: > Hi Dylan, > > Am Mittwoch, 29. November 2017, 00:30:27 CET schrieb Dylan Baker: > > Signed-off-by: Dylan Baker > > --- > > > > src/gallium/targets/osmesa/meson.build | 13 +++--

Re: [Mesa-dev] [PATCH 00/14] meson: most of gallium

2017-11-29 Thread Marc Dietrich
Hi Dylan, Am Mittwoch, 29. November 2017, 00:30:21 CET schrieb Dylan Baker: > This series is the gallium media state trackers, the "nine" Direct3D state > tracker, and an architectural change in the way gallium drivers are linked > into the final targets. > > This architectural change results in

Re: [Mesa-dev] [PATCH 14/14] meson: build gallium nine state_tracker

2017-11-29 Thread Marc Dietrich
Am Mittwoch, 29. November 2017, 00:30:35 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > --- > include/meson.build| 8 ++ > meson.build| 17 +++- > meson_options.txt | 12 +++ > src/g

[Mesa-dev] testing for certain compiler options does not work

2017-11-29 Thread Marc Dietrich
Hi, just found that my gcc 'gcc (SUSE Linux) 7.2.1 20171020 [gcc-7-branch revision 253932]' does not warn when using the negative form of unsupported warning options. So all the configure tests for such options erroneously succeed, e.g: gcc -Wno-bob test.c # works fine gcc -Walice test.c # war

[Mesa-dev] [PATCH] configure: avoid testing for negative compiler options

2017-11-29 Thread Marc Dietrich
gcc seems to always accept unsupported negative compiler warning options: echo "int i;" | gcc -c -xc -Wno-bob - # no error echo "int i;" | gcc -c -xc -Walice - # unsupported compiler option Inverting the options fixes the tests. Signed-off-by: Marc Dietrich -

[Mesa-dev] [PATCH v2] configure: avoid testing for negative compiler options

2017-11-29 Thread Marc Dietrich
Matt Turner Signed-off-by: Marc Dietrich --- configure.ac | 6 -- meson.build | 23 +++ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 1344c12884..3f9a5c85b1 100644 --- a/configure.ac +++ b/configure.ac @@ -394,8 +394,

Re: [Mesa-dev] [PATCH 00/14] meson: most of gallium

2017-11-30 Thread Marc Dietrich
Hi Dylan, Am Mittwoch, 29. November 2017, 19:14:37 CET schrieb Dylan Baker: > Quoting Marc Dietrich (2017-11-29 04:31:07) > > > Hi Dylan, > > > > Am Mittwoch, 29. November 2017, 00:30:21 CET schrieb Dylan Baker: > > > This series is the gallium media st

Re: [Mesa-dev] [PATCH] mesa/marshal: add custom marshalling forglNamedBuffer(Sub)Data

2017-06-26 Thread Marc Dietrich
Hi, Am Montag, 26. Juni 2017, 01:17:23 CEST schrieb Timothy Arceri: > On 25/06/17 18:31, Grigori Goronzy wrote: > > On 2017-06-25 02:37, Timothy Arceri wrote: > >> Please try the series from Marek which reduces the batch size [1], the > >> reduced size helps reduce the impact of syncs. MARSHAL_MAX

Re: [Mesa-dev] [PATCH] mesa/marshal: add custom marshallingforglNamedBuffer(Sub)Data

2017-06-26 Thread Marc Dietrich
Am Montag, 26. Juni 2017, 15:35:15 CEST schrieb Grigori Goronzy: > On 2017-06-26 15:11, Marc Dietrich wrote: > > unfortunately, this change broke vmware/vmplayer here (bisected). > > Windows > > guest on linux host. Sig 11 in SVGA driver. All good if > > mesa_glthread=

Re: [Mesa-dev] [PATCH] mesa/marshal: add custom marshallingforglNamedBuffer(Sub)Data

2017-06-26 Thread Marc Dietrich
Hi Roland, Am Montag, 26. Juni 2017, 15:51:12 CEST schrieb Marc Dietrich: > Am Montag, 26. Juni 2017, 15:35:15 CEST schrieb Grigori Goronzy: > > On 2017-06-26 15:11, Marc Dietrich wrote: > > > unfortunately, this change broke vmware/vmplayer here (bisected). > > > W

Re: [Mesa-dev] [PATCH] mesa/marshal: add custommarshallingforglNamedBuffer(Sub)Data

2017-07-10 Thread Marc Dietrich
Hi Grigori, Am Montag, 10. Juli 2017, 01:59:05 CEST schrieb Grigori Goronzy: > On 2017-06-26 15:51, Marc Dietrich wrote: > > Am Montag, 26. Juni 2017, 15:35:15 CEST schrieb Grigori Goronzy: > >> On 2017-06-26 15:11, Marc Dietrich wrote: > >> > unfortunately, this cha

Re: [Mesa-dev] [PATCH] mesa/marshal: fix glNamedBufferData with NULLdata

2017-07-10 Thread Marc Dietrich
Am Montag, 10. Juli 2017, 16:28:28 CEST schrieb Grigori Goronzy: > The semantics are similar to glBufferData. Fixes a crash with VMWare > Player. > > Signed-off-by: Grigori Goronzy Tested-by: Marc Dietrich > --- > src/mesa/main/marshal.c | 17 + >

Re: [Mesa-dev] testing for certain compiler options does not work

2017-12-07 Thread Marc Dietrich
Hi Ian, Am Mittwoch, 6. Dezember 2017, 21:21:53 CET schrieb Ian Romanick: > On 11/29/2017 08:16 AM, Marc Dietrich wrote: > > Hi, > > > > just found that my gcc 'gcc (SUSE Linux) 7.2.1 20171020 [gcc-7-branch > > revision 253932]' does not warn when using

[Mesa-dev] meson: vdpau broken on r600

2018-01-09 Thread Marc Dietrich
Hi Dylan, just found that vdpau does not work on r600 with meson build. Some missing symbol, but I cannot figure out why: # vdpauinfo display: :0 screen: 0 /usr/lib64/vdpau/libvdpau_r600.so.1: undefined symbol: vdp_imp_device_create_x11 Error creating VDPAU device: 1 The size of the library

Re: [Mesa-dev] [Test Patch] Meson: ensure vdpau has proper symbolsexposed

2018-01-13 Thread Marc Dietrich
Hi Dylan, Am Donnerstag, 11. Januar 2018, 18:24:42 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > --- > src/gallium/targets/vdpau/meson.build | 16 +--- > 1 file changed, 13 insertions(+), 3 deletions(-) this makes the symbol (and a few more) available here. The whole lin

Re: [Mesa-dev] [PATCH 3/6] meson: fix va-api target linkage

2018-01-18 Thread Marc Dietrich
Am Mittwoch, 17. Januar 2018, 19:34:48 CET schrieb Dylan Baker: > The state tracker needs to be linked with whole-archive (like > autotools), and we need a few window system deps. > > Signed-off-by: Dylan Baker > --- > src/gallium/targets/va/meson.build | 14 ++ > 1 file changed, 10

Re: [Mesa-dev] [7/6] meson: use va-api version reported by pkg-config

2018-01-19 Thread Marc Dietrich
Am Donnerstag, 18. Januar 2018, 19:05:41 CET schrieb Dylan Baker: > Signed-off-by: Dylan Baker > --- > meson.build | 2 +- > src/gallium/state_trackers/va/meson.build | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) vainfo reports no longer an error, s

  1   2   >