[Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.

2015-03-01 Thread Vinson Lee
Fix GCC cpp warnings with glibc >= 2.19. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ Signed-off-by: Vinson Lee --- scons/gallium.py

[Mesa-dev] [PATCH] docs: describe the NVC0_COMPUTE envvar

2015-03-01 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- docs/envvars.html | 4 1 file changed, 4 insertions(+) diff --git a/docs/envvars.html b/docs/envvars.html index 31d14a4..cb3eba0 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -227,6 +227,10 @@ for details. See the driver code for other, lesser

Re: [Mesa-dev] [RFC] configure.ac: Don't check for python mako module if python is not installed

2015-03-01 Thread Emil Velikov
On 28/02/15 20:42, Matt Turner wrote: > On Sat, Feb 28, 2015 at 3:10 AM, Emil Velikov > wrote: >> On 27/02/15 17:42, Matt Turner wrote: >>> For flex and bison, we check if a generated source file exists, which >>> is probably a good idea. That way configure will fail in a git >>> checkout if you

Re: [Mesa-dev] [PATCH 0/6] egl: Drop non-c99 keywords - INLINE, __FUNCTION__

2015-03-01 Thread Emil Velikov
On 28/02/15 18:00, Matt Turner wrote: > On Sat, Feb 28, 2015 at 9:48 AM, Emil Velikov > wrote: >> Here is to another round of cleanups :-) > > The series is > > Reviewed-by: Matt Turner > Thanks. I'll give it a couple of days for any comments/objections and push the lot. >> Namely we drop th

