[Mesa-dev] [Bug 47248] autogen missing dependency on flex and bison, causes infinite loop in glsl build

2012-03-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47248 --- Comment #3 from Kenneth Graunke 2012-03-24 18:33:03 PDT --- It -shouldn't- be possible...the GLSL compiler makes use of Bison-specific features... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are r

[Mesa-dev] [Bug 47824] New: osmesa using --enable-shared-glapi depends on libgl

2012-03-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47824 Bug #: 47824 Summary: osmesa using --enable-shared-glapi depends on libgl Classification: Unclassified Product: Mesa Version: 8.0 Platform: All OS/Version: All Status:

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: invert interlaced buffer checks

2012-03-24 Thread Andy Furniss
Christian König wrote: That wasn't working as supposed. What is the status of the recent interlaced commits? AFAICT not enabled yet - I did have a look by doing diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index 113dad6..99ef20f 100644 --- a/src/g

Re: [Mesa-dev] [PATCH] glapi: ARB_blend_func_extended support.

2012-03-24 Thread Dave Airlie
On Sat, Mar 24, 2012 at 6:13 PM, Dave Airlie wrote: > From: Dave Airlie > > attempt 2 : drop the regen files > This adds the xml file covering ARB_blend_func_extended. > > A regen is required after commit. > > Signed-off-by: Dave Airlie > --- >  src/mapi/glapi/gen/ARB_blend_func_extended.xml |  

Re: [Mesa-dev] ARB_blend_func_extended status + glapi

2012-03-24 Thread Dave Airlie
> > so I have this extension implemented on softpipe + r600g and it seems > to be working with a basic piglit test, there is also some piglit api > tests already. > > I'll clean it up and write some more tests I expect over the next while > however rebasing the glapi chunk is getting to be a pita,

[Mesa-dev] [PATCH] glapi: ARB_blend_func_extended support.

2012-03-24 Thread Dave Airlie
From: Dave Airlie attempt 2 : drop the regen files This adds the xml file covering ARB_blend_func_extended. A regen is required after commit. Signed-off-by: Dave Airlie --- src/mapi/glapi/gen/ARB_blend_func_extended.xml | 32 + src/mapi/glapi/gen/gl_API.xml |1 + diff -

[Mesa-dev] ARB_blend_func_extended status + glapi

2012-03-24 Thread Dave Airlie
Hi, so I have this extension implemented on softpipe + r600g and it seems to be working with a basic piglit test, there is also some piglit api tests already. I'll clean it up and write some more tests I expect over the next while however rebasing the glapi chunk is getting to be a pita, can some

[Mesa-dev] [PATCH v2 12/12] gallium/gbm: Switch to the winsys loader.

2012-03-24 Thread Francisco Jerez
--- configure.ac |1 + src/gallium/state_trackers/gbm/gbm_drm.c |5 +- .../state_trackers/gbm/gbm_gallium_drmint.h|3 + src/gallium/targets/gbm/Makefile | 170 ++--- src/gallium/targets/gbm/gbm.c

[Mesa-dev] [PATCH v2 11/12] gallium/tests/trivial: Switch to the winsys loader.

2012-03-24 Thread Francisco Jerez
It simplifies things slightly, and besides, it makes possible to execute the trivial tests on a hardware device instead of being limited to software rendering. --- configure.ac | 11 +++ src/gallium/tests/trivial/Makefile | 25 +++-- src/ga

[Mesa-dev] [PATCH v2 10/12] gallium: Add "pipe-loader" target.

2012-03-24 Thread Francisco Jerez
This target generates pipe driver modules intended to be consumed by the winsys loader. Most of it was taken from the "gbm" target -- the duplicated code will be replaced with references to this target in a future commit. --- src/gallium/targets/pipe-loader/Makefile | 165 +

[Mesa-dev] [PATCH v2 09/12] gallium: Add winsys loader for device enumeration and driver multiplexing.

