Re: [Mesa-dev] [PATCH] glsl: uniform sampler should occupy 1 location

2014-08-21 Thread Tapani Pälli
On 08/22/2014 08:31 AM, Tapani Pälli wrote: > On 08/22/2014 02:25 AM, Micael Dias wrote: >> --- >> If samplers occupy zero locations we can run into a lot of issues. See >> #82921. >> I briefly tested this with my own code (which was previously crashing and >> misbehaving) and also ran other apps

Re: [Mesa-dev] [Intel-gfx] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-21 Thread Chris Wilson
On Thu, Aug 21, 2014 at 08:11:23PM -0700, Ben Widawsky wrote: > The primary goal of these patches is to introduce what I've started > calling, "prelocations" on Broadwell. A prelocation is like a > relocation, except not. When a GPU client specifies a prelocation, it is > instructing the kernel whe

[Mesa-dev] [PATCH] i965: Fix JIP/UIP calculations.

2014-08-21 Thread Matt Turner
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82846 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82929 --- Planning to commit this to master as well as to 10.3 directly, since BDW is just broken without it. src/mesa/drivers/dri/i965/brw_eu_compact.c | 14 ++ 1 file

Re: [Mesa-dev] [PATCH] st/clover: Change platform name from Default to Clover

2014-08-21 Thread Francisco Jerez
Aaron Watry writes: > Signed-off-by: Aaron Watry Reviewed-by: Francisco Jerez > --- > src/gallium/state_trackers/clover/api/platform.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/state_trackers/clover/api/platform.cpp > b/src/gallium/state_trackers

Re: [Mesa-dev] [PATCH] glsl: uniform sampler should occupy 1 location

2014-08-21 Thread Tapani Pälli
On 08/22/2014 02:25 AM, Micael Dias wrote: > --- > If samplers occupy zero locations we can run into a lot of issues. See #82921. > I briefly tested this with my own code (which was previously crashing and > misbehaving) and also ran other apps and everything seems to work fine. > I'm not used to c

Re: [Mesa-dev] [PATCH] glsl: fix uniform location count for opaque types

2014-08-21 Thread Matt Turner
Another patch was sent for this bug as well: [PATCH] glsl: uniform sampler should occupy 1 location I don't have any idea what the appropriate fix is, I just wanted to let you know. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.f

[Mesa-dev] [PATCH] glsl: fix uniform location count for opaque types

2014-08-21 Thread Tapani Pälli
Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82921 --- src/glsl/glsl_types.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index 66e9b13..6c42284 100644 --- a/src/glsl/glsl_types.cp

[Mesa-dev] [PATCH] i965: First step toward prelocation

2014-08-21 Thread Ben Widawsky
This was a quick proof of concept to show the new API for prelocating buffers. It needs way more testing, to not ifdef the no-relocs, and to do a libdrm ABI dep bump. --- src/mesa/drivers/dri/i965/Makefile.am | 1 + src/mesa/drivers/dri/i965/brw_performance_monitor.c | 6 +++--- src

[Mesa-dev] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-21 Thread Ben Widawsky
The primary goal of these patches is to introduce what I've started calling, "prelocations" on Broadwell. A prelocation is like a relocation, except not. When a GPU client specifies a prelocation, it is instructing the kernel where in the GPU address the buffer should be mapped. The mechanic works

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-21 Thread Dave Airlie
On 22 August 2014 12:46, Jason Ekstrand wrote: > On Thu, Aug 21, 2014 at 7:36 PM, Dave Airlie wrote: >> >> On 21 August 2014 19:10, Henri Verbeet wrote: >> > On 21 August 2014 04:56, Michel Dänzer wrote: >> >> On 21.08.2014 04:29, Henri Verbeet wrote: >> >>> For whatever it's worth, I have been

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-21 Thread Jason Ekstrand
On Thu, Aug 21, 2014 at 7:36 PM, Dave Airlie wrote: > On 21 August 2014 19:10, Henri Verbeet wrote: > > On 21 August 2014 04:56, Michel Dänzer wrote: > >> On 21.08.2014 04:29, Henri Verbeet wrote: > >>> For whatever it's worth, I have been avoiding radeonsi in part because > >>> of the LLVM dep

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-21 Thread Dave Airlie
On 21 August 2014 19:10, Henri Verbeet wrote: > On 21 August 2014 04:56, Michel Dänzer wrote: >> On 21.08.2014 04:29, Henri Verbeet wrote: >>> For whatever it's worth, I have been avoiding radeonsi in part because >>> of the LLVM dependency. Some of the other issues already mentioned >>> aside, I

