Re: [Mesa-dev] [PIGLIT, radeonsi] crash in spec/glsl-1.50/execution/geometry/max-input-components fixed

2014-04-19 Thread Kai Wasserbäch
Hello Tom, Tom Stellard schrieb am 19.04.2014 06:37: > On Fri, Apr 18, 2014 at 06:59:37PM +0200, Kai Wasserbäch wrote: >> Tom Stellard schrieb am 16.04.2014 17:07: >>> Here is the branch: >>> http://cgit.freedesktop.org/~tstellar/llvm/log/?h=si-spill-fixes I noticed, that the patches add a SI_SPI

Re: [Mesa-dev] [PATCH 2/2] llvmpipe: fix clearing of individual color buffers in a fb

2014-04-19 Thread Roland Scheidegger
Am 19.04.2014 02:02, schrieb Brian Paul: > Looks good, but some comments below. > > On 04/17/2014 04:34 PM, srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> GL (3.0) allows you to clear individual color buffers in a fb. In fact >> for fbs containing both int and float/normalized color

[Mesa-dev] Broadcom VideoCore IV

2014-04-19 Thread Mohamed MEDIOUNI
The VideoCore IV GPU has 14 cores: - 2 VPU Cores : Full-blown cores which run the ThreadX RTOS. There is an experimental LLVM port to it and also the VBCC C89 compiler(which has'nt time support so classic benchmarks run indefinitely). The binary blob run on that. 5 GFlops - 12 QPU Cores : 3D core

Re: [Mesa-dev] Regressions due to commit 1afe3359258

2014-04-19 Thread Ilia Mirkin
On Fri, Apr 18, 2014 at 1:35 PM, Jordan Justen wrote: > On 2014-04-18 08:46:00, Kenneth Graunke wrote: >> On 04/18/2014 12:09 AM, Ilia Mirkin wrote: >> > Hi Ken, >> > >> > I just did a bisect looking for the failure that's causing a few >> > gs-related piglits to fail on nv50, and it came up with

Re: [Mesa-dev] [PATCH] egl: Add GetSyncValuesCHROMIUM extension.

2014-04-19 Thread Chad Versace
On Fri, Apr 18, 2014 at 05:30:02PM -0700, Ian Romanick wrote: > On 04/18/2014 05:07 PM, Jamey Sharp wrote: > > On Fri, Apr 18, 2014 at 4:49 PM, Ian Romanick wrote: > >> On 04/18/2014 03:37 PM, Sarah Sharp wrote: > If you use the unchecked > > variant of the request, then the error is placed in th

Re: [Mesa-dev] [PATCH] egl: Add GetSyncValuesCHROMIUM extension.

2014-04-19 Thread Chad Versace
On Fri, Apr 18, 2014 at 06:19:06PM -0700, Sarah Sharp wrote: > [I missed Chad on the original Cc somehow; hopefully he can find the > original mails.] I have some comments too. Some of my comments conflict with Ian's, and also conflict with advice I previously gave you (sorry). > On Fri, Apr 18,

Re: [Mesa-dev] Regressions due to commit 1afe3359258

2014-04-19 Thread Jordan Justen
On Sat, Apr 19, 2014 at 10:03 AM, Ilia Mirkin wrote: > On Fri, Apr 18, 2014 at 1:35 PM, Jordan Justen > wrote: >> On 2014-04-18 08:46:00, Kenneth Graunke wrote: >>> On 04/18/2014 12:09 AM, Ilia Mirkin wrote: >>> > Hi Ken, >>> > >>> > I just did a bisect looking for the failure that's causing a fe

[Mesa-dev] [PATCH] fix GetStringi error message with correct name function

2014-04-19 Thread Benjamin Bellec
Signed-off-by: Benjamin Bellec --- src/mesa/main/getstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 3ac62d4..1ac92e2 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -166,7 +166,7 @@

Re: [Mesa-dev] [PATCH] fix GetStringi error message with correct name function

2014-04-19 Thread Benjamin
I forgot to cc the stable mailing list for this patch. 2014-04-19 21:05 GMT+02:00 Benjamin Bellec : > > Signed-off-by: Benjamin Bellec > --- > src/mesa/main/getstring.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.

Re: [Mesa-dev] [PATCH] egl: Add GetSyncValuesCHROMIUM extension.

2014-04-19 Thread Stéphane Marchesin
On Fri, Apr 18, 2014 at 3:37 PM, Sarah Sharp wrote: > Chromium defined a new GL extension (that isn't registered with Khronos). > This here is the problem IMO. I'll see next week what we can do about pushing for this to become a registered extension. Intel would be our 2nd implementation, so I th

Re: [Mesa-dev] [PATCH mesa/mesa] Check for dladdr(), rather than assuming we have it if we have RTLD_DEFAULT

2014-04-19 Thread Emil Velikov
On 17/04/14 11:41, Jon TURNEY wrote: > On 09/04/2014 14:53, Jonathan Gray wrote: >> On Sun, Apr 06, 2014 at 03:30:43PM +0100, Jon TURNEY wrote: >>> Unfortunately, Cygwin defines RTLD_DEFAULT (for glibc compatibility), but >>> can't >>> provide dladdr(), so add a check for dladdr() >>> >>> --- >>>

Re: [Mesa-dev] [PATCH 01/16] dri_util: keep __dri2ConfigOptions symbol private

2014-04-19 Thread Emil Velikov
On 05/04/14 02:46, Emil Velikov wrote: > The symbol was added with commit 45e2b51c853(DRI2/GLX: check for > vblank_mode in DRI2 GLX code) but was never used as such according > to git log. > > Possibly it was marked as public due to confusion with > __driConfigOptions which was used for dri1 drive

Re: [Mesa-dev] [PATCH 12/16] targets/libgl-xlib: hide all the exported symbol mayhem

2014-04-19 Thread Emil Velikov
humble ping On 05/04/14 02:47, Emil Velikov wrote: > TODO: > - properly cleanup all the _glapi* symbols > - XMesa* > -- no sign of the header even being distributed > -- mesa-demos uses it to the point that the relevant code is not compiled > -- the classic driver (x11) exibits the same issue

[Mesa-dev] The way r600g handles shaders that use more than available GPRs

2014-04-19 Thread Marcello Maggioni
Hello, I realized while playing Diablo III on my machine that some shaders seem to run out of available GPRs using r600g with my Macbook Pro with a HD6750m. If the driver tries to do something to handle this case, but I couldn't find any part inside the code that has to do with "spilling". There

Re: [Mesa-dev] The way r600g handles shaders that use more than available GPRs

2014-04-19 Thread Marek Olšák
It looks like the check is not needed with SB, because SB performs register allocation. What happens if you comment out the conditional which fails? Marek On Sun, Apr 20, 2014 at 1:30 AM, Marcello Maggioni wrote: > Hello, > > I realized while playing Diablo III on my machine that some shaders se

Re: [Mesa-dev] The way r600g handles shaders that use more than available GPRs

2014-04-19 Thread Marcello Maggioni
Hi Marek, I tried doing what you suggested and the game runs , but when the offending shader is loaded the game FPS drop to like 0.1 making everything unplayable. Other parts of the game (that don't make use of that shader, like menus and most of the levels) are fine though. With the check in pla

[Mesa-dev] fbo-generatemipmap-array regression after 5a2f8b2c48a14

2014-04-19 Thread Ilia Mirkin
Hi Brian, I bisected a nv50/nvc0 regression in fbo-generatemipmap-array to commit 5a2f8b2c48a14. The commit itself seems correct, but I double-checked my bisection results (at least on nv50, I only assume that it's the same commit causing the nvc0 regression). The nv50_set_sampler_views function a

[Mesa-dev] atan2 piglit failures since commit d877c643b

2014-04-19 Thread Ilia Mirkin
Hi Matt, Starting with commit d877c643b ("glsl: Use M_PI_* macros."), I'm seeing a few piglit failures on nvcf (GF116) for generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-atan-vec2-vec2.shader_test and its vs/gs counterparts. Curiously it works fine on nv50-family chips. I checked

Re: [Mesa-dev] atan2 piglit failures since commit d877c643b

2014-04-19 Thread Ilia Mirkin
On Sat, Apr 19, 2014 at 11:26 PM, Ilia Mirkin wrote: > Hi Matt, > > Starting with commit d877c643b ("glsl: Use M_PI_* macros."), I'm > seeing a few piglit failures on nvcf (GF116) for > > generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-atan-vec2-vec2.shader_test > > and its vs/gs co

Re: [Mesa-dev] atan2 piglit failures since commit d877c643b

2014-04-19 Thread Matt Turner
On Sat, Apr 19, 2014 at 8:26 PM, Ilia Mirkin wrote: > Hi Matt, > > Starting with commit d877c643b ("glsl: Use M_PI_* macros."), I'm > seeing a few piglit failures on nvcf (GF116) for > > generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-atan-vec2-vec2.shader_test Strange. They all pa

Re: [Mesa-dev] atan2 piglit failures since commit d877c643b

2014-04-19 Thread Ilia Mirkin
On Sun, Apr 20, 2014 at 12:50 AM, Matt Turner wrote: > On Sat, Apr 19, 2014 at 8:26 PM, Ilia Mirkin wrote: >> Hi Matt, >> >> Starting with commit d877c643b ("glsl: Use M_PI_* macros."), I'm >> seeing a few piglit failures on nvcf (GF116) for >> >> generated_tests/spec/glsl-1.10/execution/built-in