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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #12 from Iago Toral --- (In reply to Jason Ekstrand from comment #11) > (In reply to Iago Toral from comment #10) > > (In reply to Iago Toral from comment #9) > > > Jason, piglit tests hit cases where they attempt to convert GL format

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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #14 from Michel Dänzer --- People reported that Mesa commit 7b4276d7acf2e0f77044cb50caa6ad936fa78786 ('r600g,radeonsi: Always use GTT again for PIPE_USAGE_STREAM buffers') helped for Borderlands 2. -- You are receiving this mail bec

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

2014-10-09 Thread EdB
On Wednesday, October 08, 2014 08:31:39 PM Francisco Jerez wrote: > I'm attaching a somewhat cleaned up version of this patch, does it look > OK to you? Tom, do you have any comments on the LLVM changes? It looks > good to me. I've tested the modified version you push at http://cgit.freedesktop

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

2014-10-09 Thread EdB
On Thursday, October 09, 2014 06:29:40 AM Tom Stellard wrote: > On Sun, Sep 28, 2014 at 12:57:22PM +0200, EdB wrote: > > --- > > > > src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- > > src/gallium/state_trackers/clover/api/program.cpp | 39 > > +++--- .../state_tracke

Re: [Mesa-dev] [PATCH] i965: Fix register write checks.

2014-10-09 Thread Anuj Phogat
On Wed, Oct 8, 2014 at 1:00 AM, Kenneth Graunke wrote: > When mapping the buffer a second time, we need to use the new pointer, > not the one from the previous mapping. Otherwise, we will most likely > crash. > > Apparently, we've just been getting lucky and getting the same > bo->virtual pointer

Re: [Mesa-dev] [PATCH 5/5] clover: Add environment variables for dumping kernel code v2

2014-10-09 Thread Francisco Jerez
Tom Stellard writes: > There are two debug variables: > > CLOVER_DEBUG which you can set to any combination of llvm,clc,asm > (separated by commas) to dump llvm IR, OpenCL C, and native assembly. > > CLOVER_DEBUG_FILE which you can set to a file name for dumping output > instead of stderr. If yo

Re: [Mesa-dev] [PATCH 4/5] clover: Register an llvm diagnostic handler v3

2014-10-09 Thread Francisco Jerez
Tom Stellard writes: > This will allow us to handle internal compiler errors. > > v2: > - Code cleanups. > > v3: > - More cleanups. > --- > .../state_trackers/clover/llvm/invocation.cpp | 25 > ++ > 1 file changed, 25 insertions(+) > > diff --git a/src/gallium/state

Re: [Mesa-dev] [PATCH 1/5] clover: Factor kernel argument parsing into its own function v2

2014-10-09 Thread Francisco Jerez
Tom Stellard writes: > v2: > - Code cleanups. > --- > .../state_trackers/clover/llvm/invocation.cpp | 141 > +++-- > 1 file changed, 74 insertions(+), 67 deletions(-) > > diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp > b/src/gallium/state_trackers/cl

Re: [Mesa-dev] [PATCH 3/5] clover: Add support for compiling to native object code v3

2014-10-09 Thread Francisco Jerez
Tom Stellard writes: > v2: > - Split build_module_native() into three separate functions. > - Code cleanups. > > v3: > - More cleanups. Looks good, Reviewed-by: Francisco Jerez > --- > .../state_trackers/clover/llvm/invocation.cpp | 208 > - > src/gallium/targe

Re: [Mesa-dev] [PATCH 4/4] configure: use $libdir/dri as default for VA-API

2014-10-09 Thread Ilia Mirkin
On Thu, Oct 9, 2014 at 1:54 PM, Christian König wrote: > From: Christian König > > Signed-off-by: Christian König > --- > configure.ac | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index bef5753..59b90e6 100644 > --- a/configure.ac >

[Mesa-dev] [PATCH 3/4] configure: remove superflous VA-API line from configure.ac

2014-10-09 Thread Christian König
From: Christian König We don't have GALLIUM_STATE_TRACKERS_DIRS any more. Signed-off-by: Christian König --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index c37018f..bef5753 100644 --- a/configure.ac +++ b/configure.ac @@ -1438,7 +1438,6 @@ AM_

[Mesa-dev] [PATCH 1/4] configure: Revert "ask vdpau.pc for the default location of the vdpau drivers"

2014-10-09 Thread Christian König
From: Christian König This reverts commit bbe6f7f865cd4316b5f885507ee0b128a20686eb. Signed-off-by: Christian König --- configure.ac | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 680dff4..bc589b7 100644 --- a/configure.ac +++ b

[Mesa-dev] [PATCH 4/4] configure: use $libdir/dri as default for VA-API

2014-10-09 Thread Christian König
From: Christian König Signed-off-by: Christian König --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bef5753..59b90e6 100644 --- a/configure.ac +++ b/configure.ac @@ -1806,9 +1806,9 @@ dnl Directory for VA libs AC_ARG

[Mesa-dev] [PATCH 2/4] configure: respect $libdir for the OMX installation dir

