Re: [Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

2013-03-26 Thread Bengt Richter
On 03/26/2013 10:51 PM Matt Turner wrote: On Tue, Mar 26, 2013 at 2:44 PM, Bengt Richter wrote: uint32_t component_delta2(uint32_t next, uint32_t prev) { return next&0xff00ff)-(prev&0xff00ff)+0x100)&0xff00ff)+ (((next&0xff00)-(prev&0xff00))&0xff00)); } Does removing all the

[Mesa-dev] [PATCH] i965: Reduce code duplication in handling of depth, stencil, and HiZ.

2013-03-26 Thread Paul Berry
This patch consolidates duplicate code in the brw_depthbuffer and gen7_depthbuffer state atoms. Previously, these state atoms contained 5 chunks of code for emitting the _3DSTATE_DEPTH_BUFFER packet (3 for Gen4-6 and 2 for Gen7). Also a lot of logic for determining the appropriate buffer setup wa

Re: [Mesa-dev] use after free in exec arrays vbo code

2013-03-26 Thread Marek Olšák
Does this patch help? Marek On Tue, Mar 26, 2013 at 8:32 AM, Dave Airlie wrote: > so I've been playing with MSAA in softpipe and saw this, I don't think > any of my code is causing it, but it does take an MSAA test to trigger > it > > with texelFetch fs sampler2DMS 4 I get the below valgrind tra

[Mesa-dev] [PATCH] st/dri: fix crash with HUD and single buffering

2013-03-26 Thread Marek Olšák
--- src/gallium/state_trackers/dri/common/dri_drawable.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/dri/common/dri_drawable.c b/src/gallium/state_trackers/dri/common/dri_drawable.c index 00ae1da..cd4a36a 100644 --- a/src/gallium/state_track

[Mesa-dev] [PATCH 3/3] llvmpipe/draw: Fix texture sampling in geometry shaders

2013-03-26 Thread Zack Rusin
We weren't correctly propagating the samplers and sampler views when they were related to geometry shaders. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_context.c |4 +- src/gallium/auxiliary/draw/draw_llvm.c | 83 --- src/gallium/auxiliary/draw/

[Mesa-dev] [PATCH 2/3] draw/llvm: Cleanup the store debugging code

2013-03-26 Thread Zack Rusin
Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_llvm.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 1b0b1b9..f857183 100644 --- a/src/gallium/auxiliary/draw

[Mesa-dev] [PATCH 1/3] draw: Allocate the output buffer for output primitives

2013-03-26 Thread Zack Rusin
We were allocating the output buffer but using the input primitives. We need to allocate that buffer using the maximum number of output, not input, primitives. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --gi

[Mesa-dev] [PATCH 0/3] A few fixes for the llvm geometry shaders

2013-03-26 Thread Zack Rusin
A few cleanups, plus fixes for texture sampling for the llvm geometry shaders. This is on top of the previous patchset. Zack Rusin (3): draw: Allocate the output buffer for output primitives draw/llvm: Cleanup the store debugging code llvmpipe/draw: Fix texture sampling in geometry shaders

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 6:45 PM, Dave Airlie wrote: >> correctly). But Marek is quite right that this only counts for state objects and makes no sense for set_* and draw_* calls (and I'm currently thinking how to avoid that and can't come up with a proper solution). Anyway it's

Re: [Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

2013-03-26 Thread Marek Olšák
I recommend using OpenMP for this kind of pixel processing, specifically the "parallel for". It's pretty easy to use and you could do wonders with it, i.e. taking advantage of all CPU cores on *any* system. You could also offload the whole thing to another thread and continue there. Marek On Tue,

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Dave Airlie
On 27 Mar 2013 08:45, "Dave Airlie" wrote: > > > > >>> correctly). But Marek is quite right that this only counts for state > >>> objects > >>> and makes no sense for set_* and draw_* calls (and I'm currently thinking > >>> how to avoid that and can't come up with a proper solution). Anyway it's >

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Dave Airlie
> >>> correctly). But Marek is quite right that this only counts for state >>> objects >>> and makes no sense for set_* and draw_* calls (and I'm currently thinking >>> how to avoid that and can't come up with a proper solution). Anyway it's >>> definitely not an urgent problem for radeonsi. >> >>

