[Mesa3d-dev] [Bug 27012] mesa git shows a compilation error

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27012 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Status|REOPENED|RESOLVED

[Mesa3d-dev] [Bug 27037] New: mesa git shows a compilation error

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27037 Summary: mesa git shows a compilation error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority:

[Mesa3d-dev] [Bug 27007] Lines disappear with GL_LINE_SMOOTH

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27007 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added AssignedTo|mesa3d- |e...@anholt.net

[Mesa3d-dev] [Bug 27037] mesa git shows a compilation error

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27037 Michel Dänzer mic...@daenzer.net changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-12 Thread Chia-I Wu
On Fri, Mar 12, 2010 at 9:37 AM, David Miller da...@davemloft.net wrote: This change: commit d888bbc45a84946cafb4f4d2c89681a580cd89bc Author: Brian Paul bri...@vmware.com Date:   Tue Nov 17 13:39:13 2009 -0700    progs/xdemos: added -lX11 -lpthread for GNU gold linker breaks the build if

[Mesa3d-dev] New error in xorg_crtc.c

2010-03-12 Thread STEVE555
Hi guys, I've pulled in the latest commits for my local copy of Mesa git master.I ran gmake -B realclean,and used my usaul confiugre options: ./configure --prefix=/usr --enable-32-bit --enable-xcb --enable-gallium-nouveau --with-state-trackers=dri,egl,xorg,glx,vega,es --enable-motif

Re: [Mesa3d-dev] New error in xorg_crtc.c

2010-03-12 Thread Keith Whitwell
Steve, Fixed, sorry for the screwup - it looks like a couple of directories escaped conversion. Keith On Fri, 2010-03-12 at 03:59 -0800, STEVE555 wrote: Hi guys, I've pulled in the latest commits for my local copy of Mesa git master.I ran gmake -B realclean,and used my usaul

Re: [Mesa3d-dev] Mesa (master): st/mesa: Always recalculate invalid index bounds.

2010-03-12 Thread Keith Whitwell
On Fri, 2010-03-12 at 02:54 -0800, Corbin Simpson wrote: Module: Mesa Branch: master Commit: 50876ddaaff72a324ac45e255985e0f84e108594 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50876ddaaff72a324ac45e255985e0f84e108594 Author: Corbin Simpson mostawesomed...@gmail.com Date:

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Keith Whitwell
Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other words, you seem to have two ways of specifying the same state: pipe_sampler_view::first_level and pipe_sampler::min_lod Is there a case to keep both

Re: [Mesa3d-dev] Mesa (master): st/mesa: Always recalculate invalid index bounds.

2010-03-12 Thread Keith Whitwell
Resending to the right address. Keith On Fri, 2010-03-12 at 13:40 +, Keith Whitwell wrote: On Fri, 2010-03-12 at 02:54 -0800, Corbin Simpson wrote: Module: Mesa Branch: master Commit: 50876ddaaff72a324ac45e255985e0f84e108594 URL:

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-12 Thread michal
michal wrote on 2010-03-11 17:59: Keith Whitwell wrote on 2010-03-11 16:16: On Thu, 2010-03-11 at 06:05 -0800, michal wrote: Keith Whitwell wrote on 2010-03-11 14:21: On Thu, 2010-03-11 at 03:16 -0800, michal wrote: Hi, I would like to merge

[Mesa3d-dev] some r6xx work for r600g