[Mesa-dev] [PATCH] glsl: uniform sampler should occupy 1 location

2014-08-21 Thread Micael Dias
--- If samplers occupy zero locations we can run into a lot of issues. See #82921. I briefly tested this with my own code (which was previously crashing and misbehaving) and also ran other apps and everything seems to work fine. I'm not used to contributing code in this fashion, so please forgive m

Re: [Mesa-dev] [PATCH 1/2] gallium/targets: Clean up Haiku softpipe renderer visual

2014-08-21 Thread Alexander von Gluck IV
On , Alexander von Gluck IV wrote: * Drop creating gl_config first as it's only really used to create the state tracker visual. --- .../targets/haiku-softpipe/GalliumContext.cpp | 196 ++-- .../targets/haiku-softpipe/GalliumContext.h|2 + 2 files changed, 96

[Mesa-dev] [PATCH 1/2] gallium/targets: Clean up Haiku softpipe renderer visual

2014-08-21 Thread Alexander von Gluck IV
* Drop creating gl_config first as it's only really used to create the state tracker visual. --- .../targets/haiku-softpipe/GalliumContext.cpp | 196 ++-- .../targets/haiku-softpipe/GalliumContext.h|2 + 2 files changed, 96 insertions(+), 102 deletions(-) diff

[Mesa-dev] [PATCH 2/2] gallium/targets: Haiku, Fix some improper type warnings

2014-08-21 Thread Alexander von Gluck IV
--- .../targets/haiku-softpipe/GalliumFramebuffer.cpp |2 +- .../targets/haiku-softpipe/SoftwareRenderer.cpp|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp b/src/gallium/targets/haiku-softpipe/GalliumFram

[Mesa-dev] [PATCH] aux/pipe_loader: Don't leak dlerror string on dlopen failure

2014-08-21 Thread Aaron Watry
dlopen allocates a string on dlopen failure which is retrieved via dlerror. In order to free that string, you need to retrieve and then free it. In order to keep things legit the windows/other util_dl_error paths allocate and then copy their error message into a buffer as well. Signed-off-by: Aar

[Mesa-dev] [PATCH] r600g/compute: Stop leaking CL kernel bytecode/resources

2014-08-21 Thread Aaron Watry
Tested on CEDAR v2: fix indentation Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/evergreen_compute.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 51

[Mesa-dev] [PATCH] r600g/compute: Don't leak cbufs in compute state

2014-08-21 Thread Aaron Watry
Walk the array of cbufs backwards and free all of them. v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/evergreen_compute.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src

[Mesa-dev] [PATCH] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-21 Thread Aaron Watry
v2: Change to C-style comments and fix indentation Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/compute_memory_pool.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/drivers/r600/compute_memory_pool.c index 9324b84

Re: [Mesa-dev] [PATCH 02/16] glsl/linker: pass through the is_intrinsic flag

2014-08-21 Thread Matt Turner
On Fri, Aug 15, 2014 at 5:12 PM, Connor Abbott wrote: > This flag was set to true for the atomic counter intrinsics, but it > never got plumbed through the linker, so by the time it got to the > backends it would always be set to the false. The current i965 backend > code doesn't use is_intrinsic,

Re: [Mesa-dev] [PATCH v2 2/4] gallium: add a texture target to sampler view and a CAP to use it

2014-08-21 Thread Roland Scheidegger
Am 21.08.2014 19:39, schrieb Ilia Mirkin: > On Thu, Aug 21, 2014 at 1:35 PM, Roland Scheidegger > wrote: >> Am 21.08.2014 04:42, schrieb Ilia Mirkin: >>> This allows a sampler view to have a different texture target than the >>> underlying resource. This will be used to implement the type casting

Re: [Mesa-dev] [PATCH v2 3/4] mesa/st: add ARB_texture_view support

2014-08-21 Thread Roland Scheidegger
Am 21.08.2014 04:42, schrieb Ilia Mirkin: > Signed-off-by: Ilia Mirkin > --- > > v1 -> v2: > - make use of new PIPE_CAP to determine whether ARB_texture_view is available > - set the gl_texture_object's Target in the sampler view object > > src/mesa/state_tracker/st_atom_texture.c | 30 ++

