Re: [Mesa-dev] [PATCH 2/2] mesa: Add performance debug for meta code.

2013-04-20 Thread Kenneth Graunke
On 04/19/2013 11:35 AM, Eric Anholt wrote: I noticed a fallback in regnum through sysprof, and wanted a nicer way to get information about it. --- src/mesa/drivers/common/meta.c | 28 +--- src/mesa/main/errors.h | 10 ++ 2 files changed, 35

Re: [Mesa-dev] [PATCH] radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA.

2013-04-20 Thread Mathias Fröhlich
Hi Tom, May be I need to tell where the problem really appears in real life. OpenSceneGraph has some nifty features regarding multi channel rendering. Assume a setup of multiple full screen views running on different graphics boards into a single mashine composing a view into a single scene.

[Mesa-dev] [PATCH 1/3] gallivm: Emit vector selects.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com They are supported on LLVM 3.1, at least on x86. (I haven't tested on PPC though.) Actually lp_build_linear_mip_levels() already has been emitting them for some time. This avoids intrinsics, which tend to be an obstacle for certain optimization passes. ---

[Mesa-dev] [PATCH 2/3] gallivm: Disable LLVM 2.7 workaround on other versions.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com 2.7 was a particularly trouble ridden released. Furthermore, the bug no longer can be reproduced ever since the first_level state was taken in account. --- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c |3 +-- 1 file changed, 1 insertion(+), 2

[Mesa-dev] [PATCH 3/3] llvmpipe: Ignore depth-stencil state if format has no depth/stencil.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com Prevents assertion failures inside the driver for such state combinations. --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Vadim Girlin
On 04/20/2013 03:11 AM, Marek Olšák wrote: Please don't add any new environment variables and use R600_DEBUG instead. The other environment variables are deprecated. I agree, those vars probably need some cleanup, they were added before R600_DEBUG appeared. Though I'm afraid some of my

Re: [Mesa-dev] [PATCH 5/6] configure: remove IN_DRI_DRIVER

2013-04-20 Thread Andreas Boll
2013/4/20 Brian Paul bri...@vmware.com On 04/19/2013 01:56 PM, Andreas Boll wrote: From: Brian Paulbri...@vmware.com I don't recall authoring this particular patch. But AFAICT, IN_DRI_DRIVER is no loger used, as you indidate. -Brian See

Re: [Mesa-dev] [PATCH v3] R600/SI: Add pattern for AMDGPUurecip

2013-04-20 Thread Christian König
Am 20.04.2013 06:06, schrieb Tom Stellard: On Thu, Apr 11, 2013 at 10:12:01AM +0200, Christian König wrote: Am 10.04.2013 18:50, schrieb Tom Stellard: On Wed, Apr 10, 2013 at 05:59:48PM +0200, Michel Dänzer wrote: [SNIP] We should start using the updated pattern syntax for all new patterns.

[Mesa-dev] [PATCH] llvmpipe: Don't support Z32_FLOAT_S8X24_UINT texture sampling support either.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com Because we don't support, and the u_format fallback doesn't work for zs formats. --- src/gallium/drivers/llvmpipe/lp_screen.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Vadim Girlin
On 04/20/2013 01:42 PM, Christian König wrote: Am 19.04.2013 18:50, schrieb Vadim Girlin: On 04/19/2013 08:35 PM, Christian König wrote: Hey Vadim, Am 19.04.2013 18:18, schrieb Vadim Girlin: [SNIP] In theory, yes, some optimizations in this branch are typically used on the earlier

[Mesa-dev] [PATCH] radeonsi: cleanup disabling tiling for UVD

2013-04-20 Thread Christian König
From: Christian König christian.koe...@amd.com Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=63702 Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/radeonsi/radeonsi_uvd.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Christian König
Am 20.04.2013 13:12, schrieb Vadim Girlin: On 04/20/2013 01:42 PM, Christian König wrote: Am 19.04.2013 18:50, schrieb Vadim Girlin: On 04/19/2013 08:35 PM, Christian König wrote: Hey Vadim, Am 19.04.2013 18:18, schrieb Vadim Girlin: [SNIP] In theory, yes, some optimizations in this branch

Re: [Mesa-dev] [PATCH] radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA.

2013-04-20 Thread Christian König
Am 20.04.2013 09:27, schrieb Mathias Fröhlich: Hi Tom, May be I need to tell where the problem really appears in real life. OpenSceneGraph has some nifty features regarding multi channel rendering. Assume a setup of multiple full screen views running on different graphics boards into a single

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Vadim Girlin
On 04/20/2013 03:38 PM, Christian König wrote: Am 20.04.2013 13:12, schrieb Vadim Girlin: On 04/20/2013 01:42 PM, Christian König wrote: Am 19.04.2013 18:50, schrieb Vadim Girlin: On 04/19/2013 08:35 PM, Christian König wrote: Hey Vadim, Am 19.04.2013 18:18, schrieb Vadim Girlin: [SNIP]

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Henri Verbeet
On 19 April 2013 18:01, Vadim Girlin vadimgir...@gmail.com wrote: The choice of C++ (unlike in my previous branch that used C) was mostly driven by the fact that optimization algorithms usually deal with a lot of different complex data structures, containers, etc, and C++ allows to isolate

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Vadim Girlin
On 04/20/2013 07:05 PM, Henri Verbeet wrote: On 19 April 2013 18:01, Vadim Girlin vadimgir...@gmail.com wrote: The choice of C++ (unlike in my previous branch that used C) was mostly driven by the fact that optimization algorithms usually deal with a lot of different complex data structures,

Re: [Mesa-dev] [PATCH] llvmpipe: Don't support Z32_FLOAT_S8X24_UINT texture sampling support either.

2013-04-20 Thread Brian Paul
On 04/20/2013 03:45 AM, jfons...@vmware.com wrote: From: José Fonsecajfons...@vmware.com Because we don't support, and the u_format fallback doesn't work for zs formats. --- src/gallium/drivers/llvmpipe/lp_screen.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

Re: [Mesa-dev] [PATCH 1/3] gallivm: Emit vector selects.

2013-04-20 Thread Brian Paul
On 04/20/2013 02:57 AM, jfons...@vmware.com wrote: From: José Fonsecajfons...@vmware.com They are supported on LLVM 3.1, at least on x86. (I haven't tested on PPC though.) Actually lp_build_linear_mip_levels() already has been emitting them for some time. This avoids intrinsics, which tend to

[Mesa-dev] [Bug 63469] OSMesa Gallium llvmpipe VTK Test Failures

2013-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63469 --- Comment #1 from Brian Paul bri...@vmware.com --- Thanks for the traces. It appears that we've got the sub-pixel positioning of lines incorrect in llvmpipe. Softpipe matches NVIDIA's driver but llvmpipe is off by a half pixel both in x and

[Mesa-dev] [Bug 63472] OSMesa Gallium Segfault in VTK Test

2013-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63472 --- Comment #1 from Brian Paul bri...@vmware.com --- Could you run this test with valgrind? That should give us a bit more info. -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [Bug 63472] OSMesa Gallium Segfault in VTK Test

2013-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63472 --- Comment #2 from Kevin Hobbs hob...@ohiou.edu --- Created attachment 78281 -- https://bugs.freedesktop.org/attachment.cgi?id=78281action=edit valgring output -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [PATCH 1/2] gallium: Add a new clip_halfz rasterizer state.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com gl_rasterization_rules lumps too many different flags. --- src/gallium/auxiliary/draw/draw_context.c |1 + src/gallium/auxiliary/draw/draw_llvm.c |2 +- src/gallium/auxiliary/draw/draw_pt.h |2 +-

[Mesa-dev] [PATCH 1/2] gallium: Add a new clip_halfz rasterizer state.

2013-04-20 Thread jfonseca
From: José Fonseca jfons...@vmware.com gl_rasterization_rules lumps too many different flags. --- src/gallium/auxiliary/draw/draw_context.c |1 + src/gallium/auxiliary/draw/draw_llvm.c |2 +- src/gallium/auxiliary/draw/draw_pt.h |2 +-

Re: [Mesa-dev] [PATCH 1/2] gallium: Add a new clip_halfz rasterizer state.

2013-04-20 Thread Jose Fonseca
The second patch didn't make the list. Probably because I'm not the author. Not sure exactly how to get git send-email to handle that properly. I'll retry sending it shortly. Anyway, the change is on

Re: [Mesa-dev] r600g: status of the r600-sb branch

2013-04-20 Thread Marek Olšák
Ah, I didn't know you had any other env vars. It's preferable to have as many boolean flags as possible handled by a single env var, because it's easier to use (R600_DUMP_SHADERS counts as a pretty ugly list of boolean flags hidden behind a magic number). Feel free to have separate env vars for

[Mesa-dev] [PATCH] i965/fs: Don't save value returned by emit() if it's not used.

2013-04-20 Thread Matt Turner
Probably a copy-n-paste mistake. --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 422816d..f1539d5 100644

[Mesa-dev] [PATCH] i965: Fix a mistake in the comments for software counters.

2013-04-20 Thread Kenneth Graunke
The code doesn't set brw-query.obj to NULL, it sets query-bo to NULL. --- src/mesa/drivers/dri/i965/brw_queryobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c b/src/mesa/drivers/dri/i965/brw_queryobj.c index 194725c..81e975a