Re: [Mesa-dev] [PATCH] r600g, radeonsi: switch all occurences of array_size to util_max_layer

2014-07-27 Thread Michel Dänzer
On 27.07.2014 03:16, Marek Olšák wrote: > From: Marek Olšák > > This fixes 3D texture support in all these cases, because array_size is 1 > with 3D textures and depth0 actually contains the "array size". > util_max_layer is universal and returns the last layer index for any texture > target. > >

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 wrote: > From: Marek Olšák > > 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 > of 2, because it wasn't bumped

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 wrote: > From: Marek Olšák > > This fixes "piglit/bin/arb_transform_feedback2-draw-auto instanced". > > Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Alex Deucher > --- > src/gallium/drivers/radeonsi/si_state_draw.c | 16 +++- > 1

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 wrote: > From: Marek Olšák > > 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 > --- > src/gallium/drivers/radeon/r60

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 wrote: > From: Marek Olšák Reviewed-by: Alex Deucher > > --- > src/gallium/drivers/radeon/r600_pipe_common.c | 6 -- > src/gallium/drivers/radeon/r600_pipe_common.h | 21 +++-- > src/gallium/drivers/radeon/r600_texture.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 wrote: > From: Marek Olšák > > This was just a guess - and it worked! Reviewed-by: Alex Deucher > > Cc: mesa-sta...@lists.freedesktop.org > --- > src/gallium/drivers/radeon/r600_pipe_common.c | 8 +++- > 1 file changed, 7 insertions(+), 1 delet

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 wrote: > From: Marek Olšák > > This fixes piglit spec/!OpenGL 3.1/minmax. > > Cc: mesa-sta...@lists.freedesktop.org Reviewed-by: Alex Deucher > --- > src/gallium/drivers/r300/r300_context.c | 4 +++- > src/gallium/winsys/radeon/drm/radeon_drm

[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

[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] [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 d

[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 clCreateProgramW

[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 b/src/gallium/state_trackers/clover/api/di

[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 --- (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 finally give

[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 --- (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 finally give u

[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. -- Yo

[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 b/src/gallium/drivers/r6

[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 a/src/gallium/drivers/r600/compute_memory_p

[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 --- 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 mailing list me