[Mesa-dev] [PATCH] gallium/tgsi/text: Ensure ret is initialized in parse_immediate_data.

2012-05-16 Thread Vinson Lee
Fix uninitialized scalar variable defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/tgsi/tgsi_text.c |4 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 279a046..f2bf49e 1

[Mesa-dev] [PATCH] mesa: Only undefine _P on IRIX.

2012-05-16 Thread Vinson Lee
Per the comment _P is a macro on IRIX, so only undefine it on IRIX. This fixes a compiler error on Cygwin, which has a _P symbol defined and used in ctypes.h. Signed-off-by: Vinson Lee --- src/mesa/main/compiler.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/compiler.h

[Mesa-dev] [Bug 50033] New: src/mesa/state_tracker/st_cb_fbo.c:379:st_render_texture: Assertion `strb->rtt_level <= strb->texture->last_level' failed.

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50033 Bug #: 50033 Summary: src/mesa/state_tracker/st_cb_fbo.c:379:st_render_textu re: Assertion `strb->rtt_level <= strb->texture->last_level' failed. Classification: Unclassified

Re: [Mesa-dev] Loading and executing an R600 program

2012-05-16 Thread Alex Deucher
On Wed, May 16, 2012 at 6:05 PM, Miguel Ramos wrote: > 2012/5/16 Alex Deucher : >> On Wed, May 16, 2012 at 6:36 AM, Miguel Ramos >> wrote: >>> Hi, >>> >>> This question is not related to mesa itself, so sorry to use your >>> mailing list, however, I know here someone will have the knowledge to >>

Re: [Mesa-dev] Loading and executing an R600 program

2012-05-16 Thread Miguel Ramos
2012/5/16 Alex Deucher : > On Wed, May 16, 2012 at 6:36 AM, Miguel Ramos > wrote: >> Hi, >> >> This question is not related to mesa itself, so sorry to use your >> mailing list, however, I know here someone will have the knowledge to >> help me. >> I'm trying to learn something about GPUs and woul

Re: [Mesa-dev] r600g: Set tiling information for BOs being shared.

2012-05-16 Thread Michel Dänzer
On Mit, 2012-05-16 at 23:30 +0200, Marek Olšák wrote: > > the commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 (r600g: Set tiling > information for BOs being shared.) breaks r300g build, but most > importantly, I am pretty sure it also breaks glGenerateMipmap on r300g > and kernels without RADEON_

Re: [Mesa-dev] r600g: Set tiling information for BOs being shared.

2012-05-16 Thread Marek Olšák
Hi, the commit 11f056a3f0b87e86267efa8b5ac9d36a343c9dc1 (r600g: Set tiling information for BOs being shared.) breaks r300g build, but most importantly, I am pretty sure it also breaks glGenerateMipmap on r300g and kernels without RADEON_CS_KEEP_TILING_FLAGS support. The problem is with this hunk:

[Mesa-dev] [Bug 50001] mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 Francisco Jerez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] Loading and executing an R600 program

2012-05-16 Thread Alex Deucher
On Wed, May 16, 2012 at 6:36 AM, Miguel Ramos wrote: > Hi, > > This question is not related to mesa itself, so sorry to use your > mailing list, however, I know here someone will have the knowledge to > help me. > I'm trying to learn something about GPUs and would like to write some > assembly lan

Re: [Mesa-dev] [PATCH] i965: Gut the separate OpenGL ES extension enabling.

2012-05-16 Thread Chad Versace
On 05/15/2012 03:49 PM, Kenneth Graunke wrote: > We should just set the bits of functionality that we support; the > GL/ES1/ES2 flags in extensions.c will take care of advertising the > appropriate extensions for the current API. > > This enables the GL_EXT_texture_compression_dxt1 extension on ES

Re: [Mesa-dev] [PATCH] mesa: Remove the OES_draw_texture extension from ES2.

2012-05-16 Thread Chad Versace
On 05/15/2012 03:50 PM, Kenneth Graunke wrote: > This extension appears to be written against ES 1.0. > In ES 2.0, you really want to be using FBOs instead. > --- > src/mesa/main/extensions.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/main/extensions.c b/

[Mesa-dev] [Bug 50001] mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 --- Comment #4 from Michael Lange 2012-05-16 09:20:50 PDT --- mesa compiles fine with gcc-4.5.3 and the patch vom Francisco Jerez (pipe_loader_anon_union.patch) thx -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --

Re: [Mesa-dev] [PATCH] llvmpipe: Implement TXQ.

2012-05-16 Thread Roland Scheidegger
Am 16.05.2012 09:50, schrieb Olivier Galibert: > On Wed, May 16, 2012 at 01:51:14AM +0200, Roland Scheidegger wrote: >> Wouldn't it be easier (and more efficient) if you could just reuse the >> sampler code which does mipmap minification, i.e. get the texture sizes >> from bld.int_size and do a lp_

[Mesa-dev] [Bug 44466] Assertion 'LLVMOffsetOfElement' when running Furmark with wine

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44466 José Fonseca changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |jfons...@vmware.com |or

[Mesa-dev] [Bug 44466] Assertion 'LLVMOffsetOfElement' when running Furmark with wine

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44466 --- Comment #8 from José Fonseca 2012-05-16 08:13:04 PDT --- Created attachment 61718 --> https://bugs.freedesktop.org/attachment.cgi?id=61718 patch w/ workaround attempt -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Mesa-dev] [Bug 50001] mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 Francisco Jerez changed: What|Removed |Added Attachment #61714|0 |1 is obsolete|

Re: [Mesa-dev] Spec interpretation question: glBlitFramebuffer behavior when src rectangle out of range

