[Mesa-dev] [Bug 43682] New: SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43682 Bug #: 43682 Summary: SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64)

[Mesa-dev] [Bug 43683] New: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_translate_program: Assertion `0' failed.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43683 Bug #: 43683 Summary: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_tra nslate_program: Assertion `0' failed. Classification: Unclassified Product: Mesa Version: git

[Mesa-dev] [Bug 43682] SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43682 --- Comment #1 from Jos van Wolput wol...@onsneteindhoven.nl 2011-12-10 03:14:15 PST --- mesa 06f217d80f3d1318da4974bf7b31ea7edcf5eb0b, gallium driver breaks boinc-manager graphics: doesn't show graphics of starsphere (einstein@home), restarting

Re: [Mesa-dev] R600g LLVM shader backend

2011-12-10 Thread Stéphane Marchesin
On Fri, Dec 9, 2011 at 14:15, Tom Stellard tstel...@gmail.com wrote: Hi, I have just pushed a branch containing an LLVM shader backend for r600g to my personal git repo: http://cgit.freedesktop.org/~tstellar/mesa/ r600g-llvm-shader There are three main components to this branch: 1. A

[Mesa-dev] [Bug 43683] src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_translate_program: Assertion `0' failed.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43683 Dave Airlie airl...@freedesktop.org changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 43682] SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43682 --- Comment #2 from Dave Airlie airl...@freedesktop.org 2011-12-10 09:34:52 PST --- *** Bug 43683 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa-dev] [PATCH 1/3] egl: add EGL_NV_post_sub_buffer

2011-12-10 Thread Fredrik Höglund
Signed-off-by: Fredrik Höglund fred...@kde.org --- include/EGL/eglext.h |9 + src/egl/main/eglapi.c | 24 src/egl/main/eglapi.h |8 src/egl/main/egldisplay.h |2 ++ src/egl/main/eglmisc.c|2 ++ src/egl/main/eglsurface.c

[Mesa-dev] [PATCH 0/3] Add support for EGL_NV_post_sub_buffer

2011-12-10 Thread Fredrik Höglund
This patch series adds support for EGL_NV_post_sub_buffer. This extension provides the same functionality as EGL_NOK_swap_region, with the exception that it only supports a single rectangle. Unlike the latter, however, it is registered with Khronos and the specification is available. This

[Mesa-dev] [PATCH 2/3] egl_dri2/x11: Add support for EGL_NV_post_sub_buffer

2011-12-10 Thread Fredrik Höglund
Signed-off-by: Fredrik Höglund fred...@kde.org --- src/egl/drivers/dri2/platform_x11.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 8dd231a..5592fff 100644 ---

[Mesa-dev] [PATCH 3/3] st/egl: Add support for EGL_NV_post_sub_buffer

2011-12-10 Thread Fredrik Höglund
Signed-off-by: Fredrik Höglund fred...@kde.org --- src/gallium/state_trackers/egl/common/egl_g3d.c|6 - .../state_trackers/egl/common/egl_g3d_api.c| 24 2 files changed, 29 insertions(+), 1 deletions(-) diff --git

[Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com The piglit draw-pixel-with-texture was asserting in the glsl-tgsi code, due to 0 texture target, this makes sure the texture target is copied over correctly when we copy instructions around. Signed-off-by: Dave Airlie airl...@redhat.com ---

[Mesa-dev] [PATCH] mesa: use a double in _mesa_pack_float_z_row() for Z32

2011-12-10 Thread Brian Paul
Otherwise, 1.0 was converted to zero instead of 0x. --- src/mesa/main/format_pack.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/format_pack.c b/src/mesa/main/format_pack.c index ba23bab..27482d8 100644 --- a/src/mesa/main/format_pack.c +++

[Mesa-dev] [PATCH] swrast: add missing state validation calls for Blit, Clear

2011-12-10 Thread Brian Paul
--- src/mesa/swrast/s_blit.c |3 +++ src/mesa/swrast/s_clear.c |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index f094be8..2817ec1 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s_blit.c @@ -573,6

[Mesa-dev] [PATCH 01/13] st/mesa: stop using _DepthBuffer, _StencilBuffer fields

2011-12-10 Thread Brian Paul
We never want to use the depth/stencil buffer wrappers so always just use the attachment renderbuffers. This is a step toward removing the _DepthBuffer, _StencilBuffer fields. --- src/mesa/state_tracker/st_cb_drawpixels.c | 16 +--- src/mesa/state_tracker/st_cb_texture.c|5

[Mesa-dev] [PATCH 02/13] mesa: stop using _Depth, _StencilBuffer fields in _mesa_BlitFramebufferEXT()

2011-12-10 Thread Brian Paul
We're just looking at the depth/stencil renderbuffers to do error checking. We don't need to look at the depth/stencil wrappers to do that. Also, remove pointless readRb = depthRb = NULL assignments. --- src/mesa/main/fbobject.c | 14 -- 1 files changed, 8 insertions(+), 6

[Mesa-dev] [PATCH 03/13] nouveau: stop using _DepthBuffer, _StencilBuffer fields

2011-12-10 Thread Brian Paul
--- src/mesa/drivers/dri/nouveau/nouveau_span.c |4 ++-- src/mesa/drivers/dri/nouveau/nv04_state_fb.c |4 ++-- src/mesa/drivers/dri/nouveau/nv10_context.c |9 + src/mesa/drivers/dri/nouveau/nv10_state_fb.c |4 ++-- src/mesa/drivers/dri/nouveau/nv20_context.c |2 +-

[Mesa-dev] [PATCH 04/13] radeon: stop using _DepthBuffer, _StencilBuffer fields

2011-12-10 Thread Brian Paul
--- src/mesa/drivers/dri/radeon/radeon_common.c |8 src/mesa/drivers/dri/radeon/radeon_tex_copy.c |9 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index

[Mesa-dev] [PATCH 05/13] mesa: move update_depth/stencil_buffer() functions

2011-12-10 Thread Brian Paul
These functions update the gl_framebuffer::_DepthBuffer and _StencilBuffer fields, possibly creating renderbuffer wrappers that make a shared depth+stencil accessible as depth-only or stencil only. This stuff is only used by swrast now and will be moved there next. ---

[Mesa-dev] [PATCH 06/13] swrast: add new s_depthstencil.[ch] files

2011-12-10 Thread Brian Paul
These files are copies of main/depthstencil.[ch] with s/mesa/swrast/. The main/depthstencil.[ch] will go away soon. --- src/mesa/swrast/s_depthstencil.c | 1033 ++ src/mesa/swrast/s_depthstencil.h | 39 ++ 2 files changed, 1072 insertions(+), 0 deletions(-)

[Mesa-dev] [PATCH 07/13] mesa: build swrast/s_depthstencil.c

2011-12-10 Thread Brian Paul
--- src/mesa/SConscript |1 + src/mesa/sources.mak |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/SConscript b/src/mesa/SConscript index da4d9b1..4093e3f 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -162,6 +162,7 @@ swrast_sources = [

[Mesa-dev] [PATCH 08/13] swrast: update depth/stencil wrapper sizes

2011-12-10 Thread Brian Paul
--- src/mesa/swrast/s_depthstencil.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_depthstencil.c b/src/mesa/swrast/s_depthstencil.c index 9799f48..dc768e2 100644 --- a/src/mesa/swrast/s_depthstencil.c +++ b/src/mesa/swrast/s_depthstencil.c @@

[Mesa-dev] [PATCH 10/13] mesa: remove unused depthstencil.[ch] files

2011-12-10 Thread Brian Paul
--- src/mesa/SConscript |1 - src/mesa/main/depthstencil.c | 1033 -- src/mesa/main/depthstencil.h | 39 -- src/mesa/sources.mak |1 - 4 files changed, 0 insertions(+), 1074 deletions(-) delete mode 100644

[Mesa-dev] [PATCH 11/13] swrast: add debug code to test combined depth/stencil buffers

2011-12-10 Thread Brian Paul
--- src/mesa/swrast/s_renderbuffer.c | 54 +- 1 files changed, 47 insertions(+), 7 deletions(-) diff --git a/src/mesa/swrast/s_renderbuffer.c b/src/mesa/swrast/s_renderbuffer.c index 7622e38..bb7cdeb 100644 --- a/src/mesa/swrast/s_renderbuffer.c +++

[Mesa-dev] [PATCH 12/13] mesa: remove _DepthBuffer, _StencilBuffer resize code

2011-12-10 Thread Brian Paul
This is handled in swrast now when we validate the framebuffer state. --- src/mesa/main/framebuffer.c | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 4a4ade0..6d5e452 100644 ---

[Mesa-dev] [PATCH 13/13] mesa: update comments for _DepthBuffer, _StencilBuffer fields

2011-12-10 Thread Brian Paul
--- src/mesa/main/mtypes.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index fc494f7..1e06cd5 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2650,8 +2650,9 @@ struct gl_framebuffer struct

[Mesa-dev] [PATCH] meta: rework dest image allocation in mipmap generation code

2011-12-10 Thread Brian Paul
This fixes two things: 1. If the texture object was created with glTexStorage2D, the call to _mesa_TexImage2D() would generate INVALID_OPERATION since the texture is marked as immutable. 2. _mesa_TexImage2D() always frees any existing texture image memory before allocating new memory.

[Mesa-dev] [PATCH 1/3] swrast: do depth/stencil clearing with Map/UnmapRenderbuffer()

2011-12-10 Thread Brian Paul
Another step toward getting rid of the renderbuffer PutRow/etc functions. --- src/mesa/swrast/s_clear.c | 48 ++--- src/mesa/swrast/s_depth.c | 224 +++--- src/mesa/swrast/s_depth.h |5 +- src/mesa/swrast/s_stencil.c | 155

[Mesa-dev] [PATCH 2/3] swrast: rewrite color buffer clearing to use Map/UnmapRenderbuffer()

2011-12-10 Thread Brian Paul
--- src/mesa/swrast/s_clear.c | 234 +++-- 1 files changed, 119 insertions(+), 115 deletions(-) diff --git a/src/mesa/swrast/s_clear.c b/src/mesa/swrast/s_clear.c index 778911f..30c89bc 100644 --- a/src/mesa/swrast/s_clear.c +++

Re: [Mesa-dev] [PATCH] mesa: add const flags to skip MaxVarying and MaxUniform linker checks

2011-12-10 Thread Ian Romanick
On 12/09/2011 07:14 PM, Marek Olšák wrote: This is only temporary until a better solution is available. --- I haven't given up yet because reporting incorrect driver limits may cause more troubles than this. I made it pretty small this time. It doesn't change any driver besides Gallium. Please

Re: [Mesa-dev] [PATCH] configure: Don't use $CLANG since it will collide with the static analyzer.

2011-12-10 Thread Ian Romanick
On 12/09/2011 06:12 AM, nobled wrote: From: Jeremy Huddlestonjerem...@apple.com Date: Thu, 5 May 2011 14:08:57 -0700 We just prefix the $CLANG environment variable in configure.ac with acv_mesa_ Found by: tinderbox Signed-off-by: Jeremy Huddlestonjerem...@apple.com Reviewed-by: Ian Romanick

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
On Sat, Dec 10, 2011 at 6:34 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com The piglit draw-pixel-with-texture was asserting in the glsl-tgsi code, due to 0 texture target, this makes sure the texture target is copied over correctly when we copy instructions

Re: [Mesa-dev] [PATCH] mesa: add const flags to skip MaxVarying and MaxUniform linker checks

2011-12-10 Thread Christoph Bumiller
On 10.12.2011 20:19, Ian Romanick wrote: On 12/09/2011 07:14 PM, Marek Olšák wrote: This is only temporary until a better solution is available. --- I haven't given up yet because reporting incorrect driver limits may cause more troubles than this. I made it pretty small this time. It

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
The piglit draw-pixel-with-texture was asserting in the glsl-tgsi code, due to 0 texture target, this makes sure the texture target is copied over correctly when we copy instructions around. Oh so it looks like this could be fun or maybe the other one, so glsl-tgsi is broken for draw pixels

[Mesa-dev] [Bug 43683] src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4575:st_translate_program: Assertion `0' failed.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43683 Vinson Lee v...@vmware.com changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from