Re: [Mesa-dev] [PATCH v2 2/4] gallium: add a texture target to sampler view and a CAP to use it

2014-08-21 Thread Ilia Mirkin
On Thu, Aug 21, 2014 at 1:35 PM, Roland Scheidegger wrote: > Am 21.08.2014 04:42, schrieb Ilia Mirkin: >> This allows a sampler view to have a different texture target than the >> underlying resource. This will be used to implement the type casting >> between 2d arrays and cube maps as specified i

Re: [Mesa-dev] [PATCH v2 2/4] gallium: add a texture target to sampler view and a CAP to use it

2014-08-21 Thread Roland Scheidegger
Am 21.08.2014 04:42, schrieb Ilia Mirkin: > This allows a sampler view to have a different texture target than the > underlying resource. This will be used to implement the type casting > between 2d arrays and cube maps as specified in ARB_texture_view. > > Signed-off-by: Ilia Mirkin > --- > src

Re: [Mesa-dev] [RFC] gallium: add support for rectangle primitives

2014-08-21 Thread Marek Olšák
On Thu, Aug 21, 2014 at 7:14 PM, Jose Fonseca wrote: > On 21/08/14 17:59, Roland Scheidegger wrote: >> >> Am 21.08.2014 18:44, schrieb Marek Olšák: >>> >>> From: Marek Olšák >>> >>> This is already supported by r600g and radeonsi. >>> Alex suggested this could be useful for video acceleration sta

Re: [Mesa-dev] [RFC] gallium: add support for rectangle primitives

2014-08-21 Thread Jose Fonseca
On 21/08/14 17:59, Roland Scheidegger wrote: Am 21.08.2014 18:44, schrieb Marek Olšák: From: Marek Olšák This is already supported by r600g and radeonsi. Alex suggested this could be useful for video acceleration state trackers. --- src/gallium/auxiliary/tgsi/tgsi_strings.c | 3 ++- src

Re: [Mesa-dev] [RFC] gallium: add support for rectangle primitives

2014-08-21 Thread Roland Scheidegger
Am 21.08.2014 18:44, schrieb Marek Olšák: > From: Marek Olšák > > This is already supported by r600g and radeonsi. > Alex suggested this could be useful for video acceleration state trackers. > --- > src/gallium/auxiliary/tgsi/tgsi_strings.c | 3 ++- > src/gallium/auxiliary/util/u_prim.h

Re: [Mesa-dev] [RFC] gallium: add support for rectangle primitives

2014-08-21 Thread Christian König
Am 21.08.2014 um 18:44 schrieb Marek Olšák: From: Marek Olšák This is already supported by r600g and radeonsi. Alex suggested this could be useful for video acceleration state trackers. I'm a bit skeptical about their usefulness for video applications, but when you draw a lot of quads it mig

[Mesa-dev] [RFC] gallium: add support for rectangle primitives

2014-08-21 Thread Marek Olšák
From: Marek Olšák This is already supported by r600g and radeonsi. Alex suggested this could be useful for video acceleration state trackers. --- src/gallium/auxiliary/tgsi/tgsi_strings.c | 3 ++- src/gallium/auxiliary/util/u_prim.h | 1 + src/gallium/docs/source/screen.rst

Re: [Mesa-dev] [PATCH 1/4] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-21 Thread Aaron Watry
Yeah, I see that now. I changed my editor settings halfway through this series. I thought I had cleaned up the indentation outside of my IDE, but I guess I missed some spots. With regards to comment-style... I'll change it, but for the record, I really dislike using C-style comments for single-

[Mesa-dev] [PATCH] aux/pipe_loader: Don't leak dlerror string on dlopen failure

2014-08-21 Thread Aaron Watry
dlopen allocates a string on dlopen failure which is retrieved via dlerror. In order to free that string, you need to retrieve and then free it. In order to keep things legit the windows/other util_dl_error paths allocate and then copy their error message into a buffer as well. Signed-off-by: Aar

Re: [Mesa-dev] [PATCH 1/4] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-21 Thread Ilia Mirkin
On Thu, Aug 21, 2014 at 12:06 PM, Aaron Watry wrote: > Signed-off-by: Aaron Watry > --- > src/gallium/drivers/r600/compute_memory_pool.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/src/gallium/drivers/r600/compute_memory_pool.c > b/src/gallium/drivers/r600/compute_memory_pool.c