[Mesa-dev] Haiku using the Wayland state_tracker?

2013-03-26 Thread Alexander von Gluck IV
I've been hitting several brick walls working on the Haiku GL stuff. (mostly due to things being too complex for the time I have available) Given all the recent publicity for Wayland, I decided to look into the wl_shm stuff. From my point of view wl_shm looks *extremely* simple. Does anyone

Re: [Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

2013-03-26 Thread Matt Turner
On Tue, Mar 26, 2013 at 2:44 PM, Bengt Richter wrote: > uint32_t > component_delta2(uint32_t next, uint32_t prev) > { > return next&0xff00ff)-(prev&0xff00ff)+0x100)&0xff00ff)+ > (((next&0xff00)-(prev&0xff00))&0xff00)); > } Does removing all the spaces make it faster? ;) __

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 20:28, schrieb Marek Olšák: On Tue, Mar 26, 2013 at 6:44 PM, Christian König wrote: Am 26.03.2013 18:02, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: On Tue, Mar 26, 2013 at 3:59 PM, Christian König wrote: Am 26.03.2013 15:34, schrieb Marek Olš

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Marek Olšák
I think this should be fixed in drivers. Marek On Tue, Mar 26, 2013 at 7:38 PM, Ondrej Holecek wrote: > On Tuesday 26 of March 2013 15:18:06 Vadim Girlin wrote: >> On 03/26/2013 02:00 AM, Marek Olšák wrote: >> > On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: >> >> On Saturday 23 of Mar

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Marek Olšák
On Tue, Mar 26, 2013 at 6:44 PM, Christian König wrote: > Am 26.03.2013 18:02, schrieb Jerome Glisse: > >> On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: >>> >>> On Tue, Mar 26, 2013 at 3:59 PM, Christian König >>> wrote: Am 26.03.2013 15:34, schrieb Marek Olšák: > Speak

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Ondrej Holecek
On Tuesday 26 of March 2013 15:18:06 Vadim Girlin wrote: > On 03/26/2013 02:00 AM, Marek Olšák wrote: > > On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: > >> On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: > > > > >> The third issue is that on both 32bit and 64bit build fon

Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jordan Justen
On Tue, Mar 26, 2013 at 1:39 AM, violin yanev wrote: > Thanks for your replies guys! > > The output of eglinfo is: > EGL API version: 1.4 > EGL vendor string: Mesa Project > EGL version string: 1.4 (DRI2) > EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 > EGL extensions string: > EGL_MESA_drm_im

Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 2:14 PM, Jordan Justen wrote: > On Tue, Mar 26, 2013 at 10:34 AM, Jerome Glisse wrote: >> On Tue, Mar 26, 2013 at 4:39 AM, violin yanev wrote: >>> Thanks for your replies guys! >>> >>> The output of eglinfo is: >>> EGL API version: 1.4 >>> EGL vendor string: Mesa Project

Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jordan Justen
On Tue, Mar 26, 2013 at 10:34 AM, Jerome Glisse wrote: > On Tue, Mar 26, 2013 at 4:39 AM, violin yanev wrote: >> Thanks for your replies guys! >> >> The output of eglinfo is: >> EGL API version: 1.4 >> EGL vendor string: Mesa Project >> EGL version string: 1.4 (DRI2) >> EGL client APIs: OpenGL Op

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 18:02, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: On Tue, Mar 26, 2013 at 3:59 PM, Christian König wrote: Am 26.03.2013 15:34, schrieb Marek Olšák: Speaking of si_pm4_state, I think it's a horrible mechanism for anything other than constant sta

Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 4:39 AM, violin yanev wrote: > Thanks for your replies guys! > > The output of eglinfo is: > EGL API version: 1.4 > EGL vendor string: Mesa Project > EGL version string: 1.4 (DRI2) > EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 > EGL extensions string: > EGL_MESA_drm_im

