[Mesa-dev] r300 compiler vertex shader loops

2010-08-06 Thread Tom Stellard
Hi, The two attached patches enable the hardware loop capabilities for vertex shaders. I haven't tested on an r300 card yet, but glsl-vs-loop from piglit passes on my r500 card. Nested loops don't work yet, I think it is an issue with the branch emulation, but I'm not sure. It would be helpful

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Bug 29044 depends on bug 29163, which changed state. Bug 29163 Summary: [glsl2] glean/shaderAPI fail https://bugs.freedesktop.org/show_bug.cgi?id=29163 What|Old Value |New Value --

[Mesa-dev] [Bug 29163] [glsl2] glean/shaderAPI fail

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29163 Ian Romanick changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] glsl2: optimizing unused struct assignments

2010-08-06 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aras Pranckevicius wrote: >> By the way, it would be useful to get some examples of your shaders as >> shader_runner tests in piglit. That makes them easy to analyze for >> optimization opportunities, and they serve as regression tests to make >> sur

[Mesa-dev] Merge of glsl2 branch to master

2010-08-06 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As of today the glsl2 branch has three piglit regressions WRT master, and there is only one crashing piglit tests. As before, we have tested swrast and i965. For master I used commit 27041d7cb, and for glsl2 I used commit c234d0b2. The results are a

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #13 from nobled 2010-08-06 14:47:54 PDT --- (In reply to comment #12) > Created an attachment (id=37653) View: https://bugs.freedesktop.org/attachment.cgi?id=37653 Review: https://bugs.freedesktop.org/review?bug=29407&attachment=376

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 nobled changed: What|Removed |Added Attachment #37642|0 |1 is obsolete|

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 nobled changed: What|Removed |Added Attachment #37631|0 |1 is obsolete|

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 nobled changed: What|Removed |Added Attachment #37630|0 |1 is obsolete|

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread tom fogal
"Kevin H. Hobbs" writes: > On 08/06/2010 03:15 PM, tom fogal wrote: > > If you could build VTK with just a single GL library -- i.e. with > > just libOSMesa or just libGL, but not both -- and could reproduce > > the crash,= that would rule out my symbol collision theory. I am > > not sure how eas

Re: [Mesa-dev] [PATCH] glsl2: do copy propagation to non-out call params

2010-08-06 Thread Eric Anholt
On Fri, 6 Aug 2010 16:13:48 +0200, Aras Pranckevicius wrote: > Hi, > > Attached patch improves GLSL2 copy propagation to non-out ir_call > parameters. Seems to improve optimizations in my tests. Applied this and the inlining fix. Thanks! pgpiY7g6XtTIe.pgp Description: PGP signature ___

Re: [Mesa-dev] glsl2: optimizing unused struct assignments

2010-08-06 Thread Eric Anholt
On Fri, 6 Aug 2010 09:46:17 +0200, Aras Pranckevicius wrote: > > Pushed a change that cleans up the shader you pasted.  Mostly.  There's > > still some junk in it that we could do better at.  Results below. > > Very nice, thanks! > > > > By the way, it would be useful to get some examples of yo

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread Kevin H. Hobbs
On 08/06/2010 03:15 PM, tom fogal wrote: > > If you could build VTK with just a single GL library -- i.e. with just > libOSMesa or just libGL, but not both -- and could reproduce the crash, > that would rule out my symbol collision theory. I am not sure how easy > that is, though... > That was

Re: [Mesa-dev] 7.8, round 2.

2010-08-06 Thread tom fogal
tom fogal writes: > tom fogal writes: > > the branch is at: > > > > git://people.freedesktop.org/~tfogal/mesa > > http://cgit.freedesktop.org/~tfogal/mesa/log/?h=7.8 > > I'd like to push this to 'origin' tomorrow, if there are no > complaints between now and then. None heard. I created a r

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread Kevin H. Hobbs
On 08/06/2010 10:47 AM, tom fogal wrote: > "Kevin H. Hobbs" writes: >> >> my git bisect script uses : >> >> make -j8 linux-x86-64-debug >> >> so -fvisibility=3Dhidden is not added to the command line of the >> builds in the git bisection. > > Oh. Can you add it into your bisect script and try

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #9 from José Fonseca 2010-08-06 11:37:20 PDT --- I like the direction of the nobled patches. But that said, I can only accept the patches when they provoke no regressions for llvm-2.6, regardless where the fault lies. It appears th

