[Mesa-dev] [Bug 85199] glxinfo segfaults when mesa was compiled with clang & libc++

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85199 Michi changed: What|Removed |Added Status|NEEDINFO|NEW Assignee|mesa-dev@lists.freedeskto

[Mesa-dev] [Bug 82585] geometry shader with optional out variable segfaults

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82585 --- Comment #7 from Tapani Pälli --- With Intel we get following backtrace .. I don't have good enough clue to tell what's wrong but I can see that the reg and reg_offset values clearly go over the size of attribute_map. --- 8< - (gdb) #0

Re: [Mesa-dev] [PATCH 15/16] nine: Add drirc options

2014-10-20 Thread Michel Dänzer
On 20.10.2014 14:47, Axel Davy wrote: On 20/10/2014 04:32, Michel Dänzer wrote : On 18.10.2014 20:55, David Heidelberger wrote: From: Axel Davy [...] +#define DRI_CONF_NINE_VSYNC(def) \ +DRI_CONF_OPT_BEGIN_V(vsync_force,enum,def,"0:2") \ +DRI_CONF_DESC_BEGIN(en,gettext("Force the u

Re: [Mesa-dev] [PATCH v2] mesa: validate sampler uniforms during gluniform calls

2014-10-20 Thread Francisco Jerez
Tapani Pälli writes: > Patch fixes 'glsl-2types-of-textures-on-same-unit' in WebGL conformance > test suite. No Piglit regressions, fixes gl-2.0-active-sampler-conflict. > > To avoid adding potentially heavy check during draw (valid_to_render), > check is done during uniform updates by inspecting

Re: [Mesa-dev] [PATCH 15/16] nine: Add drirc options

2014-10-20 Thread Axel Davy
On 20/10/2014 09:12, Michel Dänzer wrote : On 20.10.2014 14:47, Axel Davy wrote: On 20/10/2014 04:32, Michel Dänzer wrote : On 18.10.2014 20:55, David Heidelberger wrote: From: Axel Davy [...] +#define DRI_CONF_NINE_VSYNC(def) \ +DRI_CONF_OPT_BEGIN_V(vsync_force,enum,def,"0:2") \ +

Re: [Mesa-dev] [PATCH 3/3] clover: add clCompile

2014-10-20 Thread Francisco Jerez
Francisco Jerez writes: > EdB writes: > >> Sorry, I didn't test it enought. >> It needs the two following patch in order to work ok >> >> EdB (2): >> clover: add allow_empty_tag >> clover: don't return CL_INVALID_VALUE if there is no header >> > > These look good, > Reviewed-by: Francisco Je

[Mesa-dev] [Bug 84570] Borderlands 2/Pre-Sequel: Constant frame rate drops while playing; really bad with additionl lighting

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #25 from Michel Dänzer --- (In reply to Kai from comment #24) > As you can see, big FPS drops coincide usually with buffer wait time The buffer wait time might be at least partially due to a game bug (though there might be a workarou

[Mesa-dev] [PATCH] clover: use correct typenames for compat::pair's first/second

2014-10-20 Thread Emil Velikov
Seems to be a typo judging from the overall declaration of the template. Cc: EdB Cc: Francisco Jerez Signed-off-by: Emil Velikov --- src/gallium/state_trackers/clover/util/compat.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/util/

Re: [Mesa-dev] [PATCH] clover: use correct typenames for compat::pair's first/second

2014-10-20 Thread Francisco Jerez
Emil Velikov writes: > Seems to be a typo judging from the overall declaration of the > template. > > Cc: EdB > Cc: Francisco Jerez > Signed-off-by: Emil Velikov Thanks, Reviewed-by: Francisco Jerez > --- > src/gallium/state_trackers/clover/util/compat.hpp | 4 ++-- > 1 file changed, 2 ins

[Mesa-dev] [Bug 74563] Surfaceless contexts are not properly released by DRI drivers

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74563 kalyank changed: What|Removed |Added CC||kondapallykalyancontribute@

[Mesa-dev] [Bug 74563] Surfaceless contexts are not properly released by DRI drivers

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74563 --- Comment #2 from kalyank --- Can you send the patch for review to Mesa mailing list? -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lis

[Mesa-dev] [Bug 84566] Unify the format conversion code

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #31 from Iago Toral --- Jason, there is an had-hoc path to deal with MESA_FORMAT_YCBCR* in texstore.c. Seems that this path only allows conversion between these formats, which is mostly a memcpy with some byte swapping when necessary.