[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(-)

[Mesa-dev] [PATCH] draw: fix division-by-zero for empty geometry shaders

2015-03-01 Thread Marek Olšák
From: Marek Olšák Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89372 --- src/gallium/auxiliary/draw/draw_pt_emit.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c index b21

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

2015-03-01 Thread Emil Velikov
On 01/03/15 14:09, 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. > > Cc: Emil Velikov > Signed-off-by: Marc Dietrich > Reviewed-by: Emil Velikov Looks great thank you. I'm

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Kai changed: What|Removed |Added Depends on||89377 -- You are receiving this mail because: You

Re: [Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.

2015-03-01 Thread Emil Velikov
On 01/03/15 08:49, Vinson Lee wrote: > Fix GCC cpp warnings with glibc >= 2.19. > > /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" >^

Re: [Mesa-dev] [PATCH] docs: describe the NVC0_COMPUTE envvar

2015-03-01 Thread Ilia Mirkin
Why wouldn't they always just be enabled :) Also, do you have to set it to get MP counters on kepler+? And why is it called "compute" if it enables performance counters... probably does more than that, no? On Sun, Mar 1, 2015 at 6:44 AM, Samuel Pitoiset wrote: > Signed-off-by: Samuel Pitoiset >

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

2015-03-01 Thread 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 simplification relies on the assumption that compilers support -fvisibility=... if and only i

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

2015-03-01 Thread Emil Velikov
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 detection in configure and >> makes it more generic to also support compilers other than gcc. > > This simplification relies on the assumption that co

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 simplification relies on the

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. > > > > Cc: Emil Velikov > > Signed-

Re: [Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.

2015-03-01 Thread Vinson Lee
On Sun, Mar 1, 2015 at 8:52 AM, Emil Velikov wrote: > On 01/03/15 08:49, Vinson Lee wrote: >> Fix GCC cpp warnings with glibc >= 2.19. >> >> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and >> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] >> # warning "_BSD_SOURCE an

[Mesa-dev] [PATCH] c99_alloca.h: Include stdlib.h on all non-Windows.

2015-03-01 Thread Vinson Lee
Fix build on FreeBSD. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364 Signed-off-by: Vinson Lee --- include/c99_alloca.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/c99_alloca.h b/include/c99_alloca.h index 7a81c50..575f719 100644 --- a/include/c

Re: [Mesa-dev] [PATCH] c99_alloca.h: Include stdlib.h on all non-Windows.

2015-03-01 Thread Alan Coopersmith
On 03/ 1/15 12:52 PM, Vinson Lee wrote: Fix build on FreeBSD. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364 Signed-off-by: Vinson Lee --- include/c99_alloca.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/c99_alloca.h b/include/c99_alloca.h i

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

2015-03-01 Thread 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 detection in configure and makes it more generic to also support compilers other than gcc. This simplificati

Re: [Mesa-dev] [PATCH] docs: describe the NVC0_COMPUTE envvar

2015-03-01 Thread Samuel Pitoiset
On 03/01/2015 07:21 PM, Ilia Mirkin wrote: Why wouldn't they always just be enabled :) Also, do you have to set it to get MP counters on kepler+? And why is it called "compute" if it enables performance counters... probably does more than that, no? It is not enabled by default because compute

Re: [Mesa-dev] [PATCH] docs: describe the NVC0_COMPUTE envvar

2015-03-01 Thread Ilia Mirkin
On Sun, Mar 1, 2015 at 4:55 PM, Samuel Pitoiset wrote: > > On 03/01/2015 07:21 PM, Ilia Mirkin wrote: >> >> Why wouldn't they always just be enabled :) Also, do you have to set >> it to get MP counters on kepler+? And why is it called "compute" if it >> enables performance counters... probably doe

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

2015-03-01 Thread Emil Velikov
On 01/03/15 21:05, Alan Coopersmith wrote: > 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 detection in configure and makes it more generi

Re: [Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.

2015-03-01 Thread Emil Velikov
On 01/03/15 20:21, Vinson Lee wrote: > On Sun, Mar 1, 2015 at 8:52 AM, Emil Velikov wrote: >> On 01/03/15 08:49, Vinson Lee wrote: >>> Fix GCC cpp warnings with glibc >= 2.19. >>> >>> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and >>> _SVID_SOURCE are deprecated, use _DEFAULT_S

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 detection in > >>> configure and make

[Mesa-dev] [Bug 89387] Double delete in lp_bld_misc.cpp

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89387 Bug ID: 89387 Summary: Double delete in lp_bld_misc.cpp Product: Mesa Version: 10.5 Hardware: Other OS: All Status: NEW Severity: normal Priorit

mesa-dev@lists.freedesktop.org

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86958 --- Comment #7 from Chris Vine --- I have posted bug #89387, entitled "Double delete in lp_bld_misc.cpp". -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailin

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

2015-03-01 Thread Emil Velikov
On 1 March 2015 at 22:38, Sedat Dilek wrote: > On Sun, Mar 1, 2015 at 11:31 PM, Emil Velikov > wrote: >> On 01/03/15 21:05, Alan Coopersmith wrote: >>> 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:

Re: [Mesa-dev] [PATCH] draw: fix division-by-zero for empty geometry shaders

2015-03-01 Thread Dave Airlie
On 2 March 2015 at 01:23, Marek Olšák wrote: > From: Marek Olšák > Reviewed-by: Dave Airlie > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89372 > --- > src/gallium/auxiliary/draw/draw_pt_emit.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/src/galli

Re: [Mesa-dev] [Mesa-stable] [PATCH] mesa: Correct backwards NULL check.

2015-03-01 Thread Ian Romanick
On 02/28/2015 11:34 AM, Emil Velikov wrote: > On 28/02/15 19:15, Matt Turner wrote: >> Cc: "10.4, 10.5" > I swear that was brought up already... It was, and I thought I fixed it. I must have had some sort of rebase fail or something. :( Ugh. > Seems that v2 of commit 4fd8b301237 was supposed t

Re: [Mesa-dev] [PATCH 1/8] util: Change hash_table to use quadratic probing.

2015-03-01 Thread Erik Faye-Lund
On Sat, Feb 28, 2015 at 1:53 PM, Thomas Helland wrote: > This should give better cache locality, less memory consumption, > less code, and should also be faster since we avoid a modulo operation. > > This is not the quadratic probing function you see most places. > They do not accumulate, so you t

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

2015-03-01 Thread Sedat Dilek
On Sun, Mar 1, 2015 at 7:30 PM, Matt Turner wrote: > 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 simplification relies on the assum

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

2015-03-01 Thread Sedat Dilek
On Sun, Mar 1, 2015 at 11:31 PM, Emil Velikov wrote: > On 01/03/15 21:05, Alan Coopersmith wrote: >> 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 fl

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

2015-03-01 Thread 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. > > Cc: Emil Velikov > Signed-off-by: Marc Dietrich > [ CC Matt ] What happened to 2/2 (mapi tl

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

2015-03-01 Thread Sedat Dilek
On Sun, Mar 1, 2015 at 5:45 PM, Emil Velikov wrote: > On 01/03/15 14:09, 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. >> >> Cc: Emil Velikov >> Signed-off-by: Marc Dietrich

Re: [Mesa-dev] [PATCH 2/6] i965/fs: Silence unused parameter warning

2015-03-01 Thread Jason Ekstrand
Not sure why you Cc'd me, but whatever. Seems obvious enough. Reviewed-by: Jason Ekstrand On 02/27/2015 06:50 PM, Ian Romanick wrote: From: Ian Romanick Unused since b18fd23. brw_fs.cpp:2878:44: warning: unused parameter 'dispatch_width' [-Wunused-parameter] clear_deps_for_inst_src(fs_in

[Mesa-dev] [PATCH 4/5] st/mesa: add ATC support

2015-03-01 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_extensions.c | 5 + src/mesa/state_tracker/st_format.c | 14 ++ 2 files changed, 19 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index ce29d07..354eb7e 100

[Mesa-dev] [PATCH 3/5] llvmpipe, softpipe: no support for ATC textures

2015-03-01 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/drivers/llvmpipe/lp_screen.c | 3 ++- src/gallium/drivers/softpipe/sp_screen.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 3387d3a..f6c

[Mesa-dev] [PATCH 5/5] freedreno/a3xx: add GL_AMD_compressed_ATC_texture support

2015-03-01 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- docs/relnotes/10.6.0.html | 1 + src/gallium/drivers/freedreno/a3xx/fd3_format.c | 4 2 files changed, 5 insertions(+) diff --git a/docs/relnotes/10.6.0.html b/docs/relnotes/10.6.0.html index d183c07..57fe4d5 100644 --- a/docs/relnotes/10

[Mesa-dev] [PATCH 1/5] mesa: add GL_AMD_compressed_ATC_texture support

2015-03-01 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mapi/glapi/gen/es_EXT.xml | 6 ++ src/mesa/main/extensions.c| 1 + src/mesa/main/format_info.py | 2 ++ src/mesa/main/formats.c | 11 +++ src/mesa/main/formats.csv | 5 + src/mesa/main/formats.h | 5 + src/mesa/main/

[Mesa-dev] [PATCH 2/5] gallium: add ATC format support

2015-03-01 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/auxiliary/util/u_format.csv | 4 src/gallium/auxiliary/util/u_format.h | 8 +++- src/gallium/auxiliary/util/u_format_fake.c | 4 src/gallium/auxiliary/util/u_format_fake.h | 4 src/gallium/auxiliary/util/u_format_pack.py |

Re: [Mesa-dev] [PATCH 1/5] mesa: add GL_AMD_compressed_ATC_texture support

2015-03-01 Thread Jason Ekstrand
I don't know if you got everything but I didn't notice anything missing and what's there looks correct to me. Reviewed-by: Jason Ekstrand On Mar 1, 2015 7:08 PM, "Ilia Mirkin" wrote: > Signed-off-by: Ilia Mirkin > --- > src/mapi/glapi/gen/es_EXT.xml | 6 ++ > src/mesa/main/extensions.c

[Mesa-dev] [Bug 89330] piglit glsl-1.50 invariant-qualifier-in-out-block-01 regression

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89330 lu hua changed: What|Removed |Added CC||huax...@intel.com --- Comment #2 from lu hua -

[Mesa-dev] [Bug 88907] [PNV Bisected]Ogles2conform ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float segfault

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88907 lu hua changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 88907] [PNV Bisected]Ogles2conform ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float segfault

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88907 lu hua changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #9 from lu hua --- Verifi

[Mesa-dev] [Bug 88907] [PNV Bisected]Ogles2conform ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float segfault

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88907 --- Comment #10 from Tapani Pälli --- The test still fails though, will you open a separate bug for that or will we handle it in the same one? -- You are receiving this mail because: You are the QA Contact for the bug. _

Re: [Mesa-dev] [RFC] configure.ac: Don't check for python mako module if python is not installed

2015-03-01 Thread Samuel Iglesias Gonsálvez
On Sun, 2015-03-01 at 12:38 +, Emil Velikov wrote: > On 28/02/15 20:42, Matt Turner wrote: > > On Sat, Feb 28, 2015 at 3:10 AM, Emil Velikov > > wrote: > >> On 27/02/15 17:42, Matt Turner wrote: > >>> For flex and bison, we check if a generated source file exists, which > >>> is probably a go

[Mesa-dev] [Bug 88907] [PNV Bisected]Ogles2conform ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float segfault

2015-03-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88907 --- Comment #11 from lu hua --- (In reply to Tapani Pälli from comment #10) > The test still fails though, will you open a separate bug for that or will > we handle it in the same one? It always fail, So closed this bug. Reported bug 89389 to tr