2012-03-24 Thread Francisco Jerez
The goal is to have a uniform interface to create winsys and pipe_screen instances for any driver, exposing the device enumeration capabilities that might be supported by the operating system (for now there's a "drm" back-end using udev and a "sw" back-end that always returns the same built-in devi

[Mesa-dev] [PATCH v2 08/12] gallium/tgsi/text: Replace open-coded integer parsing with parse_int().

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/tgsi/tgsi_text.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index a63e8d7..3fd764f 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/s

[Mesa-dev] [PATCH v2 07/12] gallium/tgsi/text: Parse immediates of non-float data types.

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/tgsi/tgsi_text.c | 66 +++- 1 file changed, 48 insertions(+), 18 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 51943ed..a63e8d7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_t

[Mesa-dev] [PATCH v2 06/12] gallium/tgsi: Fix tgsi_build_full_immediate() for non-float data types.

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/tgsi/tgsi_build.c | 30 -- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index a607f9f..841618a 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_b

[Mesa-dev] [PATCH v2 05/12] gallium/tgsi: Add new 'has_label' opcode info flag, and fix tgsi_text.c to use it.

2012-03-24 Thread Francisco Jerez
The 'is_branch' TGSI opcode info flag was being interpreted incorrectly by tgsi_text.c as if it implied that the opcode requires a label token -- that's not the case on e.g. IF, BGNLOOP or ENDLOOP. Add a new opcode info field that marks an opcode as requiring a TGSI label token, and replace the in

[Mesa-dev] [PATCH v2 04/12] st/mesa: Use local temporary registers.

2012-03-24 Thread Francisco Jerez
Local makes more sense in most places because non-inline function calls are unimplemented anyway. --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_gl

[Mesa-dev] [PATCH v2 03/12] gallium/tgsi/ureg: Support local temporary emission.

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 54 src/gallium/auxiliary/tgsi/tgsi_ureg.h |3 ++ 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 082fec3..6e01

[Mesa-dev] [PATCH v2 02/12] gallium/tgsi/ureg: Lift the restriction on releasing temporaries over UREG_MAX_TEMP.

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 43 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 75be6cf..082fec3 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_u

[Mesa-dev] [PATCH v2 01/12] gallium/util: Define util_strchrnul.

2012-03-24 Thread Francisco Jerez
--- src/gallium/auxiliary/util/u_string.h | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/util/u_string.h b/src/gallium/auxiliary/util/u_string.h index cc7992d..ed15981 100644 --- a/src/gallium/auxiliary/util/u_string.h +++ b/s

[Mesa-dev] [PATCH v2 00/12] gallium: Misc. changes from gallium-compute.

2012-03-24 Thread Francisco Jerez
Jakob Bornecrantz writes: > - Original Message - >> Jakob Bornecrantz writes: >> >> >> +libws_loader_la_LIBADD = \ >> >> + $(top_srcdir)/src/gallium/winsys/sw/null/libws_null.la >> >> + >> >> +if HAVE_XLIB_LOADER_GALLIUM >> >> +libws_loader_la_LIBADD += \ >> >> + $(top_srcdir)/src/galli

[Mesa-dev] [PATCH 2/2] st/vdpau: clear video surface at least once

2012-03-24 Thread Christian König
So if anything goes wrong we won't display a random image. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/decode.c|1 + src/gallium/state_trackers/vdpau/surface.c | 28 ++ src/gallium/state_trackers/vdpau/vdpau_private.h |1 + 3 fi

[Mesa-dev] [PATCH 1/2] st/vdpau: invert interlaced buffer checks

2012-03-24 Thread Christian König
That wasn't working as supposed. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/decode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index 0802f28..6ffd176 10

[Mesa-dev] [PATCH 2/2] gles: Enable the GL_EXT_read_format_bgra extension

2012-03-24 Thread Benjamin Franzke
Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB fb. --- src/mesa/main/APIspec.xml |2 ++ src/mesa/main/extensions.c |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/APIspec

[Mesa-dev] [PATCH 1/2] gles1: Enable GL_EXT_texture_format_BGRA8888 in APIspec

2012-03-24 Thread Benjamin Franzke
The extension is already exposed for GLES1, but the APIspec doesnt allow the usage of GL_BGRA_EXT in glTex(Sub)Image2D. --- src/mesa/main/APIspec.xml |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index eeae599..437b96