[Mesa-dev] [Bug 52167] llvmpipe test programs link fails when ld --as-needed option is used

2012-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52167 Robert Hooker (Sarvatt) changed: What|Removed |Added CC||sarv...@gmail.com --- Comment

[Mesa-dev] [Bug 49504] [Bisected] Mesa master compilation broke when built with --with-llvm-shared-libs

2012-08-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49504 Robert Hooker (Sarvatt) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [PATCH] gallivm: Add constructor for raw_debug_ostream.

2012-08-04 Thread Vinson Lee
Fixes uninitialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp inde

[Mesa-dev] [PATCH] st/mesa: Fix a potential memory leak in get_mesa_program.

2012-08-04 Thread Vinson Lee
Fixes resource leak defect reported by Coverity. Signed-off-by: Vinson Lee --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index fcd69b1..

Re: [Mesa-dev] R600g : rejected cs and etqw corruption with - implement wait-free buffer transfer for DISCARD_RANGE

2012-08-04 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: Marek Olšák wrote: Hi Andy, this should be fixed by the commit: commit c3c83af380d703cdc24475bd39baa1722c333b44 Author: Marek Olšák Date: Wed Jul 18 18:33:37 2012 +0200 r600g: setup streamout before calling last r600_need_cs_space before drawin

[Mesa-dev] [PATCH] r600g: Fix instruction group merge when there are predicated insts.

2012-08-04 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_asm.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 0f28824..58c3e03 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600

[Mesa-dev] [PATCH 5/5] llvmpipe: consolidate the sampler and sampler view setting code

2012-08-04 Thread Brian Paul
Less code. And as with softpipe, if/when we consolidate the pipe_context functions for binding sampler state, this will make the llvmpipe changes trivial. --- src/gallium/drivers/llvmpipe/lp_state_sampler.c | 118 ++- 1 files changed, 50 insertions(+), 68 deletions(-) diff -

[Mesa-dev] [PATCH 4/5] llvmpipe: combine vertex/fragment sampler state into an array

2012-08-04 Thread Brian Paul
This will allow code consolidation in the next patch. --- src/gallium/drivers/llvmpipe/lp_context.c |4 +- src/gallium/drivers/llvmpipe/lp_context.h | 15 src/gallium/drivers/llvmpipe/lp_draw_arrays.c |4 +- src/gallium/drivers/llvmpipe/lp_setup.c |2 +-

[Mesa-dev] [PATCH 3/5] softpipe: consolidate vert/frag/geom sampler setting functions

2012-08-04 Thread Brian Paul
The functions for setting samplers and sampler views for vertex, fragment and geometry shaders were nearly identical. Now they use shared code. In the future, if the pipe_context functions for setting samplers and sampler views for vert/frag/geom/compute are combined, this will make updating the

[Mesa-dev] [PATCH 2/5] softpipe: consolidate sampler-related arrays

2012-08-04 Thread Brian Paul
Combine separate arrays for vertex/fragment/geometry samplers, etc into one array indexed by PIPE_SHADER_x. This allows us to collapse separate code for vertex/fragment/geometry state into loops over the shader stage. More to come. --- src/gallium/drivers/softpipe/sp_context.c | 23 +---

[Mesa-dev] [PATCH 1/5] softpipe: combine vert/frag/geom texture caches in an array

2012-08-04 Thread Brian Paul
This lets us consolidate some code now, and more in subsequent patches. --- src/gallium/drivers/softpipe/sp_context.c | 70 +- src/gallium/drivers/softpipe/sp_context.h | 10 ++- src/gallium/drivers/softpipe/sp_flush.c |7 +- src/gallium/drivers/soft

Re: [Mesa-dev] [PATCH] mesa: Fix off-by-one error in Parse_TextureImageId.

2012-08-04 Thread Brian Paul
On 08/04/2012 01:13 AM, Vinson Lee wrote: Fixes out-of-bounds write defect reported by Coverity. Signed-off-by: Vinson Lee --- src/mesa/program/nvfragparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/nvfragparse.c b/src/mesa/program/nvfragparse.c ind

Re: [Mesa-dev] [PATCH] util: Move dereference after null check in util_resource_copy_region.

2012-08-04 Thread Brian Paul
On 08/04/2012 12:42 AM, Vinson Lee wrote: Fixes deference before null check defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/util/u_surface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/util/u_surface.c b/src

[Mesa-dev] [PATCH] mesa: Fix off-by-one error in Parse_TextureImageId.

2012-08-04 Thread Vinson Lee
Fixes out-of-bounds write defect reported by Coverity. Signed-off-by: Vinson Lee --- src/mesa/program/nvfragparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/nvfragparse.c b/src/mesa/program/nvfragparse.c index bcc553a..20c8579 100644 --- a/src/mesa/pro