[Mesa-dev] [PATCH] swrast: Fix memory leaks in blit_linear.

2012-03-31 Thread Vinson Lee
Fixes Coverity resource leak defects. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Vinson Lee --- src/mesa/swrast/s_blit.c |9 + 1 file changed, 9 insertions(+) diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index 6d0b889..b0c56a4 100644 --- a/src/

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

2012-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48142 Vinson Lee changed: What|Removed |Added Summary|[vmwgfx]|[vmwgfx] |rc/gallium/driv

[Mesa-dev] [Bug 48143] New: [vmwgfx] src/gallium/drivers/svga/svga_tgsi_insn.c:273:get_temp: Assertion `i < 32' failed.

2012-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48143 Bug #: 48143 Summary: [vmwgfx] src/gallium/drivers/svga/svga_tgsi_insn.c:273:get_temp : Assertion `i < 32' failed. Classification: Unclassified Product: Mesa

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

2012-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48142 Bug #: 48142 Summary: [vmwgfx] rc/gallium/drivers/svga/svga_tgsi_decl_sm30.c:76:trans late_vs_ps_semantic: Assertion `0' failed. Classification: Unclassified Product: M

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

2012-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48141 Bug #: 48141 Summary: [vmwgfx] src/gallium/auxiliary/util/u_inlines.h:256:pipe_buffer _map_range: Assertion `offset + length <= buffer->width0' failed. Classif

[Mesa-dev] [PATCH] glsl: fix variable ordering in the output_read_remover

2012-03-31 Thread Vadim Girlin
Use the hash of the variable name string instead of the pointer value. Signed-off-by: Vadim Girlin --- This patch solves the problem for me, afaics. Tested with quick-driver.tests src/glsl/lower_output_reads.cpp |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/s

[Mesa-dev] [PATCH v2 01/11] gallium: Basic compute interface.

2012-03-31 Thread Francisco Jerez
Define an interface that exposes the minimal functionality required to implement some of the popular compute APIs. This commit adds entry points to set the grid layout and other state required to keep track of the usual address spaces employed in compute APIs, to bind a compute program, and execut

Re: [Mesa-dev] GLSL compiler produces different code for the same source

2012-03-31 Thread Vadim Girlin
On Sat, 2012-03-31 at 06:46 -0400, Tom Stellard wrote: > On Sat, Mar 31, 2012 at 06:25:08AM -0400, Tom Stellard wrote: > > On Sat, Mar 31, 2012 at 12:02:42AM -0700, Kenneth Graunke wrote: > > > On 03/30/2012 02:11 PM, Vadim Girlin wrote: > > > > Hi, > > > > > > > > I noticed that GLSL compiler some

[Mesa-dev] [PATCH 1/1] intel: add PCI IDs for Ivy Bridge GT2 server variant

2012-03-31 Thread Eugeni Dodonov
Those IDs are used by Bromolow. Signed-off-by: Eugeni Dodonov --- include/pci_ids/i965_pci_ids.h |1 + src/mesa/drivers/dri/intel/intel_chipset.h |4 +++- src/mesa/drivers/dri/intel/intel_context.c |1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/includ

Re: [Mesa-dev] [PATCH 01/11] gallium: Basic compute interface.

2012-03-31 Thread Marek Olšák
On Sat, Mar 31, 2012 at 2:29 PM, Francisco Jerez wrote: > Marek Olšák writes: > >> On Fri, Mar 23, 2012 at 1:40 AM, Francisco Jerez >> wrote: >>> diff --git a/src/gallium/include/pipe/p_context.h >>> b/src/gallium/include/pipe/p_context.h >>> index aaeeb81..de990fe 100644 >>> --- a/src/gallium

Re: [Mesa-dev] [PATCH 01/11] gallium: Basic compute interface.

2012-03-31 Thread Francisco Jerez
Marek Olšák writes: > On Fri, Mar 23, 2012 at 1:40 AM, Francisco Jerez > wrote: >> diff --git a/src/gallium/include/pipe/p_context.h >> b/src/gallium/include/pipe/p_context.h >> index aaeeb81..de990fe 100644 >> --- a/src/gallium/include/pipe/p_context.h >> +++ b/src/gallium/include/pipe/p_cont

Re: [Mesa-dev] GLSL compiler produces different code for the same source

2012-03-31 Thread Tom Stellard
On Sat, Mar 31, 2012 at 06:25:08AM -0400, Tom Stellard wrote: > On Sat, Mar 31, 2012 at 12:02:42AM -0700, Kenneth Graunke wrote: > > On 03/30/2012 02:11 PM, Vadim Girlin wrote: > > > Hi, > > > > > > I noticed that GLSL compiler sometimes produces different code for the > > > same shader source, e.g

Re: [Mesa-dev] GLSL compiler produces different code for the same source

2012-03-31 Thread Tom Stellard
On Sat, Mar 31, 2012 at 12:02:42AM -0700, Kenneth Graunke wrote: > On 03/30/2012 02:11 PM, Vadim Girlin wrote: > > Hi, > > > > I noticed that GLSL compiler sometimes produces different code for the > > same shader source, e.g.: > > > > Vertex shader source: > > > >>gl_Position = gl_Vertex; > >>

Re: [Mesa-dev] Woes of --enable-32-bit on x86-64 Fedora 15

2012-03-31 Thread Kenneth Graunke
On 03/30/2012 09:31 AM, Ian Romanick wrote: Building the i965 driver with --enable-32-bit is just broken on Fedora 15. It seems to work for folks on other distros, but I get a lot of failure during linking i965_dri.so. Linking i915_dri.so works, and the difference seems to be the presence of C++

Re: [Mesa-dev] GLSL compiler produces different code for the same source

2012-03-31 Thread Kenneth Graunke
On 03/30/2012 02:11 PM, Vadim Girlin wrote: Hi, I noticed that GLSL compiler sometimes produces different code for the same shader source, e.g.: Vertex shader source: gl_Position = gl_Vertex; gl_FrontColor = gl_Vertex; GLSL IR: (assign (xyzw) (var_ref gl_Position)