Re: [Mesa-dev] [PATCH] i965: Don't set the sampler count in 3DSTATE_VS.

2012-02-12 Thread Kenneth Graunke
On 02/11/2012 01:13 PM, Eric Anholt wrote: On Fri, 10 Feb 2012 22:24:08 -0800, Kenneth Graunke wrote: We don't want to use brw->sampler.count here, as it includes samplers used only by the FS...which is most of them. This also lets us drop the CACHE_NEW_SAMPLER dirty bit on Gen6. My plan fo

Re: [Mesa-dev] [PATCH 1/3] st/mesa: do vertex and fragment color clamping in shaders

2012-02-12 Thread Tilman Sauerbeck
Marek Olšák [2012-01-23 13:32]: > For ARB_color_buffer_float. Most hardware can't do it and st/mesa is > the perfect place for a fallback. This breaks lighting in Heroes of Newerth on my rv730: http://files.code-monkey.de/frag_color_clamp_bad.png (after patch) http://files.code-monkey.de/frag_

Re: [Mesa-dev] [PATCH 1/2] i965: Report the failure message when failing to compile the fragment shader.

2012-02-12 Thread nobled
On Fri, Feb 10, 2012 at 12:42 AM, Eric Anholt wrote: > We just abort later, but at least this should result in more > informative bug reports. > --- >  src/mesa/drivers/dri/i965/brw_fs.cpp |    3 +++ >  1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw

Re: [Mesa-dev] [PATCH] configure.ac: Enable GLX_USE_TLS if possible.

2012-02-12 Thread nobled
On Wed, Feb 8, 2012 at 8:11 PM, Zhigang Gong wrote: > On Wed, Feb 08, 2012 at 02:46:42PM -0800, Eric Anholt wrote: >> On Wed,  8 Feb 2012 16:19:38 +0800, zhigang.g...@linux.intel.com wrote: >> > From: Zhigang Gong >> > >> > If the system support tls, we prefer to enable it by default >> > just as

Re: [Mesa-dev] [PATCH 1/2] i965: Report the failure message when failing to compile the fragment shader.

2012-02-12 Thread Brian Paul
On 02/12/2012 06:49 AM, nobled wrote: On Fri, Feb 10, 2012 at 12:42 AM, Eric Anholt wrote: We just abort later, but at least this should result in more informative bug reports. --- src/mesa/drivers/dri/i965/brw_fs.cpp |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a

[Mesa-dev] [Bug 45578] main/image.c:1659: _mesa_convert_colors: Assertion `dstType == 0x1403' failed.

2012-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45578 Alexander von Gluck changed: What|Removed |Added Platform|x86-64 (AMD64) |All OS/Version|Linux (All)

[Mesa-dev] [Bug 45967] New: piglit getteximage-invalid-format-for-packed-type regression

2012-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45967 Bug #: 45967 Summary: piglit getteximage-invalid-format-for-packed-type regression Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64)

[Mesa-dev] [Bug 45932] Fails to compile with OpenGL ES support

2012-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45932 Kyle Evans changed: What|Removed |Added Platform|Other |x86-64 (AMD64) OS/Version|All

Re: [Mesa-dev] [PATCH 1/4] vl: add a median filter for noise reduction

2012-02-12 Thread Andy Furniss
Christian König wrote: This is a shader based median filter, generally used for noise reduction, it could still need some improvements, but should usually work out of the box. Hi Christian. I haven't really tested these properly yet, but did find a small issue with low strength denoise and mp

[Mesa-dev] [PATCH] i965/fs: Don't rewrite texture message destinations to avoid MOVs.

2012-02-12 Thread Kenneth Graunke
Commit dc7f449d1ac53a66e6efb56ccf2a5953418a26ca introduced a new method for avoiding MOVs: try to rewrite the destination of the instruction that produced the RHS so it writes into the LHS. Unfortunately, this is not safe for texturing operations, as they return a set of four contiguous registers.