2012-05-16 Thread Paul Berry
On 14 May 2012 13:42, Paul Berry wrote: > On 14 May 2012 11:06, Ian Romanick wrote: > >> On 05/14/2012 07:30 AM, Paul Berry wrote: >> >>> I'm trying to figure out how glBlitFramebuffer() is supposed to behave >>> when the source rectangle exceeds the bounds of the read framebuffer. >>> For examp

[Mesa-dev] [Bug 50001] mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 --- Comment #2 from Tom Stellard 2012-05-16 06:45:24 PDT --- Created attachment 61714 --> https://bugs.freedesktop.org/attachment.cgi?id=61714 Possible fix I think this anonymous union is the problem. I'm not really sure why that's there, bu

Re: [Mesa-dev] TGSI_TEXTURE_* vs. PIPE_TEXTURE_*

2012-05-16 Thread Marek Olšák
PIPE_TEXTURE_* is the texture type of pipe_resource. TGSI_TEXTURE_* is the sampler type of a texture instruction. There are more choices like shadow samplers. Marek On Wed, May 16, 2012 at 9:55 AM, Olivier Galibert wrote: >  Hi, > > Any reason why both exist?  I understand not using GL_TEXTURE_

[Mesa-dev] [Bug 50001] mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 --- Comment #1 from Brian Paul 2012-05-16 06:27:55 PDT --- Same here, but configure says so if I try --enable-opencl: configure: error: gcc >= 4.6 is required to build clover I'll see if Tom Stellard can comment on this... -- Configure bugma

[Mesa-dev] [Bug 50001] New: mesa from git fails to compile with

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50001 Bug #: 50001 Summary: mesa from git fails to compile with https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. _

Re: [Mesa-dev] [PATCH] llvmpipe: Color slot interpolation can be flat or perspective, not linear.

2012-05-16 Thread Olivier Galibert
On Wed, May 16, 2012 at 04:08:30AM -0700, Jose Fonseca wrote: > - Original Message - > > On Wed, May 16, 2012 at 02:38:47AM -0700, Jose Fonseca wrote: > > > It might make things slightly slower (usually just an extra > > > multiply if there are other perspective correct interpolated > > > a

Re: [Mesa-dev] [PATCH] llvmpipe: Color slot interpolation can be flat or perspective, not linear.

2012-05-16 Thread Jose Fonseca
- Original Message - > On Wed, May 16, 2012 at 02:38:47AM -0700, Jose Fonseca wrote: > > It might make things slightly slower (usually just an extra > > multiply if there are other perspective correct interpolated > > attributes), but it sounds like the right thing to do. > > It's also wha

[Mesa-dev] [PATCH] llvmpipe: Implement TXQ.

2012-05-16 Thread Olivier Galibert
Piglits test for fragment shaders pass, vertex shaders fail. The actual failure seems to be in the interpolators, and not the textureSize query. Signed-off-by: Olivier Galibert --- src/gallium/auxiliary/draw/draw_llvm_sample.c | 23 ++ src/gallium/auxiliary/gallivm/lp_bld_sample.h

Re: [Mesa-dev] [PATCH] llvmpipe: Color slot interpolation can be flat or perspective, not linear.

2012-05-16 Thread Olivier Galibert
On Wed, May 16, 2012 at 02:38:47AM -0700, Jose Fonseca wrote: > It might make things slightly slower (usually just an extra multiply if there > are other perspective correct interpolated attributes), but it sounds like > the right thing to do. It's also what i965, nvidia and softpipe do, and wha

[Mesa-dev] Loading and executing an R600 program

2012-05-16 Thread Miguel Ramos
Hi, This question is not related to mesa itself, so sorry to use your mailing list, however, I know here someone will have the knowledge to help me. I'm trying to learn something about GPUs and would like to write some assembly language. The source code for mesa seems to be valuable documentation.

[Mesa-dev] [Bug 49996] DH61AG - HD Graphics 3000 - OpenGL sampler objects on Ubuntu Linux 12.04 do not work

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49996 Mark Newiger changed: What|Removed |Added Version|unspecified |8.0 -- Configure bugmail: https://bugs.f

[Mesa-dev] [Bug 49996] New: DH61AG - HD Graphics 3000 - OpenGL sampler objects on Ubuntu Linux 12.04 do not work

2012-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49996 Bug #: 49996 Summary: DH61AG - HD Graphics 3000 - OpenGL sampler objects on Ubuntu Linux 12.04 do not work Classification: Unclassified Product: Mesa Version: unspecified

Re: [Mesa-dev] [PATCH] llvmpipe: Color slot interpolation can be flat or perspective, not linear.

2012-05-16 Thread Jose Fonseca
It might make things slightly slower (usually just an extra multiply if there are other perspective correct interpolated attributes), but it sounds like the right thing to do. Jose - Original Message - > Fixes a bunch of glsl 1.10 interpolation piglit tests. > > Signed-off-by: Olivier

[Mesa-dev] TGSI_TEXTURE_* vs. PIPE_TEXTURE_*

2012-05-16 Thread Olivier Galibert
Hi, Any reason why both exist? I understand not using GL_TEXTURE_* values which are not small and hence suck at indexation, but these two seem to come from the department of redundancy department. Best, OG. ___ mesa-dev mailing list mesa-dev@list

Re: [Mesa-dev] [PATCH] llvmpipe: Implement TXQ.

2012-05-16 Thread Olivier Galibert
On Wed, May 16, 2012 at 01:51:14AM +0200, Roland Scheidegger wrote: > Wouldn't it be easier (and more efficient) if you could just reuse the > sampler code which does mipmap minification, i.e. get the texture sizes > from bld.int_size and do a lp_build_minify (followed by extract shuffles)? We can