2010-03-12 Thread Stephan Schmid
Hello, attached is a patch against rev. 189abd58e83af98276b9e170413918c821592f0c of Jerome Glisse's mesa repo. With this my RV610 runs rudimentarily (few card hangs instead of hangs each time of loading r600g, some rendering). The changes against r7xx cards are copied from the differences in

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread michal
Keith Whitwell wrote on 2010-03-12 14:46: Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other words, you seem to have two ways of specifying the same state: pipe_sampler_view::first_level and

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread José Fonseca
On Fri, 2010-03-12 at 06:08 -0800, michal wrote: Keith Whitwell wrote on 2010-03-12 14:46: Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other words, you seem to have two ways of specifying the same

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Keith Whitwell
On Fri, 2010-03-12 at 06:08 -0800, michal wrote: Keith Whitwell wrote on 2010-03-12 14:46: Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other words, you seem to have two ways of specifying the same

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Keith Whitwell
On Fri, 2010-03-12 at 06:19 -0800, Christoph Bumiller wrote: On 12.03.2010 15:08, michal wrote: Keith Whitwell wrote on 2010-03-12 14:46: Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Luca Barbieri
What if you have a non-integer min LOD? While the integer part may belong to the sampler view, the fractional part really seems to be a sampler property. Requiring min_lod 1.0 also doesn't seem to make much sense, so shouldn't it be kept as it is now? Same thing for last_level / max_lod.

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-12 Thread Jeff Smith
This change: commit d888bbc45a84946cafb4f4d2c89681a580cd89bc Author: Brian Paul bri...@vmware.com Date: Tue Nov 17 13:39:13 2009 -0700 progs/xdemos: added -lX11 -lpthread for GNU gold linker breaks the build if you are building under a specific path prefix (say, /opt/XORG) and

Re: [Mesa3d-dev] util_format cleanup leftover: Gallium BGRA vertex swizzles

2010-03-12 Thread José Fonseca
On Thu, 2010-03-11 at 17:50 -0800, Marek Olšák wrote: Please see this commit: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=177a4432aa88fc68d83895ae71b7ad2c86a1e7e3 Subject: [PATCH] gallium: fix BGRA vertex color swizzles The mapping for vertex_array_bgra: (gl - st - translate)

Re: [Mesa3d-dev] [PATCH] Change some int64_t's to uint64_t's, to match CARD64's signedness

2010-03-12 Thread Brian Paul
I'd like one of the other DRI developers to double-check this patch but the others look fine. I'll commit them soon. -Brian On Thu, Mar 11, 2010 at 9:13 PM, Jeff Smith whydo...@yahoo.com wrote: -- Download

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Keith Whitwell
On Fri, 2010-03-12 at 06:54 -0800, Luca Barbieri wrote: What if you have a non-integer min LOD? While the integer part may belong to the sampler view, the fractional part really seems to be a sampler property. Requiring min_lod 1.0 also doesn't seem to make much sense, so shouldn't it be

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-12 Thread Dan Nicholson
On Fri, Mar 12, 2010 at 6:48 AM, Jeff Smith whydo...@yahoo.com wrote: This change: commit d888bbc45a84946cafb4f4d2c89681a580cd89bc Author: Brian Paul bri...@vmware.com Date:   Tue Nov 17 13:39:13 2009 -0700    progs/xdemos: added -lX11 -lpthread for GNU gold linker breaks the build if you

Re: [Mesa3d-dev] [PATCH] dri/r700: Include shader/programopt.h instead of programopt.c.

2010-03-12 Thread Brian Paul
Committed. Thanks. -Brian On Fri, Mar 12, 2010 at 12:38 AM, Luc Verhaegen l...@skynet.be wrote: Luc Verhaegen. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling,

Re: [Mesa3d-dev] Mesa (gallium-sampler-view): st/mesa: Associate a sampler view with an st texture object.

2010-03-12 Thread Christoph Bumiller
On 12.03.2010 15:08, michal wrote: Keith Whitwell wrote on 2010-03-12 14:46: Michal, Is the intention to have 1 sampler view active in the Mesa state tracker, specifically in the cases where min_lod varies? In other words, you seem to have two ways of specifying the same state:

Re: [Mesa3d-dev] some r6xx work for r600g

2010-03-12 Thread Jerome Glisse
On Fri, Mar 12, 2010 at 03:05:43PM +0100, Stephan Schmid wrote: Hello, attached is a patch against rev. 189abd58e83af98276b9e170413918c821592f0c of Jerome Glisse's mesa repo. With this my RV610 runs rudimentarily (few card hangs instead of hangs each time of loading r600g, some rendering).