Re: [Mesa-dev] [PATCH 4/4] aux/pipe_loader: Don't leak dlerror string on dlopen failure

2014-08-21 Thread Aaron Watry
On Thu, Aug 21, 2014 at 11:09 AM, Ilia Mirkin wrote: > On Thu, Aug 21, 2014 at 12:06 PM, Aaron Watry wrote: >> dlopen allocates a string on dlopen failure which is retrieved via dlerror. >> In >> order to free that string, you need to retrieve and then free it. >> >> In order to keep things legi

Re: [Mesa-dev] [PATCH 4/4] aux/pipe_loader: Don't leak dlerror string on dlopen failure

2014-08-21 Thread Ilia Mirkin
On Thu, Aug 21, 2014 at 12:06 PM, Aaron Watry wrote: > dlopen allocates a string on dlopen failure which is retrieved via dlerror. In > order to free that string, you need to retrieve and then free it. > > In order to keep things legit the windows/other util_dl_error paths allocate > and then copy

[Mesa-dev] [PATCH 2/4] r600g/compute: Don't leak cbufs in compute state

2014-08-21 Thread Aaron Watry
Walk the array of cbufs backwards and free all of them. Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/evergreen_compute.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 38b7

[Mesa-dev] [PATCH 1/4] r600/compute: Don't leak compute pool item_list/unallocated_list

2014-08-21 Thread Aaron Watry
Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/compute_memory_pool.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/drivers/r600/compute_memory_pool.c index 9324b84..55ff7d5 100644 --- a/src/gallium/drivers/r600/compu

[Mesa-dev] [PATCH 4/4] aux/pipe_loader: Don't leak dlerror string on dlopen failure

2014-08-21 Thread Aaron Watry
dlopen allocates a string on dlopen failure which is retrieved via dlerror. In order to free that string, you need to retrieve and then free it. In order to keep things legit the windows/other util_dl_error paths allocate and then copy their error message into a buffer as well. Signed-off-by: Aar

[Mesa-dev] [PATCH 3/4] r600g/compute: Stop leaking CL kernel bytecode/resources

2014-08-21 Thread Aaron Watry
Tested on CEDAR Signed-off-by: Aaron Watry --- src/gallium/drivers/r600/evergreen_compute.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index dcb7183..71a9218 100644

[Mesa-dev] [PATCH 0/4] Several memory leak fixes

2014-08-21 Thread Aaron Watry
Compute on evergreen has slowly developed a few more memory leaks (or maybe I had never finished fixing them all before). One of the leaks got in when the memory pool work went in recently, the others seem to have been around for a while. The last patch (aux/pipe_loader) seems to affect more than

[Mesa-dev] [Bug 66931] Can't specify local buffer size using clSetKernelArg

2014-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66931 Tom Stellard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 66175] R600/SI: SETCC for v2i32/v4i32 triggers LLVM assertion

2014-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66175 Tom Stellard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] Mesa 10.3 release candidate 1

2014-08-21 Thread Carl Worth
Mesa 10.3 release candidate 1 is now available for testing. The current plan is to have an additional release candidate each Friday until the eventual 10.3 release, (Ian can follow up to state what the planned date is for that). The tag in the git repository for Mesa 10.3-rc1 is 'mesa-10.3-rc1'.

[Mesa-dev] [Bug 61416] Clover doesn't authenticate when not run as a privileged user

2014-08-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61416 Tom Stellard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH 2/7] r600g: use HTILE allocator from SI

2014-08-21 Thread Marek Olšák
From: Marek Olšák It's almost the same. This enables tiling for HTILE. It also enables Hyper-Z for other texture targets (1D, 1D_ARRAY, 2D_ARRAY, CUBE, CUBE_ARRAY, 3D, RECT). 2D array depth textures are tested by Unigine Sanctuary and my new piglit test. --- src/gallium/drivers/r600/evergreen_

[Mesa-dev] [PATCH 6/7] r600g: expose AMD_vertex_shader_layer and *_viewport_index on R600-R700

2014-08-21 Thread Marek Olšák
From: Marek Olšák already implemented --- src/gallium/drivers/r600/r600_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index e02c053..c5329e6 100644 --- a/src/gallium/drivers/r600/r600_pipe.c

