[Mesa-dev] [PATCH] intel: Give an explanation why we are exiting for debugging.

2011-09-04 Thread Eugeni Dodonov
This could happen in 3 different cases, and ERRNO can explain what happened. First case would be EIO (gpu hang), second EINVAL (something is wrong inside the batch), and we also discovered that sometimes it happens with ENOSPACE. All of those cases are different it it could be worth to at least kno

Re: [Mesa-dev] GLSL builtins constant constructor

2011-09-04 Thread Paul Berry
On 4 September 2011 14:49, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 09/04/2011 08:35 AM, Paul Berry wrote: > > On 4 September 2011 06:20, Christoph Bumiller > > mailto:e0425...@student.tuwien.ac.at>> > > wrote: > > > > I encountered some failures in piglit'

Re: [Mesa-dev] [PATCH 11/11] docs: skeleton file for 7.12 release notes

2011-09-04 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/04/2011 11:36 AM, Mike Lothian wrote: > On 31 August 2011 21:22, Ian Romanick wrote: >> From: Ian Romanick > >> + >> +Mesa 7.12 implements the OpenGL 2.1 API, but the version reported by >> +glGetString(GL_VERSION) depends on the particular dr

Re: [Mesa-dev] GLSL builtins constant constructor

2011-09-04 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/04/2011 08:35 AM, Paul Berry wrote: > On 4 September 2011 06:20, Christoph Bumiller > mailto:e0425...@student.tuwien.ac.at>> > wrote: > > I encountered some failures in piglit's tests of builtins because a > vector constructor that is gi

Re: [Mesa-dev] [PATCH 11/11] docs: skeleton file for 7.12 release notes

2011-09-04 Thread Marek Olšák
On Sun, Sep 4, 2011 at 8:40 PM, Dave Airlie wrote: > On Sun, Sep 4, 2011 at 7:36 PM, Mike Lothian wrote: >> On 31 August 2011 21:22, Ian Romanick wrote: >>> From: Ian Romanick >> >>> + >>> +Mesa 7.12 implements the OpenGL 2.1 API, but the version reported by >>> +glGetString(GL_VERSION) depends

Re: [Mesa-dev] [PATCH 11/11] docs: skeleton file for 7.12 release notes

2011-09-04 Thread Dave Airlie
On Sun, Sep 4, 2011 at 7:36 PM, Mike Lothian wrote: > On 31 August 2011 21:22, Ian Romanick wrote: >> From: Ian Romanick > >> + >> +Mesa 7.12 implements the OpenGL 2.1 API, but the version reported by >> +glGetString(GL_VERSION) depends on the particular driver being used. >> +Some drivers don't

Re: [Mesa-dev] [PATCH 11/11] docs: skeleton file for 7.12 release notes

2011-09-04 Thread Mike Lothian
On 31 August 2011 21:22, Ian Romanick wrote: > From: Ian Romanick > + > +Mesa 7.12 implements the OpenGL 2.1 API, but the version reported by > +glGetString(GL_VERSION) depends on the particular driver being used. > +Some drivers don't support all the features required in OpenGL 2.1. > + Are th

Re: [Mesa-dev] GLSL builtins constant constructor

2011-09-04 Thread Paul Berry
On 4 September 2011 06:20, Christoph Bumiller wrote: > I encountered some failures in piglit's tests of builtins because a > vector constructor that is given only 1 single argument does not > replicate the argument into the yzw components, for example: > > diff --git a/src/glsl/builtins/ir/cosh b

[Mesa-dev] [PATCH] mesa/st: add support for 2101010 vertex format conversion.

2011-09-04 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_draw.c | 35 +++- src/mesa/state_tracker/st_extensions.c | 27 2 files changed, 61 insertions(+), 1 deletions(-) diff --git a/src/mesa/state_tracker/st_draw

[Mesa-dev] [PATCH 1/4] glapi: add ARB_vertex_type_2_10_10_10_rev entrypoints.

2011-09-04 Thread Dave Airlie
From: Dave Airlie These are the new API entrypoints for ARB_vertex_type_2_10_10_10_rev extension, along with the new INT_2_10_10_10_REV enum. Signed-off-by: Dave Airlie --- .../glapi/gen/ARB_vertex_type_2_10_10_10_rev.xml | 222 src/mapi/glapi/gen/Makefile

[Mesa-dev] [PATCH 3/4] mesa/vbo: add ARB_vertex_type_2_10_10_10_rev APIs.

2011-09-04 Thread Dave Airlie
From: Dave Airlie This adds the vertex processing paths for the 2101010 types. It converts the attributes to floats for all the immediate entry points, some entrypoints are normalised and the attrib APIs take a normalized parameter. There are four main paths, ui10 -> float unnormalized i10 -> fl

[Mesa-dev] [PATCH 4/4] mesa/varray: add interface support for ARB_vertex_type_2_10_10_10_rev

