Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2011 05:22 AM, Eric Anholt wrote: One of the pain points of working on compiler optimizations has been justifying them -- sometimes I come up with something I think is useful and spend a day or two on it, but the value doesn't show up as

Re: [Mesa-dev] [PATCH 2/3] mesa: Include shader target in dumps of GLSL source.

2011-05-18 Thread Kenneth Graunke
On 05/17/2011 08:22 PM, Eric Anholt wrote: This makes automatic parsing of MESA_GLSL=dump output easier. --- src/mesa/program/ir_to_mesa.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) This makes human parsing of MESA_GLSL=dump easier, too. Reviewed-by: Kenneth Graunke

[Mesa-dev] [PATCH] mesa/st: split updating vertex and fragment shader stages.

2011-05-18 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com (I've already pushed this by accident, if its bad I can revert it). this seems like a logical thing to do and sets the correct st flags for vertex textures. Signed-off-by: Dave Airlie airl...@redhat.com --- src/mesa/state_tracker/st_atom.c |1 +

[Mesa-dev] [Bug 36651] mesa requires bison and flex to build but configure does not check for them

2011-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36651 Brian Paul brian.e.p...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH] Anisotropic filtering extension for swrast

2011-05-18 Thread Brian Paul
On 05/17/2011 05:08 AM, Andreas Faenger wrote: Hi, this patch makes it possible to have high quality texture filtering with the pure software renderer. The main purpose is to use it with osmesa. The anisotropic filtering is based on Elliptical Weighted Avarage (EWA). The patch was designed to

Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Jerome Glisse
On Tue, May 17, 2011 at 11:22 PM, Eric Anholt e...@anholt.net wrote: One of the pain points of working on compiler optimizations has been justifying them -- sometimes I come up with something I think is useful and spend a day or two on it, but the value doesn't show up as fps in the

[Mesa-dev] [Bug 36651] mesa requires bison and flex to build but configure does not check for them

2011-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36651 --- Comment #6 from Michal Suchanek hramr...@gmail.com 2011-05-18 08:51:04 PDT --- AFAIK this is only a part of the solution. The patch makes configure check for flex but does not make it fail when flex is not found. -- Configure bugmail:

[Mesa-dev] [Bug 36651] mesa requires bison and flex to build but configure does not check for them

2011-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36651 --- Comment #7 from Brian Paul brian.e.p...@gmail.com 2011-05-18 09:03:30 PDT --- Are you sure you're looking at the updated patch? See: +AC_PATH_PROG([FLEX], [flex]) +test x$FLEX = x AC_MSG_ERROR([flex is needed to build Mesa]) +

[Mesa-dev] [Bug 36651] mesa requires bison and flex to build but configure does not check for them

2011-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36651 Michal Suchanek hramr...@gmail.com changed: What|Removed |Added Status|RESOLVED|VERIFIED ---

Re: [Mesa-dev] [PATCH] Anisotropic filtering extension for swrast

2011-05-18 Thread Maxim Levitsky
On Wed, 2011-05-18 at 08:06 -0600, Brian Paul wrote: On 05/17/2011 05:08 AM, Andreas Faenger wrote: Hi, this patch makes it possible to have high quality texture filtering with the pure software renderer. The main purpose is to use it with osmesa. The anisotropic filtering is based on

[Mesa-dev] [PATCH v2] nv50: add support for user clip planes.

2011-05-18 Thread Maxim Levitsky
Clip distance is calculated each time vertex position is written which is suboptiomal is some cases but very safe. User clip planes are an obsolete feature anyway. Every time number of clip planes increases, the vertex program is recompiled. That ensures no overhead in normal case (no user clip

[Mesa-dev] [PATCH] egl: Link wayland-drm.a into libEGL after egl_dri2

2011-05-18 Thread Thierry Reding
Fixes the following build error in wayland-demos: CCLD wayland-compositor /usr/lib/libEGL.so: undefined reference to `wayland_drm_buffer_get_buffer' /usr/lib/libEGL.so: undefined reference to `wayland_drm_uninit' /usr/lib/libEGL.so: undefined reference to

Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Eric Anholt
On Wed, 18 May 2011 09:00:09 +0200, Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2011 05:22 AM, Eric Anholt wrote: One of the pain points of working on compiler optimizations has been justifying them -- sometimes I come up with something

Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Eric Anholt
On Wed, 18 May 2011 11:05:39 -0400, Jerome Glisse j.gli...@gmail.com wrote: On Tue, May 17, 2011 at 11:22 PM, Eric Anholt e...@anholt.net wrote: One of the pain points of working on compiler optimizations has been justifying them -- sometimes I come up with something I think is useful and

Re: [Mesa-dev] Status of VDPAU and XvMC state-trackers (was Re: Build error on current xvmc-r600 pipe-video)

2011-05-18 Thread Christian König
Am Montag, den 16.05.2011, 19:54 +0100 schrieb Andy Furniss: I noticed another strange thing with pipe-video on my rv670. Until recently there was a bug that made the mesa demo lodbias misrender. It's fixed now in master and pipe-video, but if I use pipe-video + vdpau decode (xvmc

Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Jerome Glisse
On Wed, May 18, 2011 at 3:16 PM, Eric Anholt e...@anholt.net wrote: On Wed, 18 May 2011 11:05:39 -0400, Jerome Glisse j.gli...@gmail.com wrote: On Tue, May 17, 2011 at 11:22 PM, Eric Anholt e...@anholt.net wrote: One of the pain points of working on compiler optimizations has been justifying

[Mesa-dev] [PATCH] mesa: fix vertex array enable checking in check_valid_to_render()

2011-05-18 Thread Brian Paul
In particular, this fixes the case where a vertex shader only uses generic vertex attributes (non-0th). Before, we were no-op'ing the glDrawArrays/Elements(). This fixes the new piglit pos-array test. NOTE: This is a candidate for the 7.10 branch. --- src/mesa/main/api_validate.c | 34

[Mesa-dev] wayland installed on meego

2011-05-18 Thread 李海梅
hi, everyone. I meet a problem. I install wayland on meego. when running compositor, i meet a warning as follows: mesa warning:dri2 failed to create dri screen My card is i915 Anybody who meet this problem?I guess this problem is related to the setting of mesa . So hope to get some reply in

[Mesa-dev] wayland works on meego

2011-05-18 Thread 李海梅
hi, everyone. I meet a problem. I install wayland on meego. when running compositor, i meet a warning as follows: mesa warning:dri2 failed to create dri screen My card is i915. Anybody who meet this problem?I guess this problem is related to the setting of mesa or there must be some important

Re: [Mesa-dev] shader-db, and justifying an i965 compiler optimization.

2011-05-18 Thread Tom Stellard
On Wed, May 18, 2011 at 12:23:40PM -0700, Eric Anholt wrote: On Wed, 18 May 2011 09:00:09 +0200, Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2011 05:22 AM, Eric Anholt wrote: One of the pain points of working on compiler