[Mesa-dev] [PATCH 02/14] mesa/gallium: API settings / rasterization rules

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller D3D9 has different system coordinate, add neccessary infrastructure for it. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_dump_state.c | 2 ++ src/gallium/docs/source/context.rst | 8 +- src/gallium/docs/source/cso/rasterizer.rst |

[Mesa-dev] [PATCH 07/14] gallium/auxiliary: Prefer intrinsics to handrolled atomic ops for Linux (v2)

2014-10-20 Thread David Heidelberger
v2: prefer intrinsics only on Linux to avoid compilation problems on other platforms [1]. We need this patch, because Gallium Nine use directly intrinsics. Otherwise build fails. [1] https://bugs.freedesktop.org/show_bug.cgi?id=30514 Signed-off-by: David Heidelberger --- src/gallium/auxili

[Mesa-dev] [PATCH 05/14] gallium/auxiliary: implement sw_probe_wrapped

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller This is useful for resource sharing. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/pipe-loader/pipe_loader.h| 11 +++ src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 22 ++ src/gallium/targets/gbm/Makefile.am

[Mesa-dev] [PATCH 00/14] [v2] Famous Gallium Nine

2014-10-20 Thread David Heidelberger
Hello. Sending second and improved set of Nine patches. - few of them are dropped [PATCH 06/16] gallium: add blending to pipe blit (only for Nouveau) [PATCH 07/16] util: dlopen change to RTLD_NOW and LOCAL (not needed) - some of them are already improved (v2) - there was few lines of cod

[Mesa-dev] [PATCH 03/14] gallium/drivers: use API settings / rasterization rules

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller This commit allow drivers use new added infrastructure. Signed-off-by: David Heidelberger --- src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1 + src/gal

[Mesa-dev] [PATCH 01/14] tgsi/ureg: add ureg_UARL shortcut

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller We use it in Gallium Nine code. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h b/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h index 788

Re: [Mesa-dev] [PATCH] Prefer intrinsics to handrolled atomic ops for Linux (v2)

2014-10-20 Thread Roland Scheidegger
Am 19.10.2014 um 18:32 schrieb David Heidelberger: > v2: prefer intrinsics only on Linux to avoid compilation problems on other > platforms [1]. > > Is posible that other OS could also benefit from intrinsic. > > We need this patch, because Gallium Nine use directly intrinsics. > Otherwise build

Re: [Mesa-dev] [PATCH 02/14] mesa/gallium: API settings / rasterization rules

2014-10-20 Thread Brian Paul
I don't understand the need for lower_left_origin since D3D9 uses and upper-left window coordinate origin. Can you explain why this is needed? On 10/20/2014 06:37 AM, David Heidelberger wrote: From: Christoph Bumiller D3D9 has different system coordinate, add neccessary infrastructure for

Re: [Mesa-dev] [PATCH 12/16] gallium/auxiliary: add contained and rect checks

2014-10-20 Thread Brian Paul
A bunch of style nitpicks below... On 10/18/2014 05:55 AM, David Heidelberger wrote: From: Christoph Bumiller Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_box.h | 201 src/gallium/auxiliary/util/u_rect.h | 28 + 2 files chan

Re: [Mesa-dev] [PATCH 13/16] gallium/auxiliary: add dump functions for Nine

2014-10-20 Thread Brian Paul
The subject line sould be something like: gallium/auxiliary: add dump functions for bind and transfer flags No need to mention the Nine state tracker. On 10/18/2014 05:55 AM, David Heidelberger wrote: From: Christoph Bumiller Signed-off-by: David Heidelberger --- src/gallium/auxiliary/u

Re: [Mesa-dev] [PATCH 01/16] tgsi/ureg: add ureg_UARL shortcut

2014-10-20 Thread Brian Paul
On 10/18/2014 05:54 AM, David Heidelberger wrote: From: Christoph Bumiller Signed-off-by: David Heidelberger --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h b/src/gallium/auxiliary/tgsi/tgsi_o

[Mesa-dev] [Bug 84570] Borderlands 2/Pre-Sequel: Constant frame rate drops while playing; really bad with additionl lighting

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #26 from Kai --- (In reply to Michel Dänzer from comment #25) > (In reply to Kai from comment #24) > > As you can see, big FPS drops coincide usually with buffer wait time > > The buffer wait time might be at least partially due to a

