Re: [Mesa-dev] [PATCH] mesa: Flag _NEW_VARYING_VP_INPUTS when there's no vertex program.

2012-09-18 Thread Marek Olšák
Reviewed-by: Marek Olšák Thanks to your patch, I've got a theory. i915 doesn't set _MaintainTnlProgram to TRUE, which causes core Mesa to set both _TnlProgram and _Current to NULL, therefore _mesa_set_varying_vp_inputs is a no-op. (If _MaintainTnlProgram were TRUE, the shaders would be set prope

[Mesa-dev] [PATCH 7/7] r600g: set QUANT_MODE on Cayman too

2012-09-18 Thread Marek Olšák
This fixes piglit/fbo-blit-stretched. --- src/gallium/drivers/r600/evergreen_state.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index d1e1699..ac62524 100644 --- a/src/gallium/dri

[Mesa-dev] [PATCH 6/7] r600g: use CS helpers to emit streamout state

2012-09-18 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c | 18 -- src/gallium/drivers/r600/r600_hw_context.c | 29 +++ 2 files changed, 14 insertions(+), 33 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_hw_context.c b/src/gallium/drivers/r600/ev

[Mesa-dev] [PATCH 5/7] r600g: remove initialization of unused loop register tables

2012-09-18 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c | 19 --- src/gallium/drivers/r600/r600_hw_context.c | 19 --- 2 files changed, 38 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_hw_context.c b/src/gallium/drivers/r600/evergreen_hw_contex

[Mesa-dev] [PATCH 4/7] r600g: remove now-unused SURFACE_BASE_UPDATE logic

2012-09-18 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c |2 +- src/gallium/drivers/r600/r600_hw_context.c |7 +-- src/gallium/drivers/r600/r600_hw_context_priv.h |3 +-- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_hw_context.c

[Mesa-dev] [PATCH 3/7] r600g: remove unused CB registers from register lists

2012-09-18 Thread Marek Olšák
--- src/gallium/drivers/r600/evergreen_hw_context.c | 80 --- src/gallium/drivers/r600/r600_hw_context.c |7 -- 2 files changed, 87 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_hw_context.c b/src/gallium/drivers/r600/evergreen_hw_context.c index fb6

[Mesa-dev] [PATCH 1/7] r600g: don't snoop context state while building shaders

2012-09-18 Thread Marek Olšák
Let's use the shader key describing the state. --- src/gallium/drivers/r600/r600_pipe.h | 13 +-- src/gallium/drivers/r600/r600_shader.c | 30 +++--- src/gallium/drivers/r600/r600_state_common.c | 28 3 files changed, 43 inse

Re: [Mesa-dev] [PATCH] winsys/radeon: fix relocs caching

2012-09-18 Thread Marek Olšák
Well spotted! Thanks a lot. Reviewed-by: Marek Olšák This patch should also be marked as a candidate for stable branches. Marek On Wed, Sep 19, 2012 at 2:09 AM, Vadim Girlin wrote: > Don't cache pointers to elements of reallocatable array. > In some circumstances it caused false cache hits re

[Mesa-dev] [PATCH] winsys/radeon: fix relocs caching

2012-09-18 Thread Vadim Girlin
Don't cache pointers to elements of reallocatable array. In some circumstances it caused false cache hits resulting in incorrect command stream and gpu lockup. Signed-off-by: Vadim Girlin --- Fixes lockups with "longprim" test for me and probably some other random issues. src/gallium/winsys/ra

[Mesa-dev] [PATCH] meta: Generate and compile shaders everytime in setup_glsl_generate_mipmap()

2012-09-18 Thread Anuj Phogat
Fixes float-texture(mipmap.manual): See Comment 6: https://bugs.freedesktop.org/show_bug.cgi?id=54296 NOTE: This is a candidate for stable branches. Signed-off-by: Anuj Phogat --- src/mesa/drivers/common/meta.c | 40 1 files changed, 20 insertions(+),

Re: [Mesa-dev] [PATCH 2/2] i965/blorp: Add support for blits between SRGB and linear formats.

2012-09-18 Thread Paul Berry
On 17 September 2012 10:53, Paul Berry wrote: > On 17 September 2012 10:25, Ian Romanick wrote: > >> On 09/14/2012 02:56 AM, Paul Berry wrote: >> >>> On 11 September 2012 16:24, Kenneth Graunke >> **> wrote: >>> >>> Fixes colorspace issues in L4D2 when multisamp

[Mesa-dev] [PATCH] radeon/llvm: support for interpolation intrinsics

2012-09-18 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 2 + src/gallium/drivers/radeon/AMDGPUISelLowering.h| 2 + .../drivers/radeon/R600ExpandSpecialInstrs.cpp | 129 + src/gallium/drivers/radeon/R600ISelLowering.cpp| 88 +- src/gallium/drivers/r

[Mesa-dev] docs: replace the frame based layout with an iframe based layout

2012-09-18 Thread Andreas Boll
Hi list, By now all docs/*.html files are 100% HTML 4.01 Transitional valid. The frame based layout is gone, and replaced by an iframe based layout. The iframe is used for the navigation, so that each page includes contents.html E.g. if you open docs/download.html in your browser, you see the nav

[Mesa-dev] [Bug 55069] New: Torchlight: rendering errors

2012-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55069 Bug #: 55069 Summary: Torchlight: rendering errors Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severi

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-18 Thread Matt Turner
On Mon, Sep 17, 2012 at 7:15 PM, Roland Scheidegger wrote: > Am 18.09.2012 01:34, schrieb Matt Turner: >> Here is the assembly output of the other two (IEEE being the fi_type >> union hack, and SIGNBIT using signbit(). >> >> : >> movd %xmm0,%eax >> shr$0x1f,%eax >> >> : >> pmovms

Re: [Mesa-dev] [PATCH] SwapBuffersRegionNOK: invert rectangles on y axis

2012-09-18 Thread Matt Turner
On Tue, Sep 18, 2012 at 8:10 AM, Robert Bragg wrote: > From: Robert Bragg > > The EGL_NOK_swap_region2 spec states that the rectangles are specified > with a bottom-left origin within a surface coordinate space also with a > bottom left origin, so this patch ensures the rectangles are flipped > b

[Mesa-dev] [PATCH] SwapBuffersRegionNOK: invert rectangles on y axis

2012-09-18 Thread Robert Bragg
From: Robert Bragg The EGL_NOK_swap_region2 spec states that the rectangles are specified with a bottom-left origin within a surface coordinate space also with a bottom left origin, so this patch ensures the rectangles are flipped before passing them on to dri2_copy_region. --- src/egl/drivers/d

Re: [Mesa-dev] [PATCH 3/3] r600g: tgsi-to-llvm generates interpolation intrinsics

2012-09-18 Thread Tom Stellard
On Tue, Sep 18, 2012 at 03:59:28PM +0200, Vincent Lejeune wrote: I took a quick look at this and it seems OK to me, but I'm not really familiar with the interpolation code, so it might be helpful to have someone else look at it too. You should make sure to test for regressions with an without the

Re: [Mesa-dev] [PATCH 2/3] radeon/llvm: support for interpolation intrinsics

2012-09-18 Thread Tom Stellard
On Tue, Sep 18, 2012 at 03:59:27PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 2 + > src/gallium/drivers/radeon/AMDGPUISelLowering.h| 2 + > src/gallium/drivers/radeon/AMDGPUIntrinsics.td | 6 ++ > .../drivers/radeon/R600ExpandSpecialIn

Re: [Mesa-dev] [PATCH] docs: drop obsolete sourceforge link

2012-09-18 Thread Brian Paul
On 09/18/2012 06:39 AM, Andreas Boll wrote: --- docs/contents.html |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/docs/contents.html b/docs/contents.html index 6fc7c58..5db0ee8 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -71,7 +71,6 @@ Developer Top

Re: [Mesa-dev] [PATCH] mesa: Allow glGetTexParameter of GL_TEXTURE_SRGB_DECODE_EXT

2012-09-18 Thread Brian Paul
On 09/18/2012 07:27 AM, Ian Romanick wrote: From: Ian Romanick This was already (correctly) supported for glGetSamplerParameter paths. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick --- src/mesa/main/texparam.c | 12 1 file changed, 12 insertions(+)

Re: [Mesa-dev] [PATCH 1/3] radeon/llvm: Add a fdiv pattern.

2012-09-18 Thread Tom Stellard
On Tue, Sep 18, 2012 at 03:59:26PM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/radeon/R600Instructions.td | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > This looks good to me. I have a patch locally that remove the int_AMDGPU_div intrinsic altogether, so I

[Mesa-dev] [PATCH 3/3] r600g: tgsi-to-llvm generates interpolation intrinsics

2012-09-18 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 102 +++-- src/gallium/drivers/r600/r600_shader.c | 191 +++ src/gallium/drivers/r600/r600_shader.h | 38 ++ src/gallium/drivers/radeon/radeon_llvm.h | 7 ++ 4 files changed, 232 insertions(+), 106 de

[Mesa-dev] [PATCH 2/3] radeon/llvm: support for interpolation intrinsics

2012-09-18 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/AMDGPUISelLowering.cpp | 2 + src/gallium/drivers/radeon/AMDGPUISelLowering.h| 2 + src/gallium/drivers/radeon/AMDGPUIntrinsics.td | 6 ++ .../drivers/radeon/R600ExpandSpecialInstrs.cpp | 111 + src/gallium/drivers/radeon/R600IS

[Mesa-dev] [PATCH 1/3] radeon/llvm: Add a fdiv pattern.

2012-09-18 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/R600Instructions.td | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index 7e2deac..75c6825 100644 --- a/src/gallium/drivers/radeon/R600

[Mesa-dev] [PATCH] mesa: Allow glGetTexParameter of GL_TEXTURE_SRGB_DECODE_EXT

2012-09-18 Thread Ian Romanick
From: Ian Romanick This was already (correctly) supported for glGetSamplerParameter paths. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick --- src/mesa/main/texparam.c | 12 1 file changed, 12 insertions(+) diff --git a/src/mesa/main/texparam.c b/src/m

[Mesa-dev] [PATCH] docs: drop obsolete sourceforge link

2012-09-18 Thread Andreas Boll
--- docs/contents.html |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/docs/contents.html b/docs/contents.html index 6fc7c58..5db0ee8 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -71,7 +71,6 @@ Developer Topics -http://sourceforge.net/projects/mesa3d";

Re: [Mesa-dev] Outdated infos on http://sourceforge.net/projects/mesa3d/

2012-09-18 Thread Andreas Boll
2012/9/18 Brian Paul : > On 09/17/2012 12:31 PM, Andreas Boll wrote: >> >> Hi list, >> >> this page is really irritating. >> As you can see on this page, there were 213 downloads of really >> outdated mesa versions this week. >> I think we should place a big fat note saying: >> >>New mesa relea

Re: [Mesa-dev] release schedule

2012-09-18 Thread Andreas Boll
2012/9/16 Barto : > Hello, > > It's now been more than two months that mesa3d 8.0.4 has been released, > > do we have a schedule date for mesa3d 8.0.5 ? > > I ask this because some interesting bugs have been fixed in the git > version, like the bug 47375 ( a serious problem with Blender and swrast

[Mesa-dev] [XDC 2012] Conference Update #6

2012-09-18 Thread Matthias Hopf
Hi folks, the XDC2012 conference program (modulo updates) is now available at http://www.x.org/wiki/Events/XDC2012/Program The program will also be available in printed form on site. Please be aware that we currently have major issues with MoinMoin wiki, probably due to the massive spamming a

Re: [Mesa-dev] [PATCH] Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-18 Thread Chris Wilson
On Mon, 17 Sep 2012 16:34:21 -0700, Matt Turner wrote: > I understand Ian's concern given the subtle nature of this code. > Brian's commit (c8a86f717 - converting from macros to inline > functions) caused bug 54365, and then his fix (23cd6c43da) caused bug > 54805. Neither commit looked like it sh