[Mesa-dev] [PATCH 4/7] r600g: some DB bug workarounds for R6xx DB flushing

2014-08-21 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/r600/r600_state.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index eb5d8f6..454c458 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/driver

[Mesa-dev] [PATCH 7/7] r600g: set VGT_ENHANCE=4 on R7xx

2014-08-21 Thread Marek Olšák
From: Marek Olšák This is a golden setting on RV740, but there is a hw bug which recommends setting it on all R7xx chipsets. --- src/gallium/drivers/r600/r600_state.c | 1 + src/gallium/drivers/r600/r600d.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/gallium/drivers/r600/r600_

[Mesa-dev] [PATCH 3/7] r600g: enable fast depth clear for array textures and cubemaps

2014-08-21 Thread Marek Olšák
From: Marek Olšák I have a piglit test that hits this. --- src/gallium/drivers/r600/r600_blit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index a3cfdae..0f43839 100644 --- a/src/gallium/drive

[Mesa-dev] [PATCH] gallium/pb_bufmgr_cache: limit the size of cache

2014-08-21 Thread Marek Olšák
From: Marek Olšák This should make a machine which is running piglit more responsive at times. e.g. streaming-texture-leak can easily eat 600 MB because of how fast it creates new textures. --- src/gallium/auxiliary/pipebuffer/pb_bufmgr.h | 3 ++- src/gallium/auxiliary/pipebuffer/pb_bufmg

[Mesa-dev] [PATCH 5/7] r600g: fix layered clear

2014-08-21 Thread Marek Olšák
From: Marek Olšák Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/r600/r600_blit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 0f43839..f766e37 100644 --- a/src/gallium/driv

[Mesa-dev] [PATCH 1/7] r600g: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX for EG/CM, inline other fields

2014-08-21 Thread Marek Olšák
From: Marek Olšák This fixes rendering to non-zero layer/face/slice with HTILE. --- src/gallium/drivers/r600/evergreen_state.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_s

[Mesa-dev] [PATCH] radeonsi: set DB_DEPTH_SIZE.HEIGHT_TILE_MAX, inline other fields

2014-08-21 Thread Marek Olšák
From: Marek Olšák This fixes rendering to a non-zero layer/face/slice with HTILE. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72685 --- src/gallium/drivers/radeonsi/si_state.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/rade

Re: [Mesa-dev] [PATCH v2] r600g: Fix flat/smooth shade state toggle

2014-08-21 Thread Marek Olšák
Pushed, thanks. Marek On Wed, Aug 20, 2014 at 9:55 PM, Glenn Kennard wrote: > If only the flat/smooth shade state changed between > two render calls the prior code would miss updating the > hardware state. > > Also add check for sprite coord, potentially same type > of issue otherwise for it. >

Re: [Mesa-dev] [PATCH] st/clover: Fix build against LLVM SVN >= r215967 v2

2014-08-21 Thread Aaron Watry
In that case, feel free to upgrade to a Reviewed-by: Aaron Watry On Thu, Aug 21, 2014 at 8:25 AM, Tom Stellard wrote: > On Thu, Aug 21, 2014 at 08:20:57AM -0500, Aaron Watry wrote: >> On Thu, Aug 21, 2014 at 6:46 AM, Tom Stellard >> wrote: >> > From: Michel Dänzer >> > >> > v2: Tom Stellard >

Re: [Mesa-dev] [PATCH] st/clover: Fix build against LLVM SVN >= r215967 v2

2014-08-21 Thread Tom Stellard
On Thu, Aug 21, 2014 at 08:20:57AM -0500, Aaron Watry wrote: > On Thu, Aug 21, 2014 at 6:46 AM, Tom Stellard wrote: > > From: Michel Dänzer > > > > v2: Tom Stellard > > - Properly destroy the Module > > --- > > src/gallium/state_trackers/clover/llvm/invocation.cpp | 16 ++-- > > 1

[Mesa-dev] [PATCH] st/clover: Change platform name from Default to Clover

2014-08-21 Thread Aaron Watry
Signed-off-by: Aaron Watry --- src/gallium/state_trackers/clover/api/platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/api/platform.cpp b/src/gallium/state_trackers/clover/api/platform.cpp index 81b0854..cf71593 100644 --- a/src/ga

