[Mesa-dev] [Bug 81785] MESA checks on configure for llvm 3.4.2 and fails to build with 3.4.2 being installed

2014-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81785 --- Comment #6 from Marek Olšák mar...@gmail.com --- LLVM's configure isn't very good either. It ignores --libdir. -- You are receiving this mail because: You are the assignee for the bug. ___

[Mesa-dev] [PATCH v3 1/2] r600g/compute: Add documentation to compute_memory_pool

2014-07-27 Thread Bruno Jiménez
v2: Rebased on top of master --- src/gallium/drivers/r600/compute_memory_pool.c | 59 +- src/gallium/drivers/r600/compute_memory_pool.h | 58 - 2 files changed, 86 insertions(+), 31 deletions(-) diff --git

[Mesa-dev] [PATCH v3 2/2] r600g/compute: Add debug information to promote and demote functions

2014-07-27 Thread Bruno Jiménez
v2: Add information about the item's starting point and size v3: Rebased on top of master --- src/gallium/drivers/r600/compute_memory_pool.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/compute_memory_pool.c

[Mesa-dev] [Bug 81785] MESA checks on configure for llvm 3.4.2 and fails to build with 3.4.2 being installed

2014-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81785 --- Comment #7 from darkvis...@gmx.eu --- Yes... you need to patch a few libdir locations but at least MESA compiles fine with configure/LLVM while i spent a whole day to compile MESA with cmake/LLVM just to finally give up on using cmake. --

[Mesa-dev] [Bug 81785] MESA checks on configure for llvm 3.4.2 and fails to build with 3.4.2 being installed

2014-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81785 --- Comment #8 from Jan Vesely jano.ves...@gmail.com --- (In reply to comment #7) Yes... you need to patch a few libdir locations but at least MESA compiles fine with configure/LLVM while i spent a whole day to compile MESA with cmake/LLVM

[Mesa-dev] [Bug 81785] MESA checks on configure for llvm 3.4.2 and fails to build with 3.4.2 being installed

2014-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81785 --- Comment #9 from Marek Olšák mar...@gmail.com --- (In reply to comment #7) Yes... you need to patch a few libdir locations but at least MESA compiles fine with configure/LLVM while i spent a whole day to compile MESA with cmake/LLVM just to

[Mesa-dev] [PATCH 2/2] clover: add clUnloadPlatformCompiler

2014-07-27 Thread EdB
--- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/program.cpp | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/api/dispatch.cpp b/src/gallium/state_trackers/clover/api/dispatch.cpp index

[Mesa-dev] [PATCH 1/2] clover: add clCreateProgramWithBuiltInKernels

2014-07-27 Thread EdB
--- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/program.cpp | 19 +++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/api/dispatch.cpp

[Mesa-dev] [PATCH 0/2] Add clCreateProgramWithBuiltInKernels and clUnloadPlatformCompiler

2014-07-27 Thread EdB
Hello I'm working of the compilation part of OpenCL 1.2. Those two patches add clCreateProgramWithBuiltInKernels and clUnloadPlatformCompiler. This is the easy part! However, I'm nearly done with clCompileProgram and after that I'll work on clLinkProgram EdB (2): clover: add

[Mesa-dev] [Bug 81785] MESA checks on configure for llvm 3.4.2 and fails to build with 3.4.2 being installed

2014-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81785 --- Comment #10 from darkvis...@gmx.eu --- I was using llvm cmake until MESA 10.2 and had no problems with REQUIRES_RTTI=1, worked very well. The only module that failed after upgrading from 10.0.x to 10.2.x was xa, which complains about missing

[Mesa-dev] Experiment: Compiling Mesa with Meson

2014-07-27 Thread Jussi Pakkanen
Hi I'm working on a new build system called Meson and as part of development I try to convert build systems of existing projects into Meson to see that it fullfillls the requirements of real processes. I did a trial conversion of Mesa because it seemed like an interesting challenge as it has lots

[Mesa-dev] Find common patterns in real GLSL shaders

2014-07-27 Thread Monis Javed
Hello I am IVth year B.Tech (Computer Engg.) Student at Jamia Millia Islamia I am currently part of the *GSoC 2014* program under *CERN SFT (http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/monisjaved/5668600916475904

Re: [Mesa-dev] [PATCH] winsys/radeon: fix vram_size overflow with Hawaii

2014-07-27 Thread Alex Deucher
On Sat, Jul 26, 2014 at 6:44 AM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes piglit spec/!OpenGL 3.1/minmax. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r300/r300_context.c

Re: [Mesa-dev] [PATCH] radeonsi: fix occlusion queries on Hawaii

2014-07-27 Thread Alex Deucher
On Sat, Jul 26, 2014 at 6:59 AM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This was just a guess - and it worked! Reviewed-by: Alex Deucher alexander.deuc...@amd.com Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/radeon/r600_pipe_common.c |

Re: [Mesa-dev] [PATCH 1/2] r600g, radeonsi: add debug flags which disable tiling

2014-07-27 Thread Alex Deucher
On Fri, Jul 25, 2014 at 6:52 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/radeon/r600_pipe_common.c | 6 -- src/gallium/drivers/radeon/r600_pipe_common.h | 21

Re: [Mesa-dev] [PATCH 2/2] radeonsi: fix CMASK and HTILE calculations for Hawaii

2014-07-27 Thread Alex Deucher
On Fri, Jul 25, 2014 at 6:52 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes the checkerboard pattern in glxgears and anything that triggers fast color clear. num_channels is always = 8, but Hawaii has 16 pipes. Reviewed-by: Alex Deucher

Re: [Mesa-dev] [PATCH 2/3] radeonsi: fix a hang with instancing on Hawaii

2014-07-27 Thread Alex Deucher
On Fri, Jul 25, 2014 at 9:30 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com This fixes piglit/bin/arb_transform_feedback2-draw-auto instanced. Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Alex Deucher alexander.deuc...@amd.com ---

Re: [Mesa-dev] [PATCH 3/3] radeonsi: fix a hang with streamout on Hawaii

2014-07-27 Thread Alex Deucher
On Fri, Jul 25, 2014 at 9:30 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com I actually couldn't reproduce this one, but internal docs recommend this workaround. Better safe than sorry. Also, the number of dwords for the sync packets is increased by 4 instead