Re: [Mesa-dev] [PATCH 1/2] i965: Add the missing supportable EXT_texture_snorm formats

2011-04-02 Thread Kenneth Graunke
On 04/02/2011 07:18 PM, Ian Romanick wrote: From: Ian Romanick This class of hardware can natively sample all of the snorm surface formats that DX10 requires, but it can't do some of the legacy GL formats. In particular, all of the alpha, luminance, and intensity formats are unsupported. This

Re: [Mesa-dev] [PATCH 2/2] mesa: Add fall-back formats for unsupported snorm formats

2011-04-02 Thread Kenneth Graunke
On 04/02/2011 07:18 PM, Ian Romanick wrote: From: Ian Romanick This is always the way the real hardware and desktop OpenGL. Some Err...what? hardware can't do some formats natively. The alpha-only, luminance, and intensity formats are usually the most problematic. Some sized formats can a

Re: [Mesa-dev] [PATCH 2/2] prog_optimize: Add reads without writes optimization pass

2011-04-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/30/2011 09:34 PM, Tom Stellard wrote: > Ok, this makes sense. It would be pretty easy to modify my original patch > to do this, but maybe it's better change the way ir_to_mesa.cpp converts > conditional assignments to Mesa IR. Do you have any

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-04-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/31/2011 01:56 PM, Corbin Simpson wrote: > On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: >> From: Ian Romanick >> >> +# The git command below generates an empty string when we're not >> +# building in a GIT tree (i.e., building from a rel

[Mesa-dev] [PATCH 2/2] mesa: Add fall-back formats for unsupported snorm formats

2011-04-02 Thread Ian Romanick
From: Ian Romanick This is always the way the real hardware and desktop OpenGL. Some hardware can't do some formats natively. The alpha-only, luminance, and intensity formats are usually the most problematic. Some sized formats can also be problematic. This patch provides fall-back formats fo

[Mesa-dev] [PATCH 1/2] i965: Add the missing supportable EXT_texture_snorm formats

2011-04-02 Thread Ian Romanick
From: Ian Romanick This class of hardware can natively sample all of the snorm surface formats that DX10 requires, but it can't do some of the legacy GL formats. In particular, all of the alpha, luminance, and intensity formats are unsupported. This partially fixes the breakage in glean's pixel

[Mesa-dev] [PATCH 0/2] Fix EXT_texture_snorm issues with i965

2011-04-02 Thread Ian Romanick
Part of the patch series that added GL_EXT_texture_snorm support to Mesa seems to have broken some drivers. In particular, commit 0be36997 causes drivers that previously advertised GL_MESA_texture_signed_rgba magically start advertising GL_EXT_texture_snorm. However, these drivers don't magically

[Mesa-dev] [PATCH 3/3] st/mesa: Move fbo texture attachment finalization to validation.

2011-04-02 Thread Fabian Bieler
I think it's a bit nicer to do this during validation, but if anyone disagrees I won't object to dropping this patch. Fabian From cac5460d04e7028ed621e0fe822a7820915dfd3d Mon Sep 17 00:00:00 2001 From: Fabian Bieler Date: Sat, 2 Apr 2011 13:12:32 +0200 Subject: [PATCH 3/3] st/mesa: Move fbo textu

[Mesa-dev] [PATCH 2/3] st/mesa: Finalize fbo texture attachments

2011-04-02 Thread Fabian Bieler
From 24f7050dd447df52d3cbf53b4594a95f2ea637b6 Mon Sep 17 00:00:00 2001 From: Fabian Bieler Date: Sat, 2 Apr 2011 12:19:49 +0200 Subject: [PATCH 2/3] st/mesa: Finalize fbo texture attachments This patch tries to make sure that the texture image that should be attached to the fbo actually lives in

[Mesa-dev] [PATCH 1/3] mesa: Guard against null pointer deref in fbo validation

2011-04-02 Thread Fabian Bieler
From 3561688742016c82c6c146e448949112255b234c Mon Sep 17 00:00:00 2001 From: Fabian Bieler Date: Sat, 2 Apr 2011 13:52:34 +0200 Subject: [PATCH 1/3] mesa: Guard against null pointer deref in fbo validation This matches the behaviour below when numSamples is compared. At least with the gallium s