2014-10-09 Thread Christian König
From: Christian König Signed-off-by: Christian König --- configure.ac | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index bc589b7..c37018f 100644 --- a/configure.ac +++ b/configure.ac @@ -1794,16 +1794,13 @@ AC_ARG_WITH([vdpau-libdir],

[Mesa-dev] [PATCH 4/5] clover: Register an llvm diagnostic handler v3

2014-10-09 Thread Tom Stellard
This will allow us to handle internal compiler errors. v2: - Code cleanups. v3: - More cleanups. --- .../state_trackers/clover/llvm/invocation.cpp | 25 ++ 1 file changed, 25 insertions(+) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gal

Re: [Mesa-dev] [PATCH 5/5] clover: Add environment variables for dumping kernel code v2

2014-10-09 Thread Kai Wasserbäch
Tom Stellard wrote on 09.10.2014 17:07: > There are two debug variables: > > CLOVER_DEBUG which you can set to any combination of llvm,clc,asm > (separated by commas) to dump llvm IR, OpenCL C, and native assembly. > > CLOVER_DEBUG_FILE which you can set to a file name for dumping output > instea

[Mesa-dev] [PATCH 2/5] gallium: Add PIPE_SHADER_IR_NATIVE to enum pipe_shader_ir

2014-10-09 Thread Tom Stellard
Drivers can return this value for PIPE_COMPUTE_CAP_IR_TARGET if they want clover to give them native object code. Reviewed-by: Francisco Jerez --- src/gallium/docs/source/screen.rst | 4 ++-- src/gallium/include/pipe/p_defines.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff -

[Mesa-dev] [PATCH 1/5] clover: Factor kernel argument parsing into its own function v2

2014-10-09 Thread Tom Stellard
v2: - Code cleanups. --- .../state_trackers/clover/llvm/invocation.cpp | 141 +++-- 1 file changed, 74 insertions(+), 67 deletions(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 7bca0d6..b

[Mesa-dev] [PATCH 3/5] clover: Add support for compiling to native object code v3

2014-10-09 Thread Tom Stellard
v2: - Split build_module_native() into three separate functions. - Code cleanups. v3: - More cleanups. --- .../state_trackers/clover/llvm/invocation.cpp | 208 - src/gallium/targets/opencl/Makefile.am | 1 + 2 files changed, 200 insertions(+), 9 deleti

[Mesa-dev] [PATCH 5/5] clover: Add environment variables for dumping kernel code v2

2014-10-09 Thread Tom Stellard
There are two debug variables: CLOVER_DEBUG which you can set to any combination of llvm,clc,asm (separated by commas) to dump llvm IR, OpenCL C, and native assembly. CLOVER_DEBUG_FILE which you can set to a file name for dumping output instead of stderr. If you set this variable, the output wil

Re: [Mesa-dev] [PATCH 05/10] clover: Add environment variables for dumping kernel code

2014-10-09 Thread Tom Stellard
On Wed, Oct 08, 2014 at 09:15:39AM -0700, Matt Arsenault wrote: > > On Oct 6, 2014, at 12:44 PM, Tom Stellard wrote: > > > --- > > .../state_trackers/clover/llvm/invocation.cpp | 74 > > ++ > > 1 file changed, 63 insertions(+), 11 deletions(-) > > > > diff --git a/src/g

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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #11 from Jason Ekstrand --- (In reply to Iago Toral from comment #10) > (In reply to Iago Toral from comment #9) > > Jason, piglit tests hit cases where they attempt to convert GL format and > > data type combinations that do not matc

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

2014-10-09 Thread Tom Stellard
On Sun, Sep 28, 2014 at 12:57:22PM +0200, EdB wrote: > --- > src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- > src/gallium/state_trackers/clover/api/program.cpp | 39 > +++--- > .../state_trackers/clover/core/compiler.hpp| 12 --- > src/gallium/state_track

[Mesa-dev] [Bug 84124] Please revert 8449121971ce1db03fea19665d314e523fdc10dd

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84124 --- Comment #5 from Marek Olšák --- (In reply to almos from comment #4) > I've been thinking a bit about this, and I'd like to ask for an entry in the > release notes about this feature change. I hope that will increase the > chance that someone

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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #10 from Iago Toral --- (In reply to Iago Toral from comment #9) > Jason, piglit tests hit cases where they attempt to convert GL format and > data type combinations that do not match any of the existing mesa formats. > > For example

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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 --- Comment #9 from Iago Toral --- Jason, piglit tests hit cases where they attempt to convert GL format and data type combinations that do not match any of the existing mesa formats. For example GL_RGB + GL_UNSIGNED_BYTE_2_3_3_REV (BBGG GRRR).

[Mesa-dev] [PATCH 3/3] r600g, radeonsi: Only set use_staging_texture = TRUE once

2014-10-09 Thread Michel Dänzer
From: Michel Dänzer No need to check for setting the flag after we set it already. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeon/r600_texture.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/galli

[Mesa-dev] [PATCH 1/3] winsys/radeon: Use separate caching buffer manager for each set of flags

2014-10-09 Thread Michel Dänzer
From: Michel Dänzer Otherwise the caching buffer manager may return a buffer which was created with a different set of flags, which can cause trouble. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by: Michel Dänzer --- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 15 +++ src/gall

[Mesa-dev] [PATCH 2/3] r600g, radeonsi: Use staging texture for transfers if any miplevel is tiled

2014-10-09 Thread Michel Dänzer
From: Michel Dänzer We set the NO_CPU_ACCESS flag for BO allocation in that case, so direct CPU access may not work. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeon/r600_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_te

[Mesa-dev] [Bug 84807] Build issue starting between bf4aecfb2acc8d0dc815105d2f36eccbc97c284b and a3e9582f09249ad27716ba82c7dfcee685b65d51

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84807 --- Comment #4 from Michel Dänzer --- I've run into this as well now, not sure why I didn't seem to before. AFAICT the problem is that the contents of the TARGET_RADEON_WINSYS and TARGET_RADEON_COMMON variables don't end up as dependencies of ga

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

2014-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84566 Eduardo Lima Mitev changed: What|Removed |Added CC||el...@igalia.com --- Comment #8 fro