2011-09-04 Thread Dave Airlie
From: Dave Airlie This just adds all the API check for vertex arrays using 2101010 types. 2101010 is also useable with GL_BGRA. Signed-off-by: Dave Airlie --- src/mesa/main/varray.c | 48 +++- 1 files changed, 39 insertions(+), 9 deletions(-) dif

[Mesa-dev] [PATCH 2/4] mesa: add initial API changes for ARB_vertex_type_2_10_10_10_rev.

2011-09-04 Thread Dave Airlie
From: Dave Airlie add new APIs to the internal mesa driver interface + set funcs in vtxfmt.c Signed-off-by: Dave Airlie --- src/mesa/main/dd.h | 64 src/mesa/main/vtxfmt.c | 47 +++ 2 files changed, 111 in

[Mesa-dev] ARB_vertex_type_2_10_10_10_rev support

2011-09-04 Thread Dave Airlie
These 4 patches are the initial core mesa support for the extensions with the long name. After these patches we need to regenerate the gl api. This series adds all the APIs and device driver interface changes, I've only really tested it all on softpipe so far, with some r600g testing. I have the

[Mesa-dev] [PATCH] gallium: add missing formats for ARB_vertex_type_2_10_10_10_rev

2011-09-04 Thread Dave Airlie
From: Dave Airlie This just reorgs one define in csv file, and adds all the new formats that are needed for this extension. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/util/u_format.csv |9 - src/gallium/include/pipe/p_format.h |7 +++ 2 files changed, 15 inser

[Mesa-dev] GLSL builtins constant constructor

2011-09-04 Thread Christoph Bumiller
I encountered some failures in piglit's tests of builtins because a vector constructor that is given only 1 single argument does not replicate the argument into the yzw components, for example: diff --git a/src/glsl/builtins/ir/cosh b/src/glsl/builtins/ir/cosh index 45e0ae4..8bf3ad2 100644 --- a/s

[Mesa-dev] [PATCH] gallivm: Fix includes for newer llvm (llvm SVN commit 138450).

2011-09-04 Thread Johannes Obermayr
--- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index e252607..0adf51a 100644 --- a/src/gallium/auxiliary/gallivm/lp

Re: [Mesa-dev] [PATCH] xvmc: Replace frame_started by picture_structure

2011-09-04 Thread Christian König
Am Samstag, den 03.09.2011, 18:07 +0200 schrieb Maarten Lankhorst: > You're right, that check is messed up, the ( should be moved up a line. > Thanks for catching that. :) I fixed the check and pushed it upstream. Thanks, Christian. ___ mesa-dev mailin

[Mesa-dev] [PATCHv2 4/4] egl_dri2: add support for RGBA_8888 android native buffer

2011-09-04 Thread Chia-I Wu
From: Chia-I Wu HAL_PIXEL_FORMAT_RGBA_ maps to __DRI_IMAGE_FORMAT_ABGR. --- src/egl/drivers/dri2/platform_android.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index a0e4c65..

[Mesa-dev] [PATCHv2 3/4] st/dri: add support for __DRI_IMAGE_FORMAT_ABGR8888

2011-09-04 Thread Chia-I Wu
From: Chia-I Wu It maps to PIPE_FORMAT_R8G8B8A8_UNORM. --- src/gallium/state_trackers/dri/drm/dri2.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 6cf2375..2b6919d 100644

[Mesa-dev] [PATCHv2 2/4] intel: add support for __DRI_IMAGE_FORMAT_ABGR8888

2011-09-04 Thread Chia-I Wu
From: Chia-I Wu It maps to MESA_FORMAT_RGBA_REV. Surfaces of the format can only be sampled from but not render to. Only i915 is tested. Reviewed-by: Eric Anholt [olv: add a check in intel_image_target_renderbuffer_storage] --- src/mesa/drivers/dri/i915/i915_texstate.c|2 ++

[Mesa-dev] [PATCHv2 1/4] dri2: add __DRI_IMAGE_FORMAT_ABGR8888 to __DRI_IMAGE

2011-09-04 Thread Chia-I Wu
From: Chia-I Wu Add a new format token, __DRI_IMAGE_FORMAT_ABGR, to __DRI_IMAGE. It maps to MESA_FORMAT_RGBA_REV in core mesa or PIPE_FORMAT_R8G8B8A8_UNORM in gallium. The format is used by translucent surfaces on Android. --- include/GL/internal/dri_interface.h |1 + 1 files chang

[Mesa-dev] [PATCHv2 0/4] intel: support translucent surfaces on Android

2011-09-04 Thread Chia-I Wu
This was a part of a bigger series posted here http://lists.freedesktop.org/archives/mesa-dev/2011-August/011450.html Changes since v1 - rename __DRI_IMAGE_FORMAT_RGBA_REV to __DRI_IMAGE_FORMAT_ABGR - add a check in intel_image_target_renderbuffer_storage