[Mesa-dev] [PATCH 2/2] mesa: add _mesa_total_texture_memory() debug function

2012-04-06 Thread Brian Paul
This function can be called in gdb to find out how much memory is used by all texture objects. --- src/mesa/main/texobj.c | 59 src/mesa/main/texobj.h |3 ++ 2 files changed, 62 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texobj.

[Mesa-dev] [PATCH 1/2] mesa: new _mesa_total_buffer_object_memory() debug function

2012-04-06 Thread Brian Paul
This function can be called in gdb to find out how much memory is used by buffer objects. --- src/mesa/main/bufferobj.c | 30 ++ src/mesa/main/bufferobj.h |2 ++ 2 files changed, 32 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/m

[Mesa-dev] [Bug 48141] [vmwgfx] src/gallium/auxiliary/util/u_inlines.h:256:pipe_buffer_map_range: Assertion `offset + length <= buffer->width0' failed.

2012-04-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48141 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 48142] [vmwgfx] src/gallium/drivers/svga/svga_tgsi_decl_sm30.c:76:translate_vs_ps_semantic: Assertion `0' failed.

2012-04-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48142 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH] st/mesa: fix max_offset computation for base vertex

2012-04-06 Thread Marek Olšák
Thank you very much, Brian. Reviewed-by: Marek Olšák Marek On Fri, Apr 6, 2012 at 1:14 AM, Brian Paul wrote: > Add the maximum base vertex offset to max_index (if max_index is not ~0). > Fixes a failed assertion in the u_upload_mgr.c code with the VMware svga > driver. > > Fixes https://bugs.f

[Mesa-dev] [Bug 44405] Spring RTS crashes using r600g (5670, Redwood), kernel rejects relocations

2012-04-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44405 --- Comment #14 from Vadim 2012-04-06 10:37:11 PDT --- AFAICS the game uses additional gl context for loading the resources in the separate thread. After destroying that context some pipe_surface is destroyed in the "pipe_surface_reference" using

Re: [Mesa-dev] [PATCH 1/9] util: fix undefined behavior

2012-04-06 Thread nobled
On Mon, Apr 2, 2012 at 7:40 AM, Tolga Dalman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > > On 02.04.2012 00:24, nobled wrote: >>  #define LIST_FOR_EACH_ENTRY(pos, head, member)                               >> \ >> -   for (pos = container_of((head)->next, pos, member);