[Mesa-dev] [Bug 83445] eglSwapBuffers() crash on dri

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

Re: [Mesa-dev] [PATCH] mesa/main: Fix unpack_R5G6B5_UNORM.

2014-10-07 Thread Jason Ekstrand
On Oct 8, 2014 6:36 AM, "Iago Toral" wrote: > > El 2014-10-07 21:46, Jason Ekstrand escribió: > >> On Oct 7, 2014 12:04 PM, "Iago Toral Quiroga" >> wrote: >> > >> > There is a comment warning about the fact that this is not doing >> what we >> > expect, so fix it. This should be doing the same

Re: [Mesa-dev] [PATCH] mesa/main: Fix unpack_R5G6B5_UNORM.

2014-10-07 Thread Iago Toral
El 2014-10-07 21:46, Jason Ekstrand escribió: On Oct 7, 2014 12:04 PM, "Iago Toral Quiroga" wrote: > > There is a comment warning about the fact that this is not doing what we > expect, so fix it. This should be doing the same as unpack_B5G6R5_UNORM > but swapping B and R. > --- > > Jason

[Mesa-dev] [PATCH] clover: Register an llvm diagnostic handler v2

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

[Mesa-dev] [PATCH] clover: Add support for compiling to native object code v2

2014-10-07 Thread Tom Stellard
v2: - Split build_module_native() into three separate functions. - Code cleanups. --- .../state_trackers/clover/llvm/invocation.cpp | 200 - src/gallium/targets/opencl/Makefile.am | 1 + 2 files changed, 192 insertions(+), 9 deletions(-) diff --git a/src

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

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 --- Comment #10 from Michel Dänzer --- Does the kernel patch I attached to bug 84662 help? Note that you may need a newer kernel for it to apply. -- You are receiving this mail because: You are the assignee for the bug.

Re: [Mesa-dev] [PATCH v2] r600: Use DMA transfers in r600_copy_global_buffer

2014-10-07 Thread Tom Stellard
On Sun, Sep 28, 2014 at 09:48:11PM +0200, Niels Ole Salscheider wrote: > On Sunday 28 September 2014, 17:44:53, Bruno Jimenez wrote: > > Hi, > > > > Sorry for not answering until now, but I have had some personal issues > > (changing university, moving to another city...) > > > > As you said, thi

Re: [Mesa-dev] [PATCH] mesa/main: Fix unpack_R5G6B5_UNORM.

2014-10-07 Thread Jason Ekstrand
On Oct 7, 2014 12:04 PM, "Iago Toral Quiroga" wrote: > > There is a comment warning about the fact that this is not doing what we > expect, so fix it. This should be doing the same as unpack_B5G6R5_UNORM > but swapping B and R. > --- > > Jason started some work to auto-generate the format_pack.c a

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

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 Kai changed: What|Removed |Added Attachment #107503|Screenshot with |Screenshot with description|GALLIUM_HUD=fps

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

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 Kai changed: What|Removed |Added Attachment #107502|Screenshot with |Screenshot with description|GALLIUM_HUD=fps

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

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 Kai changed: What|Removed |Added Attachment #107417|0 |1 is obsolete||

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

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84570 Kai changed: What|Removed |Added Attachment #107424|0 |1 is obsolete||

[Mesa-dev] [PATCH] configure.ac: check for libexpat when no pkg-config is available

2014-10-07 Thread Andres Gomez
Previously, when no pkg-config was available for libexpat we would just add the needed linking flags without any extra check. Now, we check that the library and the headers are also installed in the building environment. --- configure.ac | 15 +++ 1 file changed, 7 insertions(+), 8 de

Re: [Mesa-dev] [PATCH] mesa/main: Fix unpack_R5G6B5_UNORM.

2014-10-07 Thread Brian Paul
On 10/07/2014 04:04 AM, Iago Toral Quiroga wrote: There is a comment warning about the fact that this is not doing what we expect, so fix it. This should be doing the same as unpack_B5G6R5_UNORM but swapping B and R. --- Jason started some work to auto-generate the format_pack.c and format_unpac

