[Mesa-dev] [PATCH] i965: Set brw_wm_prog_key::alpha_test only if nr_color_buffers == 0.

2012-06-16 Thread Kenneth Graunke
If alpha testing is enabled, we need to include alpha in the FB write. Normally, this occurs as part of a color buffer write, but it's possible to use alpha testing without any color buffers. The alpha_test flag lets brw_fs.cpp know that the shader needs to send alpha anyway. Since the flag's onl

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-16 Thread Vadim Girlin
On Sun, 2012-06-17 at 00:43 +0200, Marcin Slusarz wrote: > gl_ClipDistance needs special treatment in form of lowering pass > which transforms gl_ClipDistance representation from float[] to > vec4[]. There are 2 implementations - at glsl linker level (enabled > by LowerClipDistance option) and at g

[Mesa-dev] [PATCH] i965: Don't set brw_wm_prog_key::iz_lookup on Gen6+.

2012-06-16 Thread Kenneth Graunke
Sandy Bridge and later don't use this field, so there's no point in setting it. It can only cause harmful state-based recompiles. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_wm.c | 38 +++- 1 file changed, 20 insertions(+), 18 deletions(-)

[Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-16 Thread Marcin Slusarz
gl_ClipDistance needs special treatment in form of lowering pass which transforms gl_ClipDistance representation from float[] to vec4[]. There are 2 implementations - at glsl linker level (enabled by LowerClipDistance option) and at glsl_to_tgsi level (enabled unconditionally for gallium drivers).

Re: [Mesa-dev] [PATCH] r600g: fix z/stencil texture creation v2

2012-06-16 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Jun 15, 2012 at 11:40 PM, wrote: > From: Jerome Glisse > > z or stencil texture should not be created with the z/stencil > flags for surface creation as they are intended to be bound > as texture. > > v2: remove broken code > > Signed-off-by: Jerome Glis

[Mesa-dev] [PATCH 1/4] docs/relnotes: consolidate html header

2012-06-16 Thread Andreas Boll
--- docs/relnotes-6.4.1.html | 21 ++--- docs/relnotes-6.4.2.html | 21 ++--- docs/relnotes-6.4.html| 21 ++--- docs/relnotes-6.5.1.html | 21 ++--- docs/relnotes-6.5.2.html | 21 ++--- docs/relnotes-

[Mesa-dev] [PATCH 4/4] docs/relnotes: comment out bug template

2012-06-16 Thread Andreas Boll
--- docs/relnotes-7.10.html |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/docs/relnotes-7.10.html b/docs/relnotes-7.10.html index 2cd9983..199b165 100644 --- a/docs/relnotes-7.10.html +++ b/docs/relnotes-7.10.html @@ -126,9 +126,7 @@ bc644be551ed585fc4f66c16b64a91c9

[Mesa-dev] [PATCH 0/4] docs: more html cleanup

2012-06-16 Thread Andreas Boll
This patch series finishes the transition to HTML 4.01 Transitional. At this point all html files except index.html are 100 % HTML 4.01 Transitional valid. I verified all files with the w3c - html validator [1]. index.html has the HTML 4.01 Frameset doctype, but it contains some proprietary attr

[Mesa-dev] [PATCH] i965: Fix brw_swap_cmod() for LE/GE comparisons.

2012-06-16 Thread Kenneth Graunke
The idea here is to rewrite comparisons like 2 >= x with x <= 2; we want to simply exchange arguments, not negate the condition. If equality was part of the original comparison, it should remain part of the swapped version. This is the true cause of bug #50298. It didn't manifest itself on Sandy

[Mesa-dev] [PATCH 3/4] docs/relnotes: replace tbd with release date

2012-06-16 Thread Andreas Boll
--- docs/relnotes-7.10.1.html |2 +- docs/relnotes-7.8.1.html |2 +- docs/relnotes-7.8.2.html |2 +- docs/relnotes-7.9.2.html |2 +- docs/relnotes-8.0.html|2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/relnotes-7.10.1.html b/docs/relnotes-7.10

[Mesa-dev] [Bug 50604] [compile error] ../../../../../src/mesa/libdricore/../main/api_arrayelt.c:45:27: fatal error: main/dispatch.h: No such file or directory

2012-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50604 Sven Joachim changed: What|Removed |Added CC||svenj...@gmx.de -- Configure bugmail: ht