[Mesa-dev] [Bug 85203] [DRI2][RadeonSI] Pageflip completion event has impossible msc.

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85203 --- Comment #1 from Alex Deucher --- Please attach your xorg log and dmesg output. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.fr

Re: [Mesa-dev] [PATCH 02/14] mesa/gallium: API settings / rasterization rules

2014-10-20 Thread Axel Davy
In addition, it seems the support for PIPE_CAP_RASTERIZER_LOWER_LEFT_ORIGIN was only added to a few nouveau drivers. I checked if any change is introduces when unsupported, and If I'm correct, this patch introduces a change at the one before last change (in emit_wpos), adjY[1] would be set to

[Mesa-dev] [Bug 84570] Borderlands 2/Pre-Sequel: Constant frame rate drops while playing; really bad with additionl lighting

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #27 from Ian C. Bullard --- > The buffer wait time might be at least partially due to a game bug (though > there might be a workaround in Mesa at some point): > http://lists.freedesktop.org/archives/mesa-dev/2014-October/069354.html

[Mesa-dev] [Bug 84570] Borderlands 2/Pre-Sequel: Constant frame rate drops while playing; really bad with additionl lighting

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #28 from Kai --- (In reply to Ian C. Bullard from comment #27) > > The buffer wait time might be at least partially due to a game bug (though > > there might be a workaround in Mesa at some point): > > http://lists.freedesktop.org/arc

[Mesa-dev] [Bug 84566] Unify the format conversion code

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #32 from Jason Ekstrand --- (In reply to Iago Toral from comment #31) > Jason, there is an had-hoc path to deal with MESA_FORMAT_YCBCR* in > texstore.c. Seems that this path only allows conversion between these > formats, which is mos

[Mesa-dev] [PATCH 08/14] configure: add configurable pipe-driver location

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller This option gives better flexibility when using gallium pipe drivers. Signed-off-by: David Heidelberger --- configure.ac | 7 +++ src/gallium/state_trackers/clover/Makefile.am | 2 +- src/gallium/state_trackers/dri/Makefile.am|

[Mesa-dev] [PATCH 12/14] nine: Add state tracker nine for Direct3D9

2014-10-20 Thread David Heidelberger
From: Joakim Sindholt Work of Joakim Sindholt (zhasha) and Christoph Bumiller (chrisbmr). DRI3 port done by Axel Davy (mannerov). Signed-off-by: David Heidelberger --- configure.ac | 29 +- include/D3D9/d3d9.h| 1858 ++

Re: [Mesa-dev] [PATCH 2/3] gallium/nouveau: use std::isfinite in c++ sources

2014-10-20 Thread Jose Fonseca
Note that doing #include is a bad idea too, as it can cause precisely the same error you're trying to fix. This is because on certain implementations of C++ STL, if some other header has '#include , then '#include ' later on, the later include can be a no-op and nothing is declared on std

Re: [Mesa-dev] [PATCH 02/16] mesa/gallium: API settings / rasterization rules

2014-10-20 Thread Jose Fonseca
I this is unnecessary. We already have an internal DX9 state tracker and it doesn't need any of this. IIRC, the solution is as simple as flipping the viewport. Jose From: mesa-dev on behalf of David Heidelberger Sent: 18 October 2014 04:54 To: mesa-d

Re: [Mesa-dev] [PATCH 06/16] gallium: add blending to pipe blit

2014-10-20 Thread Jose Fonseca
I also can't see where this is being used in https://github.com/iXit/Mesa-3D/commit/9671cfd9bdad5c310b34c57befcfd7c43034b925.patch Jose From: mesa-dev on behalf of Roland Scheidegger Sent: 18 October 2014 16:09 To: mesa-dev@lists.freedesktop.org Subject

Re: [Mesa-dev] [PATCH 06/16] gallium: add blending to pipe blit

2014-10-20 Thread Axel Davy
It's only used to blend the cursor. If you check the second version of the series, the patch was dropped. Axel Davy On 20/10/2014 22:18, Jose Fonseca wrote : I also can't see where this is being used in https://github.com/iXit/Mesa-3D/commit/9671cfd9bdad5c310b34c57befcfd7c43034b925.patch Jos

Re: [Mesa-dev] [PATCH 3/3] clover: add clCompile