[Mesa-dev] [Bug 43682] SIGSEGV src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4560

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43682 Vinson Lee v...@vmware.com changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from

[Mesa-dev] [PATCH] g3dvl/xlib: fix build by changing include order

2011-12-10 Thread Tobias Droste
fixes the following build error since c83fb4d45f2a47042f395271efe6e5489b2c4aee: /usr/include/strings.h:46:13: error: expected declaration specifiers or ‘...’ before numeric constant /usr/include/strings.h:46:13: error: conflicting types for ‘memset’ In file included from

Re: [Mesa-dev] [PATCH 2/2] vdpau: Handle destination rectangles correctly

2011-12-10 Thread Younes Manton
On Tue, Dec 6, 2011 at 4:51 PM, Andy Furniss andy...@ukfsn.org wrote: Maarten Lankhorst wrote: The brokenness in vlVdpVideoMixerRender was compensating for brokenness in vlVdpPresentationQueueDisplay, so fix both at the same time. These fix the two remaining issues (aspect not maintained

Re: [Mesa-dev] [PATCH 1/6] vl: Add missing mpeg fields to pipe_mpeg12_picture_desc

2011-12-10 Thread Younes Manton
On Thu, Dec 1, 2011 at 7:00 PM, Maarten Lankhorst m.b.lankho...@gmail.com wrote: Signed-off-by: Maarten Lankhorst m.b.lankho...@gmail.com ---  src/gallium/include/pipe/p_video_state.h  |    3 +++  src/gallium/state_trackers/vdpau/decode.c |    3 +++  2 files changed, 6 insertions(+), 0

Re: [Mesa-dev] [PATCH] mesa: add const flags to skip MaxVarying and MaxUniform linker checks

2011-12-10 Thread Marek Olšák
On Sat, Dec 10, 2011 at 8:19 PM, Ian Romanick i...@freedesktop.org wrote: On 12/09/2011 07:14 PM, Marek Olšák wrote: This is only temporary until a better solution is available. --- I haven't given up yet because reporting incorrect driver limits may cause more troubles than this. I made it