Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 04:18 AM, Dave Airlie wrote: I don't suppose anyone could contribute a comment on why somethings check ctx-VertexProgram._Current, and others check ctx-VertexProgram._Enabled The former may point to a GLSL shader/program, a GL_NV/ARB_vertex_program program or a shader derived

Re: [Mesa-dev] Error building on Windows with SCons

2011-06-22 Thread Jose Fonseca
- Original Message - Jose, I don't understand your reply, - Is there some way to add the def file or some way to generate them? - Is building with scons on MingW with windows something that is supposed to work? - Is this issue going to be fixed or is this configuration unsupported?

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 08:20 AM, Roland Scheidegger wrote: Am 22.06.2011 16:11, schrieb Brian Paul: On 06/22/2011 04:18 AM, Dave Airlie wrote: I don't suppose anyone could contribute a comment on why somethings check ctx-VertexProgram._Current, and others check ctx-VertexProgram._Enabled The former

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2011 07:11 AM, Brian Paul wrote: On 06/22/2011 04:18 AM, Dave Airlie wrote: I don't suppose anyone could contribute a comment on why somethings check ctx-VertexProgram._Current, and others check ctx-VertexProgram._Enabled The former

Re: [Mesa-dev] [PATCH 3/4] i965: Don't bother telling swrast_setup about state updates until fallback.

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/2011 06:34 PM, Eric Anholt wrote: --- src/mesa/drivers/dri/i915/i830_vtbl.c |2 ++ src/mesa/drivers/dri/i915/i915_vtbl.c |2 ++ src/mesa/drivers/dri/intel/intel_context.c |1 - 3 files changed, 4 insertions(+), 1

[Mesa-dev] [PATCH] glsl: Fix depth unbalancing problem in if-statement flattening

2011-06-22 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com Previously, if max_depth were 1, the following code would see the first if-statement (correctly) not get flattened, but the second if-statement would (incorrectly) get flattened: void main() { if (a) gl_Position = vec4(0); if (b)

[Mesa-dev] [PATCH] configure.ac: Make --without-gallium-drivers work as expected

2011-06-22 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com --- configure.ac |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index c9dd8a7..76736c0 100644 --- a/configure.ac +++ b/configure.ac @@ -562,6 +562,12 @@ AC_ARG_WITH([gallium-drivers],

Re: [Mesa-dev] [PATCH 3/4] i965: Don't bother telling swrast_setup about state updates until fallback.

2011-06-22 Thread Eric Anholt
On Wed, 22 Jun 2011 10:59:37 -0700, Ian Romanick i...@freedesktop.org wrote: diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 8b95444..70aee52 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++

Re: [Mesa-dev] [PATCH 3/4] i965: Don't bother telling swrast_setup about state updates until fallback.

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2011 11:53 AM, Eric Anholt wrote: On Wed, 22 Jun 2011 10:59:37 -0700, Ian Romanick i...@freedesktop.org wrote: diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 8b95444..70aee52

Re: [Mesa-dev] [PATCH] configure.ac: Make --without-gallium-drivers work as expected

2011-06-22 Thread Dan Nicholson
On Wed, Jun 22, 2011 at 11:38 AM, Ian Romanick i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com ---  configure.ac |    6 ++  1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index c9dd8a7..76736c0 100644 ---

Re: [Mesa-dev] [PATCH] configure.ac: Make --without-gallium-drivers work as expected

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/22/2011 12:55 PM, Dan Nicholson wrote: On Wed, Jun 22, 2011 at 11:38 AM, Ian Romanick i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com --- configure.ac |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Dave Airlie
By the looks of it the 0/POS attrib + the overlapping/16-31 ones check _Current and the others all check _Enabled, to me it would make some sense at least if 0 was consistent with the others, but maybe someone knows what is correct. The confusion probably goes all the way back to the ARB's

Re: [Mesa-dev] explaining update_arrays

2011-06-22 Thread Brian Paul
On 06/22/2011 02:36 PM, Dave Airlie wrote: By the looks of it the 0/POS attrib + the overlapping/16-31 ones check _Current and the others all check _Enabled, to me it would make some sense at least if 0 was consistent with the others, but maybe someone knows what is correct. The confusion

Re: [Mesa-dev] multiple versions in version string

2011-06-22 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/2011 10:58 AM, tom fogal wrote: Michel Dänzer mic...@daenzer.net writes: On Die, 2011-06-21 at 10:34 -0600, tom fogal wrote:=20 On 06/21/2011 10:23 AM, Michel D=C3=A4nzer wrote: On Die, 2011-06-21 at 10:10 -0600, tom fogal wrote: On

Re: [Mesa-dev] Error building on Windows with SCons

2011-06-22 Thread Campbell Barton
Thanks Jose, Mesa builds without trouble for me on Linux and windows (in a VM), Would be good if this was mentioned in windows build instructions, or mesa files updated to be a full GIT export, nevertheless its great to have this working. On Wed, Jun 22, 2011 at 2:15 PM, Jose Fonseca

Re: [Mesa-dev] [PATCH 0/8] GBM Graphics Buffer Manager

2011-06-22 Thread Chia-I Wu
On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke benjaminfran...@googlemail.com wrote: Hi List, This series adds a graphics buffer management library which is targeted to be used as native (drm) platform for egl on kms or openwfd, and thus replaces the current mechanism of using a fd as

Re: [Mesa-dev] [PATCH] linker: Reject shaders that use too many varyings

2011-06-22 Thread Alex Deucher
On Wed, Jun 22, 2011 at 10:12 PM, Roland Scheidegger srol...@vmware.com wrote: Am 21.06.2011 20:59, schrieb Sven Arvidsson: This change broke a whole lot of stuff on r600g, for example Unigine Heaven:       shader uses too many varying components (36 32) It looks like the r600g driver

Re: [Mesa-dev] Status of the GLSL-TGSI translator

2011-06-22 Thread Bryan Cain
On 06/16/2011 12:43 PM, Brian Paul wrote: On 06/16/2011 10:34 AM, Bryan Cain wrote: On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul bri...@vmware.com mailto:bri...@vmware.com wrote: Looks like nice work, Bryan. Just a few minor questions/comments for now: 1. The

[Mesa-dev] [PATCH] gallium/test/trivial: make it build

2011-06-22 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- src/gallium/tests/trivial/Makefile |9 +++-- src/gallium/tests/trivial/quad-tex.c |4 ++-- src/gallium/tests/trivial/tri.c |4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git