2014-10-20 Thread EdB
Le 2014-10-20 09:42, Francisco Jerez a écrit : Francisco Jerez writes: EdB writes: Sorry, I didn't test it enought. It needs the two following patch in order to work ok EdB (2): clover: add allow_empty_tag clover: don't return CL_INVALID_VALUE if there is no header These look good,

Re: [Mesa-dev] [PATCH] clover: use correct typenames for compat::pair's first/second

2014-10-20 Thread EdB
Le 2014-10-20 10:56, Emil Velikov a écrit : Seems to be a typo judging from the overall declaration of the template. Right. Thanks EdB Cc: EdB Cc: Francisco Jerez Signed-off-by: Emil Velikov --- src/gallium/state_trackers/clover/util/compat.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2

[Mesa-dev] [PATCH] r600g: disable sqrt for the LLVM backend.

2014-10-20 Thread Christopher Egert
sqrt is not supported by the LLVM backend. Fixes rendering errors in Passing by Still. http://demozoo.org/productions/156/ Signed-off-by: Christopher Egert --- src/gallium/drivers/r600/r600_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_

[Mesa-dev] [PATCH] clover: Require libelf

2014-10-20 Thread Jan Vesely
From: Jan Vesely CC: Tom Stellard CC: Emil Velikov CC: Francisco Jerez Signed-off-by: Jan Vesely --- This fixes clover build failures when building without radeon configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 0ed9325..c3c42af 100644 --

[Mesa-dev] [Bug 85189] llvm/invocation.cpp: In function 'void {anonymous}::optimize(llvm::Module*, unsigned int, const std::vector&)': llvm/invocation.cpp:324:18: error: expected type

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85189 Vinson Lee changed: What|Removed |Added Blocks||79706 -- You are receiving this mail becau

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Vinson Lee changed: What|Removed |Added Depends on||85189 -- You are receiving this mail becau

Re: [Mesa-dev] [PATCH 12/16] gallium/auxiliary: add contained and rect checks

2014-10-20 Thread David Heidelberger
Dne 2014-10-20 17:38, Brian Paul napsal: A bunch of style nitpicks below... On 10/18/2014 05:55 AM, David Heidelberger wrote: From: Christoph Bumiller Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_box.h | 201 src/gallium/auxili

[Mesa-dev] [PATCH 06/14] gallium/draw: support hack to disable clipping (v2)

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller v2: drop ifdef change, which may be send later in separate commit Signed-off-by: David Heidelberger --- src/gallium/auxiliary/draw/draw_context.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/

[Mesa-dev] [PATCH 11/14] gallium/auxiliary: add dump functions for Nine

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller For debugging purposes of Gallium Nine. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_dump.h | 6 +++ src/gallium/auxiliary/util/u_dump_defines.c | 78 + 2 files changed, 84 insertions(+) diff --git a/src/galli

[Mesa-dev] [PATCH 10/14] gallium/auxiliary: add contained and rect checks (v2)

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller v2: thanks to Bruno Jimenez, fixed for() in u_box_clip_3d For D3D9 is very important have handled intersections and covers. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_box.h | 201 src/gallium/auxiliary/util

[Mesa-dev] [PATCH 09/14] gallium/auxiliary: add inc and dec alternative with return

2014-10-20 Thread David Heidelberger
From: Christoph Bumiller They're useful for Gallium Nine. Signed-off-by: David Heidelberger --- src/gallium/auxiliary/util/u_atomic.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/src/gallium/auxiliary/util/u_atomic.h b/src/gallium/auxiliary/util/u_atomic.h i

[Mesa-dev] [PATCH 13/14] nine: Add drirc options (v2)

2014-10-20 Thread David Heidelberger
From: Axel Davy Implements vblank_mode and throttling, which allows us change default ratio between framerate and input lag. Signed-off-by: David Heidelberger Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/adapter9.h | 1 + src/gallium/state_trackers/nine/swapchain9.c

[Mesa-dev] [Bug 85268] New: vlc crashes with vdpau (Radeon 3850HD) [r600]

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=85268 Bug ID: 85268 Summary: vlc crashes with vdpau (Radeon 3850HD) [r600] Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 84566] Unify the format conversion code

2014-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #33 from Samuel Iglesias --- Jason, I would like to know your opinion about the integer RGBA clamping done in pack.c (_mesa_pack_rgba_span_from_ints()). glReadPixels() and glGetTexImage() specs said (for example, in OpenGL 3.3. core