Re: [Mesa-dev] [PATCH] glsl parser: Select typelist as early as possible.

2012-04-20 Thread Olivier Galibert
Guys, it's a bugfix, it's five lines changed, and it's falling through the cracks... Can someone have a look? OG. On Wed, Apr 11, 2012 at 10:56:51AM +0200, Olivier Galibert wrote: > Type selection must be extended w.r.t version and extension lines as > soon as it is possible, and in any case b

Re: [Mesa-dev] [PATCH 00/21] Gallium: making user vertex buffers optional and other goodness

2012-04-20 Thread Michel Dänzer
On Fre, 2012-04-20 at 00:04 +0200, Marek Olšák wrote: > > 2) The radeonsi driver hasn't been adapted yet. I don't have LLVM 3.1 > at the moment, therefore I can't even compile the driver. I'll try to > take look at it this weekend unless someone else beats me to it. As you said you're using Ubun

[Mesa-dev] [Bug 48899] llvmpipe doesn't work with wine 1.5.2 and 3Dmark2001se

2012-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48899 José Fonseca changed: What|Removed |Added CC||jfons...@vmware.com --- Comment #3 from J

Re: [Mesa-dev] Mesa-8.0.2 libGL.so: undefined reference to `XGetXCBConnection'

2012-04-20 Thread jupiter . hce
On 2012-04-18 23:36+1000, jupiter@gmail.com wrote: I ran "make linux-dri-x86" and "make install", sorry, I thought I put the commands in response. As I said, I followed online document of Compiling and Installing. Unless I was missing something from the document, I guess there is no need to

Re: [Mesa-dev] [PATCH 4/4] glsl: Add implementation of inverse() for mat2/3/4.

2012-04-20 Thread Eric Anholt
On Thu, 19 Apr 2012 08:34:01 -0600, Brian Paul wrote: > On 04/18/2012 07:40 PM, Eric Anholt wrote: > > + float det = (+ m[0][0] * adj[0][0] > > + + m[0][1] * adj[1][0] > > + + m[0][2] * adj[2][0] > > + + m[0][3] * adj[3][0]); > > + > > + return adj / det; > > Wou

[Mesa-dev] [PATCH 0/2] Add support for GL_EXT_texture_rg for GLES2.

2012-04-20 Thread Gwenole Beauchesne
Hi, Those patches implement the optional GL_EXT_texture_rg extension for OpenGL ES 2.x on Intel GenX. Regards, Gwenole Beauchesne (2): mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x. intel: enable GL_EXT_texture_rg for OpenGL ES 2.x. include/GLES2/gl2ext.h

[Mesa-dev] [PATCH 1/2] mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x.

2012-04-20 Thread Gwenole Beauchesne
--- include/GLES2/gl2ext.h| 13 + src/mapi/glapi/gen/es_EXT.xml |8 src/mesa/main/APIspec.xml |1 + src/mesa/main/extensions.c|1 + 4 files changed, 23 insertions(+), 0 deletions(-) diff --git a/include/GLES2/gl2ext.h b/include/GLES2/gl2ext.h ind

[Mesa-dev] [PATCH 2/2] intel: enable GL_EXT_texture_rg for OpenGL ES 2.x.

2012-04-20 Thread Gwenole Beauchesne
--- src/mesa/drivers/dri/intel/intel_extensions_es.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions_es.c b/src/mesa/drivers/dri/intel/intel_extensions_es.c index 29eb8ea..d65913b 100644 --- a/src/mesa/drivers/dri/intel/intel_ex

[Mesa-dev] [PATCH v2 11/11] gallium/compute: Drop TGSI dependency.

2012-04-20 Thread Francisco Jerez
Add a shader cap for specifying the preferred shader representation. Right now the only supported value is TGSI, other enum values will be added as they are needed. This is mainly to accommodate AMD's LLVM compiler back-end by letting it bypass the TGSI representation for compute programs. Other

[Mesa-dev] [RFC] intel: cache regions + offset

2012-04-20 Thread Gwenole Beauchesne
Hi, This patch series makes it possible to cache regions + an offset. This is ugly but here is my use case: I have a single bo representing a YUV surface but I want to expose each plane as an EGLImage. i.e. for an NV12 surface, I would like to get two EGLImages, one for the Y component, and anothe

[Mesa-dev] [PATCH 1/3] intel: add and handle offset field in regions.

2012-04-20 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c |1 + src/mesa/drivers/dri/i965/gen7_wm_surface_state.c |1 + src/mesa/drivers/dri/intel/intel_regions.c|1 + src/mesa/drivers/dri/intel/intel_regions.h|1 + 4 files changed, 4

[Mesa-dev] [PATCH 2/3] intel: rework regions hash.

2012-04-20 Thread Gwenole Beauchesne
This is preparatory work for multiple region hashing from a single (name) key. In particular, this will be useful to lookup for a region offset by a certain amount of bytes. Signed-off-by: Gwenole Beauchesne --- src/mesa/drivers/dri/intel/intel_regions.c | 61 +-- src/m

[Mesa-dev] [PATCH 3/3] intel: allow region hash with offset specification.

2012-04-20 Thread Gwenole Beauchesne
Allow regions to be hashed by name + offset in bytes to the base bo. Signed-off-by: Gwenole Beauchesne --- src/mesa/drivers/dri/intel/intel_regions.c | 105 ++-- 1 files changed, 99 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_regions.c b

Re: [Mesa-dev] [PATCH 2/2] r600g: disable I2F conversion for InstanceID if integers are supported

2012-04-20 Thread Dave Airlie
> Signed-off-by: Vadim Girlin Hi Vadim, did you want this committed? Dave. > --- >  src/gallium/drivers/r600/r600_shader.c |   27 --- >  1 files changed, 16 insertions(+), 11 deletions(-) > > diff --git a/src/gallium/drivers/r600/r600_shader.c > b/src/gallium/drivers/r6

Re: [Mesa-dev] [PATCH v2 11/11] gallium/compute: Drop TGSI dependency.

2012-04-20 Thread Tom Stellard
On Fri, Apr 20, 2012 at 06:04:51PM +0200, Francisco Jerez wrote: > Add a shader cap for specifying the preferred shader representation. > Right now the only supported value is TGSI, other enum values will be > added as they are needed. > > This is mainly to accommodate AMD's LLVM compiler back-end

Re: [Mesa-dev] [PATCH 1/2] mesa: add GL_EXT_texture_rg extension for OpenGL ES 2.x.

2012-04-20 Thread Brian Paul
On 04/20/2012 09:59 AM, Gwenole Beauchesne wrote: --- include/GLES2/gl2ext.h| 13 + src/mapi/glapi/gen/es_EXT.xml |8 src/mesa/main/APIspec.xml |1 + src/mesa/main/extensions.c|1 + 4 files changed, 23 insertions(+), 0 deletions(-) diff --

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #19 from Orion Poplawski 2012-04-20 10:00:00 PDT --- Created attachment 60400 --> https://bugs.freedesktop.org/attachment.cgi?id=60400 firefox backtrace from _mesa_problem #0 _mesa_problem (ctx=0xa4d49000, fmtString=0x1f85368

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #20 from Brian Paul 2012-04-20 10:12:28 UTC --- On your 865G system, glx is saying that GL_ARB_depth_texture is not supported. That's why we're failing in _mesa_choose_tex_format(). Evidently, the driver doesn't support depth textu

[Mesa-dev] [Bug 47872] Fireforx crashes when opening https://fragdenstaat.de/ on Arch

2012-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47872 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-04-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 Brian Paul changed: What|Removed |Added CC||mich...@schoenitzer.de --- Comment #21 from

Re: [Mesa-dev] [PATCH 2/2] r600g: disable I2F conversion for InstanceID if integers are supported

2012-04-20 Thread Vadim Girlin
On Fri, 2012-04-20 at 17:40 +0100, Dave Airlie wrote: > > Signed-off-by: Vadim Girlin > > Hi Vadim, did you want this committed? Yes, I almost forgot about these patches. AFAICS they are already in master, thanks! Vadim > > Dave. > > > --- > > src/gallium/drivers/r600/r600_shader.c | 27

[Mesa-dev] [PATCH] st/mesa: no-op glCopyPixels if source region is out of bounds

2012-04-20 Thread Brian Paul
If the source region for a glCopyPixels is completely outside the source buffer bounds, no-op the copy. Fixes a failed assertion. NOTE: This is a candidate for the 8.0 branch. --- src/mesa/state_tracker/st_cb_drawpixels.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff

[Mesa-dev] [PATCH] bin/mklib: remove '-m32' for arm linux

2012-04-20 Thread 沈涵
Hi I am working on chromium, and while I was compiling mesa-8.0 for arm linux, I found '-m32' gets added to the mklib OPTS, which is not a valid option for arm gcc compiler. I attached a simple patch for this, could some one take a look at this? Do not add '-m32' to arm compiler options. diff -ru