[Mesa-dev] [PATCH 1/3] mesa: Add utility function to get base format from a GL compressed format

2011-07-23 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com --- src/mesa/main/texcompress.c | 63 +++ src/mesa/main/texcompress.h |3 ++ 2 files changed, 66 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index

[Mesa-dev] [PATCH 2/3] mesa: Return the correct internal fmt when a generic compressed fmt was used

2011-07-23 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com If an application requests a generic compressed format for a texture and the driver does not pick a specific compressed format, return the generic base format (e.g., GL_RGBA) for the GL_TEXTURE_INTERNAL_FORMAT query. Bugzilla:

[Mesa-dev] [PATCH 3/3] mesa: Make _mesa_get_compressed_formats match the texture compression specs

2011-07-23 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com The implementation deviated slightly from the GL_EXT_texture_sRGB spec and from other implementations. A giant comment block was added to justify the somewhat odd behavior of this function. In addition, the interface had unnecessary cruft. The 'all'

[Mesa-dev] [Bug 39490] New: 7.11.RC2 configure doesn't let me disable gallium-llvm

2011-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39490 Summary: 7.11.RC2 configure doesn't let me disable gallium-llvm Product: Mesa Version: git Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal

Re: [Mesa-dev] [PATCH 3/3] mesa: Make _mesa_get_compressed_formats match the texture compression specs

2011-07-23 Thread Henri Verbeet
On 23 July 2011 10:58, Ian Romanick i...@freedesktop.org wrote: + * explose the 3dc formats through this mechanism. Typo. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] configure.ac: do not check for llvm-config if llvm is disabled

2011-07-23 Thread Marek Olšák
NOTE: This is a candidate for the 7.11 branch. --- configure.ac |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 86ba87b..9e9b430 100644 --- a/configure.ac +++ b/configure.ac @@ -1699,9 +1699,6 @@ dnl Gallium configuration dnl if

[Mesa-dev] [Bug 39490] 7.11.RC2 configure doesn't let me disable gallium-llvm

2011-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39490 --- Comment #1 from Marek Olšák mar...@gmail.com 2011-07-23 07:06:29 PDT --- Patch: http://lists.freedesktop.org/archives/mesa-dev/2011-July/009799.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa-dev] [Bug 39490] 7.11.RC2 configure doesn't let me disable gallium-llvm

2011-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39490 --- Comment #2 from Marek Olšák mar...@gmail.com 2011-07-23 07:08:07 PDT --- BTW llvm is really disabled. Even if it looks for llvm-config, it doesn't actually use it for anything. -- Configure bugmail:

Re: [Mesa-dev] [PATCH 1/3] mesa: Add utility function to get base format from a GL compressed format

2011-07-23 Thread Brian Paul
On Sat, Jul 23, 2011 at 2:58 AM, Ian Romanick i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com ---  src/mesa/main/texcompress.c |   63 +++  src/mesa/main/texcompress.h |    3 ++  2 files changed, 66 insertions(+), 0

Re: [Mesa-dev] [PATCH 3/3] mesa: Make _mesa_get_compressed_formats match the texture compression specs

2011-07-23 Thread Brian Paul
On Sat, Jul 23, 2011 at 7:05 AM, Henri Verbeet hverb...@gmail.com wrote: On 23 July 2011 10:58, Ian Romanick i...@freedesktop.org wrote: + * explose the 3dc formats through this mechanism. Typo. Also, look for comptaibility -Brian ___ mesa-dev

Re: [Mesa-dev] [PATCH] mesa: don't forget about sampleBuffers in framebuffer visual update

2011-07-23 Thread Brian Paul
On Fri, Jul 22, 2011 at 5:54 PM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: On 07/22/2011 11:50 PM, Christoph Bumiller wrote: Trivial fix (I hope), came across this when testing multisampling via RenderbufferMultisample. Christoph ___

Re: [Mesa-dev] RFC: ctx-Driver.Map/UnmapTextureImage() hooks

2011-07-23 Thread Eric Anholt
On Fri, 22 Jul 2011 14:06:48 -0600, Brian Paul bri...@vmware.com wrote: On 07/22/2011 01:32 PM, Eric Anholt wrote: On Thu, 23 Jun 2011 19:08:51 -0600, Brian Paulbri...@vmware.com wrote: I'd like to overhaul the part of Mesa related to texture memory reading/writing. OK, I'm taking a

Re: [Mesa-dev] [PATCH 3/3] mesa: Make _mesa_get_compressed_formats match the texture compression specs

2011-07-23 Thread Henri Verbeet
On 23 July 2011 16:58, Brian Paul brian.e.p...@gmail.com wrote: Also, look for comptaibility Looks like that is actually in the extension spec like that. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] i965: vs optimization fix: Check val.negate in accumulator_contains()

2011-07-23 Thread Paul Berry
On 22 July 2011 18:17, Eric Anholt e...@anholt.net wrote: On Fri, 22 Jul 2011 15:07:57 -0700, Paul Berry stereotype...@gmail.com wrote: When emitting a MAC instruction in a vertex shader, brw_vs_emit() calls accumulator_contains() to determine whether the accumulator already contains the

Re: [Mesa-dev] [RFH PATCH] r600g: broken attempt to fix glsl-fs-shader-stencil-export

2011-07-23 Thread Alex Deucher
On Thu, Jul 21, 2011 at 12:15 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com I've been hacking around trying to make this test work and discovered writing some bits up at bit 16 of the exported word seems to act like some sort of mask. However I've no idea what

Re: [Mesa-dev] RFC: ctx-Driver.Map/UnmapTextureImage() hooks

2011-07-23 Thread Brian Paul
On Sat, Jul 23, 2011 at 9:14 AM, Eric Anholt e...@anholt.net wrote: On Fri, 22 Jul 2011 14:06:48 -0600, Brian Paul bri...@vmware.com wrote: On 07/22/2011 01:32 PM, Eric Anholt wrote: On Thu, 23 Jun 2011 19:08:51 -0600, Brian Paulbri...@vmware.com  wrote: I'd like to overhaul the part of

Re: [Mesa-dev] [PATCH 1/3] mesa: Add utility function to get base format from a GL compressed format

2011-07-23 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2011 07:53 AM, Brian Paul wrote: On Sat, Jul 23, 2011 at 2:58 AM, Ian Romanick i...@freedesktop.org wrote: From: Ian Romanick ian.d.roman...@intel.com --- src/mesa/main/texcompress.c | 63 +++

Re: [Mesa-dev] [PATCH] gallium/softpipe: Don't clobber dest color/alpha before masking.

2011-07-23 Thread Younes Manton
On Fri, Jul 22, 2011 at 10:00 AM, Brian Paul bri...@vmware.com wrote: On 07/21/2011 06:59 PM, Younes Manton wrote: The blend_quad function clobbers the actual render target color/alpha values while applying the destination blend factor, which results in restoring the wrong value during the