Re: [Mesa-dev] Mesa (master): draw: Remove unnecessary vertex flag ANDs.

2010-08-06 Thread Chia-I Wu
On Fri, Aug 6, 2010 at 9:44 PM, Brian Paul wrote: > On 08/05/2010 11:53 PM, Chia-I Wu wrote: >> >> Module: Mesa >> Branch: master >> Commit: 642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 >> URL: >>  http://cgit.freedesktop.org/mesa/mesa/commit/?id=642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 >> >> Author:

[Mesa-dev] [Bug 29420] Amnesia / HPL2 RendererFeatTest - not rendering correctly

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29420 Sven Arvidsson changed: What|Removed |Added Summary|Amnesia / HPL2 |Amnesia / HPL2 |Rende

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #8 from nobled 2010-08-06 09:17:33 PDT --- Created an attachment (id=37642) View: https://bugs.freedesktop.org/attachment.cgi?id=37642 Review: https://bugs.freedesktop.org/review?bug=29407&attachment=37642 draw: Use the correct typ

Re: [Mesa-dev] Gallium depth clamp support

2010-08-06 Thread Keith Whitwell
On Fri, 2010-08-06 at 08:29 -0700, Marek Olšák wrote: > On Mon, Jul 26, 2010 at 8:11 PM, Brian Paul wrote: > > On 07/23/2010 03:27 PM, Roland Scheidegger wrote: > On 22.07.2010 01:27, Brian Paul wrote: > On 07/21/2010 05:19 PM, Marek Olšák w

Re: [Mesa-dev] Gallium depth clamp support

2010-08-06 Thread Marek Olšák
On Mon, Jul 26, 2010 at 8:11 PM, Brian Paul wrote: > On 07/23/2010 03:27 PM, Roland Scheidegger wrote: > >> On 22.07.2010 01:27, Brian Paul wrote: >> >>> On 07/21/2010 05:19 PM, Marek Olšák wrote: >>> On Thu, Jul 22, 2010 at 12:17 AM, Roland Scheidegger>>> > wrote

[Mesa-dev] [Bug 29420] Amnesia / HPL2 RendererFeatTest - not rendering correctly, segfaults

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29420 --- Comment #2 from Sven Arvidsson 2010-08-06 08:20:46 PDT --- A lot of GLSL errors: ERROR: Could not create texture 'LinearDepth' ERROR: Frame buffer 'LinearDepth' is not complete! Incomplete draw buffer! ERROR: Failed to compile GLSL shader '/

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread Kevin H. Hobbs
On 08/05/2010 06:50 PM, Brian Paul wrote: > > Kevin, you seem to have identified two potential commits that caused > trouble: > > 91c37599f621a0ec498c0f0add14f16470ca852b > and > 36b3a8bd5a317ab297f44b19fd14c7e76ec2fc77 > > You should go to the head of the Mesa git tree and then undo each of > t

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #7 from steckde...@yahoo.fr 2010-08-06 08:14:55 PDT --- Created an attachment (id=37640) --> (https://bugs.freedesktop.org/attachment.cgi?id=37640) Compressed output of neverball when running with llvmpipe (4,7 MB uncompressed) Hello

Re: [Mesa-dev] [RFC] gallium: Make printing info on debug builds default off

2010-08-06 Thread Brian Paul
On 08/05/2010 07:17 PM, Jakob Bornecrantz wrote: This commit silences the printing off most of the debug information when running debug builds. The big culprits are the the tgsi sanity checker that gets run on all shaders on debug. All the options. And finaly the cpu caps printer. This came afte

[Mesa-dev] [Bug 29420] Amnesia / HPL2 RendererFeatTest - not rendering correctly, segfaults

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29420 --- Comment #1 from Sven Arvidsson 2010-08-06 08:05:39 PDT --- Created an attachment (id=37639) --> (https://bugs.freedesktop.org/attachment.cgi?id=37639) Backtrace from the crash -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cg