[Mesa-dev] [Bug 84711] [libva] gallium_drv_video.so ignores --with-dri-driverdir setting

2014-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=84711 LoneVVolf changed: What|Removed |Added Summary|[VA] gallium_drv_video.so |[libva] |ignores

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

2014-10-07 Thread Ilia Mirkin
On Tue, Oct 7, 2014 at 9:36 AM, Christian König wrote: > Am 07.10.2014 um 15:19 schrieb Ilia Mirkin: > >> On Tue, Oct 7, 2014 at 9:13 AM, Christian König >> wrote: >>> >>> Am 07.10.2014 um 15:07 schrieb Ilia Mirkin: >>> On Tue, Oct 7, 2014 at 9:04 AM, Christian König wrote: >

Re: [Mesa-dev] [PATCH] mesa: fix error reported on gTexSubImage2D when level not valid

2014-10-07 Thread Juha-Pekka Heikkila
Reviewed-by: Juha-Pekka Heikkila On 07.10.2014 10:56, Tapani Pälli wrote: > Signed-off-by: Tapani Pälli > --- > src/mesa/main/teximage.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c > index 647d28a..c0298af 100644

Re: [Mesa-dev] [PATCH 04/10] clover: Register an llvm diagnostic handler to catch internal compiler errors

2014-10-07 Thread Francisco Jerez
Francisco Jerez writes: > Tom Stellard writes: > >> --- >> .../state_trackers/clover/llvm/invocation.cpp | 30 >> ++ >> 1 file changed, 30 insertions(+) >> >> diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp >> b/src/gallium/state_trackers/clover/llv

Re: [Mesa-dev] [PATCH 04/10] clover: Register an llvm diagnostic handler to catch internal compiler errors

2014-10-07 Thread Francisco Jerez
Tom Stellard writes: > --- > .../state_trackers/clover/llvm/invocation.cpp | 30 > ++ > 1 file changed, 30 insertions(+) > > diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp > b/src/gallium/state_trackers/clover/llvm/invocation.cpp > index 088039a..a1

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

2014-10-07 Thread Ilia Mirkin
On Tue, Oct 7, 2014 at 9:13 AM, Christian König wrote: > Am 07.10.2014 um 15:07 schrieb Ilia Mirkin: > >> On Tue, Oct 7, 2014 at 9:04 AM, Christian König >> wrote: >>> >>> Am 07.10.2014 um 03:11 schrieb Ilia Mirkin: I'm under the assumption that OMX/etc don't do anything ridiculous. If

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

2014-10-07 Thread Christian König
Am 07.10.2014 um 15:07 schrieb Ilia Mirkin: On Tue, Oct 7, 2014 at 9:04 AM, Christian König wrote: Am 07.10.2014 um 03:11 schrieb Ilia Mirkin: I'm under the assumption that OMX/etc don't do anything ridiculous. If they do, it's a bug just like this vdpau situation, and should be addressed as s

Re: [Mesa-dev] [PATCH 03/10] clover: Add support for compiling to native object code

2014-10-07 Thread Francisco Jerez
Tom Stellard writes: > --- > .../state_trackers/clover/llvm/invocation.cpp | 173 > - > src/gallium/targets/opencl/Makefile.am | 1 + > 2 files changed, 167 insertions(+), 7 deletions(-) > > diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cp

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

2014-10-07 Thread Ilia Mirkin
On Tue, Oct 7, 2014 at 9:04 AM, Christian König wrote: > Am 07.10.2014 um 03:11 schrieb Ilia Mirkin: >> >> I'm under the assumption that OMX/etc don't do anything ridiculous. If >> they do, it's a bug just like this vdpau situation, and should be >> addressed as such. However addressing them shoul

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

2014-10-07 Thread Christian König
Am 07.10.2014 um 03:11 schrieb Ilia Mirkin: I'm under the assumption that OMX/etc don't do anything ridiculous. If they do, it's a bug just like this vdpau situation, and should be addressed as such. However addressing them should not preclude vdpau from being fixed. Well, that was the whole po

[Mesa-dev] [PATCH] egl: Fix for eglpbuffers