Re: [Mesa-dev] [PATCH] st/clover: Fix build against LLVM SVN >= r215967 v2

2014-08-21 Thread Aaron Watry
On Thu, Aug 21, 2014 at 6:46 AM, Tom Stellard wrote: > From: Michel Dänzer > > v2: Tom Stellard > - Properly destroy the Module > --- > src/gallium/state_trackers/clover/llvm/invocation.cpp | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/s

Re: [Mesa-dev] [PATCH] st/clover: Fix build against LLVM SVN >= r215967 v2

2014-08-21 Thread Francisco Jerez
Tom Stellard writes: > From: Michel Dänzer > > v2: Tom Stellard > - Properly destroy the Module Thanks, Reviewed-by: Francisco Jerez > --- > src/gallium/state_trackers/clover/llvm/invocation.cpp | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/src

[Mesa-dev] [PATCH] mesa/{version, getstring}: Future-proof version handling

2014-08-21 Thread Olivier Galibert
Signed-off-by: Olivier Galibert --- src/mesa/main/getstring.c | 6 ++ src/mesa/main/version.c | 140 +- 2 files changed, 143 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 431d60b..f9d13a7 100

[Mesa-dev] [PATCH] st/clover: Fix build against LLVM SVN >= r215967 v2

2014-08-21 Thread Tom Stellard
From: Michel Dänzer v2: Tom Stellard - Properly destroy the Module --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers

Re: [Mesa-dev] [PATCH 3/3] clover: unsure compat::string is \0 terminated

2014-08-21 Thread EdB
Le 2014-08-20 16:03, Francisco Jerez a écrit : EdB writes: Each time you call c_str() it will grow up, may be you could check if the string is already \0 terminated before adding it. Nope, that's not how it works. Every time c_str() is called the size of the underlying array is forced to

Re: [Mesa-dev] [PATCH 0/2] kms-swrast: PRIME and missing defines

2014-08-21 Thread Andreas Pokorny
Hi Thank you for the review! I will send an updated version asap. On Wed, Aug 20, 2014 at 4:50 PM, Emil Velikov wrote: > Do you have any rough numbers about the benefit this brings us ? I doubt that there is a big timing impact between sharing named drm handles and prime fds, but yeah right now

[Mesa-dev] [PATCH 0/2] add KHR_debug for gles contexts

2014-08-21 Thread Matthew Waters
Matthew Waters (2): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_debug for gles src/egl/main/eglcontext.c | 50 +++--- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/dr

[Mesa-dev] [PATCH 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-21 Thread Matthew Waters
As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 50 ++ src/mesa/drivers/dri/common/dri_util.c

[Mesa-dev] [PATCH 2/2] glapi: add function pointers for KHR_debug for gles

2014-08-21 Thread Matthew Waters
Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/src/mapi/glap

Re: [Mesa-dev] Build fail in clover

2014-08-21 Thread Michel Dänzer
On 21.08.2014 18:10, Andy Furniss wrote: > Haven't had time to find what caused this, it does seem to be mesa - > > Updated mesa last night from a day or two old, llvm 5-10 days old > previous mesa built OK against that. > > Got the build fail, updated llvm retried - same fail. > > Going back in

[Mesa-dev] Build fail in clover

2014-08-21 Thread Andy Furniss
Haven't had time to find what caused this, it does seem to be mesa - Updated mesa last night from a day or two old, llvm 5-10 days old previous mesa built OK against that. Got the build fail, updated llvm retried - same fail. Going back in mesa and applying the build fix for current llvm doesn'

Re: [Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

2014-08-21 Thread Henri Verbeet
On 21 August 2014 04:56, Michel Dänzer wrote: > On 21.08.2014 04:29, Henri Verbeet wrote: >> For whatever it's worth, I have been avoiding radeonsi in part because >> of the LLVM dependency. Some of the other issues already mentioned >> aside, I also think it makes it just painful to do bisects ov

Re: [Mesa-dev] [PATCH 1/4] dri/radeon: drop obsolete radeon_{dri, macros}.h headers

2014-08-21 Thread Michel Dänzer
This series is Reviewed-by: Michel Dänzer Good riddance! :) -- Earthling Michel Dänzer| http://www.amd.com Libre software enthusiast |Mesa and X developer ___ mesa-dev mailing list mesa-dev@list