[Mesa-dev] [Bug 29420] New: Amnesia / HPL2 RendererFeatTest - not rendering correctly, segfaults

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29420 Summary: Amnesia / HPL2 RendererFeatTest - not rendering correctly, segfaults Product: Mesa Version: git Platform: Other URL: http://frictionalgames.com/forum/thread-360

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread tom fogal
"Kevin H. Hobbs" writes: > On 08/05/2010 07:07 PM, tom fogal wrote: > > Brian Paul writes: > >> My other hunch is something is duplicated in the libOSMesa and libGL > >> libraries that's causing things to blow up in general. > >> > > Do note that both of these issues are from the > > pre-"-fvisib

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread tom fogal
"Kevin H. Hobbs" writes: > On 08/05/2010 06:30 PM, tom fogal wrote: > > Is your test multithreaded, by any chance? > > I can't really answer this : it's VTK's test. > > When I run the test in gdb it tells me : > > [Thread debugging using libthread_db enabled] No, then; you'd see: [New Threa

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread Kevin H. Hobbs
On 08/05/2010 06:30 PM, tom fogal wrote: > > > Is your test multithreaded, by any chance? > I can't really answer this : it's VTK's test. When I run the test in gdb it tells me : [Thread debugging using libthread_db enabled] and when I quit from gdb gdb warns me that : A debugging session i

[Mesa-dev] [PATCH] glsl2: do copy propagation to non-out call params

2010-08-06 Thread Aras Pranckevicius
Hi, Attached patch improves GLSL2 copy propagation to non-out ir_call parameters. Seems to improve optimizations in my tests. -- Aras Pranckevičius work: http://unity3d.com home: http://aras-p.info do-propagation-into-non-out-call-params.patch Description: Binary data _

Re: [Mesa-dev] Mesa (master): draw: Remove unnecessary vertex flag ANDs.

2010-08-06 Thread Brian Paul
On 08/05/2010 11:53 PM, Chia-I Wu wrote: Module: Mesa Branch: master Commit: 642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=642d5ba79abc6a231a5fdabb3454b9b082b0d7f8 Author: Chia-I Wu Date: Wed Aug 4 14:37:40 2010 +0800 draw: Remove unnecess

Re: [Mesa-dev] [PATCH-RFC] draw: Rewrite primitive decomposer

2010-08-06 Thread Chia-I Wu
On Fri, Aug 6, 2010 at 6:03 PM, Henri Verbeet wrote: > On 5 August 2010 18:51, Chia-I Wu wrote: >> The GL rule is last vertex last for each primitive.  The D3D rule is first >> vertex first.  My idea is to have draw_decompose_tmp.h use a local variable, >> last_vertex_last, to select the rules.  

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #6 from steckde...@yahoo.fr 2010-08-06 05:53:16 PDT --- Created an attachment (id=37636) --> (https://bugs.freedesktop.org/attachment.cgi?id=37636) Output of glxgears when using llvmpipe Hello, Thank you for your patch, the situatio

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #5 from nobled 2010-08-06 04:49:01 PDT --- Created an attachment (id=37631) View: https://bugs.freedesktop.org/attachment.cgi?id=37631 Review: https://bugs.freedesktop.org/review?bug=29407&attachment=37631 llvmpipe: Use floating-po

[Mesa-dev] [Bug 29407] llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

2010-08-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 nobled changed: What|Removed |Added Attachment #37590|0 |1 is obsolete|

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-06 Thread Kevin H. Hobbs
On 08/05/2010 07:07 PM, tom fogal wrote: > Brian Paul writes: > [snip] > >> My other hunch is something is duplicated in the libOSMesa and libGL >> libraries that's causing things to blow up in general. >> > Do note that both of these issues are from the pre-"-fvisibility=hidden > by defau

[Mesa-dev] [PATCH] glsl2: fix inlining with samplers (iterator next() were missing)

2010-08-06 Thread Aras Pranckevicius
Hi, Attached patch fixes GLSL2 inlining where samplers are involved. Broke with 199c441239762eec. -- Aras Pranckevičius work: http://unity3d.com home: http://aras-p.info ir_function_inlining-looks-like-iterator-next-were-m.patch Description: Binary data _

Re: [Mesa-dev] [PATCH-RFC] draw: Rewrite primitive decomposer

2010-08-06 Thread Henri Verbeet
On 5 August 2010 18:51, Chia-I Wu wrote: > The GL rule is last vertex last for each primitive.  The D3D rule is first > vertex first.  My idea is to have draw_decompose_tmp.h use a local variable, > last_vertex_last, to select the rules.  In draw_gs_tmp.h and > draw_so_emit_tmp.h, last_vertex_last

Re: [Mesa-dev] glsl2: optimizing unused struct assignments

2010-08-06 Thread Aras Pranckevicius
> Pushed a change that cleans up the shader you pasted.  Mostly.  There's > still some junk in it that we could do better at.  Results below. Very nice, thanks! > By the way, it would be useful to get some examples of your shaders as > shader_runner tests in piglit.  That makes them easy to anal