Re: [Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

2013-03-26 Thread Rune Kjær Svendsen
(I'm re-sending this message because the attachment was too large for mesa-dev, and because I want to add wayland-devel CC. The valgrind output can be found here: http://runeks.dk/files/callgrind.out.11362). Seems like you are right Pekka. I just ran weston through valgrind, and got some interest

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Michel Dänzer
On Die, 2013-03-26 at 17:37 +0100, Christian König wrote: > Am 26.03.2013 15:56, schrieb Michel Dänzer: > > On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: > >> From: Christian König > >> > >> Signed-off-by: Christian König > >> [...] > >> diff --git a/src/gallium/drivers/radeonsi/rade

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 12:40 PM, Marek Olšák wrote: > On Tue, Mar 26, 2013 at 3:59 PM, Christian König > wrote: >> Am 26.03.2013 15:34, schrieb Marek Olšák: >> >>> Speaking of si_pm4_state, I think it's a horrible mechanism for >>> anything other than constant state objects (create/bind/delete >

[Mesa-dev] [PATCH 4/6] draw/gs: Fetch more than one primitive per invocation

2013-03-26 Thread Zack Rusin
Allows executing gs on up to 4 primitives at a time. Will also be required by the llvm code because there we definitely don't want to flush with just a single primitive. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c | 54 ++ src/gallium/auxi

[Mesa-dev] [PATCH 3/6] draw/gs: Abstract the portions of GS that are tgsi specific

2013-03-26 Thread Zack Rusin
To be able to add llvm paths later on we need to have some common interface for them. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c | 270 ++ src/gallium/auxiliary/draw/draw_gs.h | 14 ++ 2 files changed, 156 insertions(+), 128 deletions(-)

[Mesa-dev] [PATCH 2/6] draw/llvm: Remove unused gs_constants from jit_context

2013-03-26 Thread Zack Rusin
The member was never used and we'll need to handle it differently because gs will also need samplers/textures setup. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_llvm.c| 17 +++-- src/gallium/auxiliary/draw/draw_llvm.h| 15

[Mesa-dev] [PATCH 0/6] Gallivm GS and related cleanups

2013-03-26 Thread Zack Rusin
This set implements code generation of geometry shaders in the LLVM paths. There are some cleanups that will follow (e.g. changing the input array to handle lp_native vectors and not TGSI_NUM_CHANNELS) but all the simple examples are working and as far as I can tell there's no regressions in the co

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Marek Olšák
On Tue, Mar 26, 2013 at 3:59 PM, Christian König wrote: > Am 26.03.2013 15:34, schrieb Marek Olšák: > >> Speaking of si_pm4_state, I think it's a horrible mechanism for >> anything other than constant state objects (create/bind/delete >> functions). For everything else (set/draw functions), you wa

[Mesa-dev] [PATCH 6/6] gallivm: implement breakc and implicit primitive flushing

2013-03-26 Thread Zack Rusin
we were missing implementation of the breakc instruction and our TGSI semantics currently require an implicit endprim at the end of GS if none is present - this implements both. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/gallivm/lp_bld_tgsi.h|6 src/gallium/auxiliary/ga

[Mesa-dev] [PATCH 1/6] graw/gs: add missing max output vertices to all tests

2013-03-26 Thread Zack Rusin
A few tests were missing this crucial property. Signed-off-by: Zack Rusin --- src/gallium/tests/graw/geometry-shader/add-mix.txt |1 + src/gallium/tests/graw/geometry-shader/add.txt |1 + src/gallium/tests/graw/geometry-shader/mov-cb-2d.txt |1 + src/gallium/tests/graw/geomet

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Christian König
Am 26.03.2013 15:56, schrieb Michel Dänzer: On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: From: Christian König Signed-off-by: Christian König [...] diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h index 9dae742..e09f297

Re: [Mesa-dev] [PATCH] mesa: only check sample count if we actually wanted multisampling

2013-03-26 Thread Kenneth Graunke
On 03/25/2013 03:48 AM, Chris Forbes wrote: Fixes various test fallout from 90b5a2425a on Pineview, which claims to support ARB_internalformat_query but doesn't actually provide the driverfunc. That driver is still broken [GetInternalformativ will still segfault!] but it was silly to be going th

[Mesa-dev] Discussion on GLX_LARGEST_PBUFFER attribute in glXCreatePbuffer

2013-03-26 Thread Tomasz Lis
Hello, I've noticed the GLX_LARGEST_PBUFFER property is not implemented correctly (it is, but only in Gallium). Specification: http://www.opengl.org/sdk/docs/man2/xhtml/glXCreatePbuffer.xml The value should be used to decrease buffer size when necessary, but also stored so it can be retrieved by

Re: [Mesa-dev] [PATCH 1/4] radeon/llvm: move system value fetching to common code

2013-03-26 Thread Michel Dänzer
Patches 1-3 are Reviewed-by: Michel Dänzer Tested-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer ___ mesa-dev mailing list mesa-

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 15:34, schrieb Marek Olšák: Speaking of si_pm4_state, I think it's a horrible mechanism for anything other than constant state objects (create/bind/delete functions). For everything else (set/draw functions), you want to emit directly into the command stream. It's not so different f

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Michel Dänzer
On Die, 2013-03-26 at 14:51 +0100, Christian König wrote: > From: Christian König > > Signed-off-by: Christian König > [...] > diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h > b/src/gallium/drivers/radeonsi/radeonsi_shader.h > index 9dae742..e09f297 100644 > --- a/src/gallium/driv

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Marek Olšák
Speaking of si_pm4_state, I think it's a horrible mechanism for anything other than constant state objects (create/bind/delete functions). For everything else (set/draw functions), you want to emit directly into the command stream. It's not so different from the bad state management which r600g use

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 26.03.2013 14:42, schrieb Jerome Glisse: On Tue, Mar 26, 2013 at 6:22 AM, Christian König wrote: Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside command

[Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 66 +++- src/gallium/drivers/radeonsi/radeonsi_shader.h | 23 + src/gallium/drivers/radeonsi/si_state.c| 32 +++- src/gallium/drivers/radeo

[Mesa-dev] [PATCH 3/4] radeonsi: add start instance support

2013-03-26 Thread Christian König
From: Christian König This works different than on R600, we need to add the start instance manually. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 13 - src/gallium/drivers/radeonsi/radeonsi_shader.h | 12 +++- src/gallium/drivers/r

[Mesa-dev] [PATCH 1/4] radeon/llvm: move system value fetching to common code

2013-03-26 Thread Christian König
From: Christian König This should be used by both SI and R600. Signed-off-by: Christian König --- src/gallium/drivers/r600/r600_llvm.c | 12 .../drivers/radeon/radeon_setup_tgsi_llvm.c| 12 2 files changed, 12 insertions(+), 12 deletions(-)

[Mesa-dev] [PATCH 2/4] radeonsi: add instanceid support

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pipe.c |2 +- src/gallium/drivers/radeonsi/radeonsi_shader.c | 35 ++-- src/gallium/drivers/radeonsi/radeonsi_shader.h |6 +++- src/gallium/drivers/radeonsi/si_state_dr

[Mesa-dev] [PATCH] freedreno: document debug flag

2013-03-26 Thread Erik Faye-Lund
Signed-off-by: Erik Faye-Lund --- Here you go, a version of the patch prepared for git-am src/gallium/docs/source/debugging.rst | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/docs/source/debugging.rst b/src/gallium/docs/source/debugging.rst index e081cbf..dc308e5 100644 --

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Jerome Glisse
On Tue, Mar 26, 2013 at 6:22 AM, Christian König wrote: > Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: > >> From: Jerome Glisse >> >> Same as on r600, trace cs execution by writting cs offset after each >> states, this allow to pin point lockup inside command stream and >> narrow down the sco

Re: [Mesa-dev] [PATCH 1/6] radeon/llvm: remove uneeded inclusion

2013-03-26 Thread Christian König
Am 26.03.2013 12:53, schrieb Michel Dänzer: On Die, 2013-03-26 at 11:56 +0100, Christian König wrote: From: Christian König The include isn't needed and the file has moved with LLVM master. Signed-off-by: Christian König Reviewed-by: Michel Dänzer The rest of the series seems unchanged, s

Re: [Mesa-dev] [PATCH 1/6] radeon/llvm: remove uneeded inclusion

2013-03-26 Thread Michel Dänzer
On Die, 2013-03-26 at 11:56 +0100, Christian König wrote: > From: Christian König > > The include isn't needed and the file has moved with LLVM master. > > Signed-off-by: Christian König Reviewed-by: Michel Dänzer The rest of the series seems unchanged, so my review of it stands. -- Eart

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Christoph Bumiller
On 26.03.2013 12:18, Vadim Girlin wrote: > On 03/26/2013 02:00 AM, Marek Olšák wrote: >> On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek >> wrote: >>> On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: Hi everyone, one image is better than a thousand words: ... >>> >>> Hi, >>> >>>

Re: [Mesa-dev] [PATCH 0/5] Head-up display for Gallium DRI2 drivers

2013-03-26 Thread Vadim Girlin
On 03/26/2013 02:00 AM, Marek Olšák wrote: On Mon, Mar 25, 2013 at 10:38 PM, Ondrej Holecek wrote: On Saturday 23 of March 2013 00:50:59 Marek Olšák wrote: Hi everyone, one image is better than a thousand words: ... Hi, I tried your patches and hit a few problems. As first, they do not appl

[Mesa-dev] [PATCH 6/6] radeonsi: add preloading for all samplers

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 57 +++- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader

[Mesa-dev] [PATCH 5/6] radeonsi: add preloading of all constants

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 67 ++-- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader

[Mesa-dev] [PATCH 1/6] radeon/llvm: remove uneeded inclusion

2013-03-26 Thread Christian König
From: Christian König The include isn't needed and the file has moved with LLVM master. Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_llvm_emit.cpp |1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.cpp b/src/gallium/driver

[Mesa-dev] [PATCH 4/6] radeonsi: mark most intrinsics as readnone/nounwind

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c inde

[Mesa-dev] [PATCH 3/6] radeonsi: mark all loads as constant

2013-03-26 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 32 ++-- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.

[Mesa-dev] [PATCH 2/6] radeonsi: remove wqm intrinsic

2013-03-26 Thread Christian König
From: Christian König Now the backend handles that itself. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |9 - 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_sh

Re: [Mesa-dev] [PATCH] radeonsi: add cs tracing v2

2013-03-26 Thread Christian König
Am 25.03.2013 18:15, schrieb j.gli...@gmail.com: From: Jerome Glisse Same as on r600, trace cs execution by writting cs offset after each states, this allow to pin point lockup inside command stream and narrow down the scope of lockup investigation. v2: Use WRITE_DATA packet instead of WRITE_M

Re: [Mesa-dev] glxgears is faster but 3D render is so slow

2013-03-26 Thread jupiter
Hi Brian, On 3/26/13, Brian Paul wrote: >> I guess to define LP_NUM_THREADS as an environment variable, correct? > > Yes. > > >> I've tried to define LP_NUM_THREADS=10, but does not work. > > The limit is currently 8. If your VM only has one CPU core, then > llvmpipe will automatically set num_t

Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread violin yanev
Thanks for your replies guys! The output of eglinfo is: EGL API version: 1.4 EGL vendor string: Mesa Project EGL version string: 1.4 (DRI2) EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 EGL extensions string: EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base EGL_KHR_image_pi

[Mesa-dev] [Bug 3485] unable to compile mesa on solaris 10/amd64

2013-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=3485 --- Comment #11 from chemtech --- Daniel Stone, Do you still experience this issue with newer soft ? Please check the status of your issue. Or close this bug. -- You are receiving this mail because: You are the assignee for the bug.

Re: [Mesa-dev] Very low framerate when recording desktop content in Weston using mesa git on Radeon 5770 (glReadPixels slow path)

2013-03-26 Thread Pekka Paalanen
On Tue, 26 Mar 2013 03:30:58 +0100 Rune Kjær Svendsen wrote: > Marek, do you have an idea on where the currency bottleneck is? > > I just did a profiling with sysprof, zooming in on the desktop in Weston > and moving the mouse wildly around, so that the buffer is completely > changed for every f

[Mesa-dev] use after free in exec arrays vbo code

2013-03-26 Thread Dave Airlie
so I've been playing with MSAA in softpipe and saw this, I don't think any of my code is causing it, but it does take an MSAA test to trigger it with texelFetch fs sampler2DMS 4 I get the below valgrind trace so it looks like we are keeping a reference in ctx->Array._DrawArrays that is stale, wit