2014-10-07 Thread Juha-Pekka Heikkila
Currently pbuffers fail on drawing operations (for example glClear to clear pbuffer). This patch fixes pbuffers as well as pixmaps for same issue. In Piglit only change I see is egl-nok-texture-from-pixmap start to pass but not 100% confident this is the correct solution, mainly because display buf

[Mesa-dev] [PATCH] egl: Fix pbuffer and pixmap gpu rendering

2014-10-07 Thread Juha-Pekka Heikkila
With pbuffers and pixmaps we were getting zero color buffers available for drawing. This patch allow to do for example glClear for pbuffers and pixmaps. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/mai

[Mesa-dev] [PATCH] mesa/main: Fix unpack_R5G6B5_UNORM.

2014-10-07 Thread Iago Toral Quiroga
There is a comment warning about the fact that this is not doing what we expect, so fix it. This should be doing the same as unpack_B5G6R5_UNORM but swapping B and R. --- Jason started some work to auto-generate the format_pack.c and format_unpack.c files which I think has this fixed. I am continu

Re: [Mesa-dev] [PATCH 01/10] clover: Factor kernel argument parsing into its own function

2014-10-07 Thread Francisco Jerez
Tom Stellard writes: > --- > .../state_trackers/clover/llvm/invocation.cpp | 142 > +++-- > 1 file changed, 75 insertions(+), 67 deletions(-) > > diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp > b/src/gallium/state_trackers/clover/llvm/invocation.cpp >

Re: [Mesa-dev] [PATCH 02/10] gallium: Add PIPE_SHADER_IR_NATIVE to enum pipe_shader_ir

2014-10-07 Thread Francisco Jerez
Tom Stellard writes: > Drivers can return this value for PIPE_COMPUTE_CAP_IR_TARGET > if they want clover to give them native object code. Looks good to me, Reviewed-by: Francisco Jerez > --- > src/gallium/docs/source/screen.rst | 4 ++-- > src/gallium/include/pipe/p_defines.h | 3 ++- > 2

Re: [Mesa-dev] [PATCH 3/4] radeonsi: Catch more cases that can't be handled by si_dma_copy_buffer/tile

2014-10-07 Thread Michel Dänzer
On 01.10.2014 23:13, Grigori Goronzy wrote: On 30.09.2014 05:58, Michel Dänzer wrote: } /* the x test here are currently useless (because we don't support partial blit) * but keep them around so we don't forget about those */ - if ((src_pitch % 8) || (src

[Mesa-dev] [PATCH v4] radeonsi: Add CIK SDMA support

2014-10-07 Thread Michel Dänzer
From: Michel Dänzer Based on the corresponding SI support. Signed-off-by: Michel Dänzer --- v4: * Assert in cik_sdma_copy_tile that either the source or destination is linear * Fall back if dimensions are not aligned to (macro)tiles for cik_sdma_do_copy_buffer * Fall back if dst_y != src_y fo

[Mesa-dev] [PATCH 2/4] i965/fs: Add another use of MAX_VGRF_SIZE

2014-10-07 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp index 32669f6..fd34941 100644 --- a/src/me

[Mesa-dev] [PATCH 3/4] i965/fs: Don't interfere with too many base registers

2014-10-07 Thread Jason Ekstrand
On older GENs in SIMD16 mode, we were accidentally building too much interference into our register classes. Since everything is divided by 2, the reigster allocator thinks we have 64 base registers instead of 128. The actual GRF mapping still needs to be doubled, but as far as the ra_set is conce

[Mesa-dev] [PATCH 1/4] util: Use reg_belongs_to_class instead of BITSET_TEST

2014-10-07 Thread Jason Ekstrand
This shouldn't be a functional change since reg_belongs_to_class is just a wrapper around BITSET_TEST. It just makes the code a little easier to read. Signed-off-by: Jason Ekstrand --- src/util/register_allocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/regi

[Mesa-dev] [PATCH] mesa: fix error reported on gTexSubImage2D when level not valid

2014-10-07 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/main/teximage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 647d28a..c0298af 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2449,7 +2449,7 @@ texsub