Re: [Mesa-dev] [PATCH 1/2] mesa: invalidate framebuffer if internal format of renderbuffer is changed

2011-03-06 Thread Marek Olšák
piglit/fbo-storage-completeness, pushed now. ;) Marek On Mon, Mar 7, 2011 at 5:56 AM, Eric Anholt wrote: > On Sun, 6 Mar 2011 05:26:12 +0100, Marek Olšák wrote: > > RenderTexture doesn't have to be called in invalidate_rb, I guess. > > Looks like a testable bug -- does it have a test? > _

Re: [Mesa-dev] [PATCH 1/2] mesa: invalidate framebuffer if internal format of renderbuffer is changed

2011-03-06 Thread Eric Anholt
On Sun, 6 Mar 2011 05:26:12 +0100, Marek Olšák wrote: > RenderTexture doesn't have to be called in invalidate_rb, I guess. Looks like a testable bug -- does it have a test? pgptb5kWs4EoC.pgp Description: PGP signature ___ mesa-dev mailing list mesa-d

[Mesa-dev] [PATCH 2/4] mesa: add ATI_texture_compression_3dc

2011-03-06 Thread Marek Olšák
LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI. --- src/mesa/main/extensions.c |2 ++ src/mesa/main/glheader.h|4 src/mesa/main/image.c |3 +++ src/mesa/main/mtypes.h |

[Mesa-dev] [PATCH 4/4] st/mesa: add LATC and 3DC support

2011-03-06 Thread Marek Olšák
softpipe passes all tests. --- src/mesa/state_tracker/st_extensions.c | 21 src/mesa/state_tracker/st_format.c | 54 ++- src/mesa/state_tracker/st_gen_mipmap.c |4 ++- 3 files changed, 76 insertions(+), 3 deletions(-) diff --git a/src/mesa/stat

[Mesa-dev] [PATCH 3/4] gallium/util: add LATC support

2011-03-06 Thread Marek Olšák
Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC. --- src/gallium/auxiliary/Makefile |1 + src/gallium/auxiliary/SConscript |1 + src/gallium/auxiliary/util/u_format.csv |6 + src/gallium

[Mesa-dev] [PATCH 1/4] mesa: add EXT_texture_compression_latc

2011-03-06 Thread Marek Olšák
The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some

[Mesa-dev] GLX client only vs client/server

2011-03-06 Thread Dave Airlie
Hi, yet another GLX question to go into the void (anyone want to reply on why the X glx gen scripts are foobar yet?) So fglrx seems broken wrt GLX_EXT_framebuffer_sRGB and GLX_ARB_fbconfig_float server glx vendor string: ATI server glx version string: 1.4 server glx extensions: GLX_ARB_multi

Re: [Mesa-dev] [PATCH 0/4] import the txc_dxtn code from libtxc_dxtn into mesa (Was: Merge floating to master)

2011-03-06 Thread Jon Severinsson
On Mon, Mar 7, 2011 at 9:47 AM, Jon Severinsson wrote: > As you are about to introduce --enable-patented for floating point > textures, I thought the same functionality should be used for s3tc > support. > > This patch series does so by importing the code from libtxc_dxtn into > mesa and build it

Re: [Mesa-dev] [PATCH 0/4] import the txc_dxtn code from libtxc_dxtn into mesa (Was: Merge floating to master)

2011-03-06 Thread Matt Turner
On Mon, Mar 7, 2011 at 12:57 AM, Dave Airlie wrote: > On Mon, Mar 7, 2011 at 9:47 AM, Jon Severinsson wrote: >> As you are about to introduce --enable-patented for floating point textures, >> I thought the same functionality should be used for s3tc support. >> >> This patch series does so by impo

Re: [Mesa-dev] [PATCH 0/4] import the txc_dxtn code from libtxc_dxtn into mesa (Was: Merge floating to master)

2011-03-06 Thread Dave Airlie
On Mon, Mar 7, 2011 at 9:47 AM, Jon Severinsson wrote: > As you are about to introduce --enable-patented for floating point textures, > I thought the same functionality should be used for s3tc support. > > This patch series does so by importing the code from libtxc_dxtn into mesa and > build it in

[Mesa-dev] [PATCH 0/4] import the txc_dxtn code from libtxc_dxtn into mesa (Was: Merge floating to master)

2011-03-06 Thread Jon Severinsson
As you are about to introduce --enable-patented for floating point textures, I thought the same functionality should be used for s3tc support. This patch series does so by importing the code from libtxc_dxtn into mesa and build it instead of the dlopened library. For it do make any sence you need

[Mesa-dev] [PATCH 2/4] mesa: build the just imported txc_dxtn code, but only when configured with --enable-patented

2011-03-06 Thread Jon Severinsson
Also do some minor header and coding style modifications to better fit into mesa. Note that this isn't actually used by anything just yet. --- src/mesa/main/txc_compress_dxtn.c | 28 +++-- src/mesa/main/txc_dxtn.h | 60 +--- src/mesa/main/txc_fetch_dxt