Re: [Mesa3d-dev] util_format cleanup leftover: Gallium BGRA vertex swizzles

2010-03-12 Thread José Fonseca
On Fri, 2010-03-12 at 08:17 -0800, Brian Paul wrote: Jose wrote: On Thu, 2010-03-11 at 17:50 -0800, Marek Olšák wrote: Please see this commit: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=177a4432aa88fc68d83895ae71b7ad2c86a1e7e3 Subject: [PATCH] gallium: fix BGRA vertex color

Re: [Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-12 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karl Schultz wrote: Am getting these warnings in the Windows build: 2Compiling... 2lex.yy.c 2program_lexer.l(327) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2program_lexer.l(331) : warning C4244: '=' :

[Mesa3d-dev] [Bug 23941] Wine offscreen rendering causes GL_INVALID_FRAMEBUFFER_OPERATION_EXT

2010-03-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23941 Sven Arvidsson s...@whiz.se changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-12 Thread Gonsolo
Absolutely not. All the casts do is clutter the code. This is a completely worthless warning from Visual Studio. It generates only noise. I have never seen a case where it was actually useful. There are pragmas and command line options to disable specific warnings. You should do that.

Re: [Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-12 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonsolo wrote: diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 56e8195..d77b36c 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -810,6 +810,13 @@ _mesa_strtod( const char *s, char **end ) #endif }

Re: [Mesa3d-dev] Framebuffers in mesa

2010-03-12 Thread Brian Paul
On Fri, Mar 12, 2010 at 12:19 PM, Maciej Cencora m.cenc...@gmail.com wrote: Hi all, I've got some questions regarding FBOs in mesa. I hope you'll be able to answer at least some of them. GLcontext structure holds pointers to 4 gl_framebuffers (DrawBuffer, ReadBuffer, WinSysDrawBuffer,

Re: [Mesa3d-dev] Mesa (master): st/mesa: Always recalculate invalid index bounds.

2010-03-12 Thread Brian Paul
The overriding goal is to avoid the expense of computing this in software when the hardware can do the bounds check. I guess we could add a PIPE_CAP query to ask the driver if it can do bounds checking and if it can't, do it in the state tracker. But I think Keith's interested in minimizing

Re: [Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-12 Thread Gonsolo
We can't use strtof for the same reason we can't (directly) use strtod. It uses the locale, so that can make it parse numbers incorrectly. All of the users of _mesa_strtod actually want _mesa_strtof, so the right fix is to change the existing _mesa_strtod to _mesa_strtof. Some remarks from

Re: [Mesa3d-dev] xdemos build breakage...

2010-03-12 Thread Jeff Smith
From: Dan Nicholson dbn.li...@gmail.com To: Brian Paul bri...@vmware.com Cc: Jeff Smith whydo...@yahoo.com; David Miller da...@davemloft.net; mesa3d-dev@lists.sourceforge.net mesa3d-dev@lists.sourceforge.net Sent: Fri, March 12, 2010 10:51:29 AM Subject: Re: [Mesa3d-dev] xdemos build breakage...

Re: [Mesa3d-dev] Mesa (master): st/mesa: Always recalculate invalid index bounds.

2010-03-12 Thread Luca Barbieri
Isn't it possible to compute the maximum legal index by just taking the minimum of: (vb-buffer-size - vb-buffer_offset - ve-src_offset) / vb-stride over all vertex buffers/elements? Isn't the kernel checker doing something like this?

Re: [Mesa3d-dev] Mesa (master): st/mesa: Always recalculate invalid index bounds.

2010-03-12 Thread Luca Barbieri
Actually, why is the state tracker doing the min/max computation at all? If the driver does the index lookup itself, as opposed to using an hardware index buffer, (e.g. the nouveau drivers do this in some cases) this is unnecessary and slow. Would completely removing the call to