Re: [Mesa-dev] Mesa & Mozilla regarding S3TC patent problem

2012-08-28 Thread Tapani Pälli
Hello; On 08/29/2012 12:30 AM, Kenneth Graunke wrote: > On 08/28/2012 10:56 AM, thibaut bethune wrote: >> Hi, >> >> About the "the potential legal problem" regarding S3TC implementation >> pointed, for instance, by Ian Romanick in Bug 24207 [1] , has anyone >> noticed that Firefox 15 will support

[Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Anuj Phogat
This reduces the overhead of using the fixed function internally in the driver. V2: Use setup_glsl_generate_mipmap() and setup_ff_generate_mipmap() functions to avoid code duplication. Use glsl version when ARB_{vertex, fragmet}_shader are present. Remove redundant code. Signed-off-by

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-28 Thread Matt Turner
On Mon, Aug 27, 2012 at 2:58 PM, Matt Turner wrote: > On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke > wrote: >> A while back, we split off GLw into a separate repository. The rationale >> was that GLw should be maintained and released independently from >> Mesa/Gallium since it hardly ever c

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Anuj Phogat
On Wed, Aug 29, 2012 at 6:33 PM, Ian Romanick wrote: > On 08/27/2012 11:14 PM, Anuj Phogat wrote: >> >> This reduces the overhead of using the fixed function internally >> in the driver. >> >> Note: ARB_fragment_shader is not present in intel->gen < 4. I'll send >> out a separate patch to avoid en

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Ian Romanick
On 08/27/2012 11:14 PM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen < 4. I'll send out a separate patch to avoid enabling _mesa_meta_GenerateMipmap() in those chips. No regressions obser

[Mesa-dev] [Bug 54162] "make clean" leaves some .o files

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54162 --- Comment #3 from Tobias Droste 2012-08-28 22:24:18 UTC --- probably the same as my bug (even though I have more .o files left): https://bugs.freedesktop.org/show_bug.cgi?id=51383 one should be marked as a duplicate (maybe mine, your title is

[Mesa-dev] [Bug 54162] "make clean" leaves some .o files

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54162 --- Comment #2 from Matt Turner 2012-08-28 21:48:43 UTC --- My guess is that make is being invoked on src/mesa/drivers/dri/common from a static Makefile in Gallium, which doesn't also have a clean rule. When I build without any gallium drivers,

[Mesa-dev] [Bug 54162] "make clean" leaves some .o files

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54162 Matt Turner changed: What|Removed |Added CC||matts...@gmail.com --- Comment #1 from Mat

Re: [Mesa-dev] Mesa & Mozilla regarding S3TC patent problem

2012-08-28 Thread Kenneth Graunke
On 08/28/2012 10:56 AM, thibaut bethune wrote: > Hi, > > About the "the potential legal problem" regarding S3TC implementation > pointed, for instance, by Ian Romanick in Bug 24207 [1] , has anyone > noticed that Firefox 15 will support the WEBGL_compressed_texture_s3tc > extension [2] ? > > Does

Re: [Mesa-dev] Split libGLU into its own repository?

2012-08-28 Thread tom fogal (travel)
On 8/27/12 2:58 PM, Matt Turner wrote: On Sun, Jan 22, 2012 at 4:03 AM, Kenneth Graunke wrote: A while back, we split off GLw into a separate repository. I'd like to do the same for libGLU. One concern I have is that libGLU in Mesa appears to have some build system magic for linking against O

[Mesa-dev] Mesa & Mozilla regarding S3TC patent problem

2012-08-28 Thread thibaut bethune
Hi, About the "the potential legal problem" regarding S3TC implementation pointed, for instance, by Ian Romanick in Bug 24207 [1] , has anyone noticed that Firefox 15 will support the WEBGL_compressed_texture_s3tc extension [2] ? Does anyone know what is Mozilla's position regarding this situatio

Re: [Mesa-dev] [PATCH 1/2] radeon/llvm: Basic support for SI EXEC register.

2012-08-28 Thread Tom Stellard
On Tue, Aug 28, 2012 at 08:14:07PM +0200, Michel Dänzer wrote: > From: Michel Dänzer > Reviewed-by: Tom Stellard > Signed-off-by: Michel Dänzer > --- > src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp |3 +++ > src/gallium/drivers/radeon/SIGenRegisterInfo.pl |7 +++ > src/gallium/dr

Re: [Mesa-dev] [PATCH 2/2] radeon/llvm: Handle TGSI KIL opcode for SI.

2012-08-28 Thread Tom Stellard
On Tue, Aug 28, 2012 at 08:14:08PM +0200, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes piglit fp-kil and glBitmap() with radeonsi. > > Signed-off-by: Michel Dänzer Reviewed-by: Tom Stellard > --- > src/gallium/drivers/radeon/SIISelLowering.cpp | 35 > + >

[Mesa-dev] [PATCH 2/2] radeon/llvm: Handle TGSI KIL opcode for SI.

2012-08-28 Thread Michel Dänzer
From: Michel Dänzer Fixes piglit fp-kil and glBitmap() with radeonsi. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeon/SIISelLowering.cpp | 35 + src/gallium/drivers/radeon/SIISelLowering.h |2 ++ src/gallium/drivers/radeon/SIInstructions.td |7 +

[Mesa-dev] [PATCH 1/2] radeon/llvm: Basic support for SI EXEC register.

2012-08-28 Thread Michel Dänzer
From: Michel Dänzer Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeon/AMDGPUAsmPrinter.cpp |3 +++ src/gallium/drivers/radeon/SIGenRegisterInfo.pl |7 +++ src/gallium/drivers/radeon/SIInstructions.td| 15 +-- 3 files changed, 23 insertions(+), 2 deletions

Re: [Mesa-dev] [PATCH] radeon/llvm: Handle TGSI KIL opcode for SI.

2012-08-28 Thread Michel Dänzer
On Die, 2012-08-28 at 12:07 -0400, Tom Stellard wrote: > On Tue, Aug 28, 2012 at 04:26:43PM +0200, Michel Dänzer wrote: > > From: Michel Dänzer > > > > Fixes piglit fp-kil with radeonsi. > > > > > Signed-off-by: Michel Dänzer > > --- > > src/gallium/drivers/radeon/SIISelLowering.cpp | 35 >

Re: [Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-28 Thread Eric Anholt
Kenneth Graunke writes: > On 08/27/2012 10:49 AM, Eric Anholt wrote: >> Saves 26.5MB of wasted memory allocation in the l4d2 demo. >> --- >> src/mesa/drivers/dri/i965/brw_context.h | 15 --- >> src/mesa/drivers/dri/i965/brw_fs.cpp|2 -- >> src/mesa/drivers/dri/i965/brw_

Re: [Mesa-dev] [PATCH 06/10] i965/fs: Assume shadow sampler swizzling is .

2012-08-28 Thread Eric Anholt
Kenneth Graunke writes: > On 08/27/2012 01:38 PM, Eric Anholt wrote: >> Kenneth Graunke writes: >> >>> Our previous assumption, SWIZZLE_XYZW, was completely bogus for depth >>> textures. There are no Y, Z, or W components. >> >> Seems like this doesn't even need to be shadow-sampler-dependent

[Mesa-dev] [Bug 53179] libOSMesa / libdricore not linked well

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53179 Rafał Mużyło changed: What|Removed |Added CC||galtge...@o2.pl --- Comment #3 from Rafał

[Mesa-dev] [Bug 54162] New: "make clean" leaves some .o files

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54162 Bug #: 54162 Summary: "make clean" leaves some .o files Classification: Unclassified Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Brian Paul
On 08/28/2012 07:04 PM, Ian Romanick wrote: On 08/28/2012 08:58 AM, Brian Paul wrote: On 08/28/2012 12:14 AM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen< 4. I'll send out a separate p

Re: [Mesa-dev] [PATCH] radeon/llvm: Handle TGSI KIL opcode for SI.

2012-08-28 Thread Tom Stellard
On Tue, Aug 28, 2012 at 04:26:43PM +0200, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes piglit fp-kil with radeonsi. > > Signed-off-by: Michel Dänzer > --- > src/gallium/drivers/radeon/SIISelLowering.cpp | 35 > + > src/gallium/drivers/radeon/SIISelLowering.h

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Ian Romanick
On 08/28/2012 08:58 AM, Brian Paul wrote: On 08/28/2012 12:14 AM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen< 4. I'll send out a separate patch to avoid enabling _mesa_meta_GenerateMi

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Brian Paul
On 08/28/2012 12:14 AM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen< 4. I'll send out a separate patch to avoid enabling _mesa_meta_GenerateMipmap() in those chips. No regressions obser

Re: [Mesa-dev] [PATCH] docs/utilities: add/update some useful utilities

2012-08-28 Thread Brian Paul
On 08/28/2012 09:31 AM, Andreas Boll wrote: the progs/util directory is now in mesa demos replace glean with piglit add ApiTrace markup: replace the unordered list with a definition list --- docs/utilities.html | 26 -- 1 files changed, 16 insertions(+), 10 deletion

Re: [Mesa-dev] [PATCH 1/2] configure.ac: add radeonsi to --with-gallium-drivers help string

2012-08-28 Thread Michel Dänzer
Both patches pushed, thanks! -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.fre

[Mesa-dev] [PATCH] docs/utilities: add/update some useful utilities

2012-08-28 Thread Andreas Boll
the progs/util directory is now in mesa demos replace glean with piglit add ApiTrace markup: replace the unordered list with a definition list --- docs/utilities.html | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/utilities.html b/docs/u

[Mesa-dev] [PATCH 2/2] docs/helpwanted: add radeonsi todo list

2012-08-28 Thread Andreas Boll
--- docs/helpwanted.html |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/docs/helpwanted.html b/docs/helpwanted.html index e452689..3dbff36 100644 --- a/docs/helpwanted.html +++ b/docs/helpwanted.html @@ -56,6 +56,8 @@ You can find some further To-do lists here: targ

[Mesa-dev] [PATCH 1/2] configure.ac: add radeonsi to --with-gallium-drivers help string

2012-08-28 Thread Andreas Boll
the help string is used by ./configure --help --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c30bcf0..0052918 100644 --- a/configure.ac +++ b/configure.ac @@ -644,7 +644,7 @@ GALLIUM_DRIVERS_DEFAULT="r300,r600,svga,swras

[Mesa-dev] [Bug 38085] Mesa: User error: GL_INVALID_ENUM in glTexParameter(param=0x2901)

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38085 Alexandre Demers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [PATCH] radeon/llvm: Handle TGSI KIL opcode for SI.

2012-08-28 Thread Michel Dänzer
From: Michel Dänzer Fixes piglit fp-kil with radeonsi. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeon/SIISelLowering.cpp | 35 + src/gallium/drivers/radeon/SIISelLowering.h |2 ++ src/gallium/drivers/radeon/SIInstructions.td |7 + 3 files c

Re: [Mesa-dev] [PATCH] meta: Add GLSL variant of _mesa_meta_GenerateMipmap() function

2012-08-28 Thread Brian Paul
On 08/28/2012 12:14 AM, Anuj Phogat wrote: This reduces the overhead of using the fixed function internally in the driver. Note: ARB_fragment_shader is not present in intel->gen< 4. I'll send out a separate patch to avoid enabling _mesa_meta_GenerateMipmap() in those chips. No regressions obser

[Mesa-dev] [Bug 52059] __indirect_glReadPixels USE_XCB path buffer overflow

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52059 Julien Cristau changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 54140] [llvmpipe] GL_EXT_texture_compression_s3tc is no longer enabled even when libtxc_dxtn is available.

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54140 --- Comment #2 from Tapani Pälli 2012-08-28 11:04:18 UTC --- Created attachment 66215 --> https://bugs.freedesktop.org/attachment.cgi?id=66215 patch to add HAVE_DLOPEN -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Mesa-dev] [Bug 54142] Mesa: User error: GL_INVALID_OPERATION

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54142 Laurent carlier changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 53884] RTT write->read->write gets reordered in some frames

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53884 Lauri Kasanen changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|

[Mesa-dev] [PATCH] radeonsi: Sampler view state simplification.

2012-08-28 Thread Michel Dänzer
From: Michel Dänzer We can always use the offset and tiling mode from level 0 and set the first and last mipmap level to be used in the sampler resource. Signed-off-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_state.c | 20 +--- 1 file changed, 9 insertions(+), 11 de

[Mesa-dev] [Bug 53884] RTT write->read->write gets reordered in some frames

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53884 Lauri Kasanen changed: What|Removed |Added Summary|gl_FragCoord gets corrupted |RTT write->read->write gets

Re: [Mesa-dev] [PATCH] u_vbuf: avoid unnecessary update of the vertex elements

2012-08-28 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Aug 28, 2012 at 2:36 AM, Vadim Girlin wrote: > Signed-off-by: Vadim Girlin > --- > > Improves performance for Lightsmark (and probably other apps). > > src/gallium/auxiliary/util/u_vbuf.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > dif

[Mesa-dev] [Bug 54142] Mesa: User error: GL_INVALID_OPERATION

2012-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54142 --- Comment #3 from Laurent carlier 2012-08-28 07:20:53 UTC --- "A varying variable must be written on a vertex shader, where we compute the value of the variable for each vertex. In the fragment shader the variable, whose value results from an