[Mesa-dev] [PATCH 1/4] mesa: import the txc_dxtn code from libtxc_dxtn into mesa

2011-03-06 Thread Jon Severinsson
This is a plain file copy from commit aac113ee in git://anongit.freedesktop.org/~mareko/libtxc_dxtn Note that make won't build anything just yet. --- src/mesa/main/txc_compress_dxtn.c | 843 + src/mesa/main/txc_dxtn.h | 51 +++ src/mesa/main/txc_fet

[Mesa-dev] [PATCH 4/4] gallium/util: use the just imported txc_dxtn code rather than dlopen libtxc_dxtn

2011-03-06 Thread Jon Severinsson
--- src/gallium/auxiliary/util/u_format_s3tc.c | 174 ++-- src/gallium/auxiliary/util/u_format_s3tc.h | 22 src/gallium/drivers/llvmpipe/Makefile |4 +- 3 files changed, 38 insertions(+), 162 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format_s3

[Mesa-dev] [PATCH 3/4] mesa: use the just imported txc_dxtn code rather than dlopen libtxc_dxtn

2011-03-06 Thread Jon Severinsson
--- src/mesa/main/texcompress_s3tc.c | 193 -- 1 files changed, 59 insertions(+), 134 deletions(-) diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c index 25257ec..8ab688a 100644 --- a/src/mesa/main/texcompress_s3tc.c +++ b/src/m

Re: [Mesa-dev] libtxc_dxtn 1.0.0 release

2011-03-06 Thread Andy Furniss
Dan Nicholson wrote: You have a libtool older than 2.2. You can replace this with AC_PROG_LIBTOOL AC_DISABLE_STATIC Thanks, installed now using those. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/list

Re: [Mesa-dev] libtxc_dxtn 1.0.0 release

2011-03-06 Thread Dan Nicholson
.On Sun, Mar 6, 2011 at 11:20 AM, Andy Furniss wrote: > Marek Olšák wrote: >> >> Hi, >> >> libtxc_dxtn has got new bug fixes in my private branch recently (e.g. Bug >> 24016 was fixed and some piglit tests too) and I thought it would be >> useful >> to make an announcement. >> >> I have tagged lib

Re: [Mesa-dev] libtxc_dxtn 1.0.0 release

2011-03-06 Thread Andy Furniss
Marek Olšák wrote: Hi, libtxc_dxtn has got new bug fixes in my private branch recently (e.g. Bug 24016 was fixed and some piglit tests too) and I thought it would be useful to make an announcement. I have tagged libtxc_dxtn 1.0.0 in my repository and it can be obtained via git from here: http:

Re: [Mesa-dev] Merge floating to master

2011-03-06 Thread Lucas Stach
I'm referring to the branch Marek mentioned when he announced the implementation of certain floating-point formats. You can find this branch here: http://cgit.freedesktop.org/~mareko/mesa/log/?h=floating2 -- Lucas Am Sonntag, den 06.03.2011, 10:09 -0800 schrieb Jose Fonseca: > Lucas, > > First

Re: [Mesa-dev] Merge floating to master

2011-03-06 Thread Marek Olšák
José, I think he was referrring to this branch: http://cgit.freedesktop.org/~mareko/mesa/log/?h=floating2 It's based on the Luca Barbieri's branch with additional bug fixes and improvements and it's been tested with r300g, which now has *complete* floating-point texture and renderbuffer support,

Re: [Mesa-dev] Merge floating to master

2011-03-06 Thread Jose Fonseca
Lucas, First things first: what branch are you referring to exactly? The floating branch doesn't match your description -- it hasn't been updated my Marek or anybody else in a long time. Jose From: mesa-dev-bounces+jfonseca=vmware@lists.freedesktop.

[Mesa-dev] 7 questions and proposals about changes in the Gallium interface

2011-03-06 Thread Marek Olšák
Hi, I have several questions about Gallium. Some of them are about undocumented stuff, others are just little things from the top of my head. Please consider these as things I may do when time allows. 1) Flush flags Which PIPE_FLUSH_* flag is used to flush the command stream? There doesn't seem

Re: [Mesa-dev] Merge floating to master

2011-03-06 Thread Matt Turner
On Sun, Mar 6, 2011 at 1:13 PM, Lucas Stach wrote: > Am Mittwoch, den 02.03.2011, 08:22 +0100 schrieb Lucas Stach: >> Hello all, >> >> I want to bring up a an issue discussed some time ago. The support for >> floating point textures and rendertargets currently lives in a branch >> maintained by Ma

Re: [Mesa-dev] Merge floating to master

2011-03-06 Thread Lucas Stach
Am Mittwoch, den 02.03.2011, 08:22 +0100 schrieb Lucas Stach: > Hello all, > > I want to bring up a an issue discussed some time ago. The support for > floating point textures and rendertargets currently lives in a branch > maintained by Marek Olšák. It's nice to see Marek rebases this branch > fr