Re: [Mesa-dev] talloc (Was: Merge criteria for glsl2 branch)

2010-08-10 Thread Aras Pranckevicius
> > > No, it's missing most of the API that talloc provides. Also, > > http://github.com/aras-p/glsl-optimizer/ ported it to windows. > Could then Aras Pranckevicius's talloc port to windows be merged into > glsl2 branch before glsl2 is merged into master? First things first: I needed to make it

[Mesa-dev] [Bug 29487] software offscreen renderer problem with fix

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29487 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] talloc (Was: Merge criteria for glsl2 branch)

2010-08-10 Thread José Fonseca
On Sun, 2010-08-01 at 10:19 -0700, Eric Anholt wrote: > On Tue, 27 Jul 2010 21:32:57 +0100, José Fonseca wrote: > > > > On Wed, 2010-07-21 at 18:53 -0700, Ian Romanick wrote: > > > As everyone knows, a group of us at Intel have been rewriting Mesa's > > > GLSL compiler. The work started out-of-t

[Mesa-dev] [Bug 29488] [patch] MesaGLUT needs to support GLX_ARB_multisample

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29488 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #8 from Brian Paul 2010-08-10 14:04:42 PDT --- I would normally object to going outside the spec with something like this but I think that the benefit (allowing various apps to run that wouldn't otherwise) outweighs the downside. --

[Mesa-dev] [Bug 29490] [glsl2] Compiler generates reads from shader outputs

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29490 --- Comment #1 from Brian Paul 2010-08-10 14:02:17 PDT --- See the _mesa_remove_output_reads() function. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are th

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-10 Thread tom fogal
"Kevin H. Hobbs" writes: > On 08/10/2010 02:47 PM, Kevin H. Hobbs wrote: > With VTK_USE_X:BOOL=OFF the test also passes with libGL.so and > libOSMesa.so switched that is > > VTK_USE_X:BOOL=OFF > OPENGL_gl_LIBRARY:FILEPATH=/home/kevin/mesa/lib/libOSMesa.so > OSMESA_LIBRARY:FILEPATH=/home/kevin/mes

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-10 Thread Kevin H. Hobbs
On 08/10/2010 02:47 PM, Kevin H. Hobbs wrote: > > VTK_USE_X:BOOL=OFF > With VTK_USE_X:BOOL=OFF the test also passes with libGL.so and libOSMesa.so switched that is VTK_USE_X:BOOL=OFF OPENGL_gl_LIBRARY:FILEPATH=/home/kevin/mesa/lib/libOSMesa.so OSMESA_LIBRARY:FILEPATH=/home/kevin/mesa/lib/libGL.

Re: [Mesa-dev] Merge of glsl2 branch to master

2010-08-10 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keith Whitwell wrote: > On Mon, 2010-08-09 at 23:48 -0700, Eric Anholt wrote: >> The previous compiler called _mesa_remove_output_reads unconditionally, >> while the new compiler doesn't. This should be left up to the backend >> in my opinion, so perh

[Mesa-dev] [Bug 29490] New: [glsl2] Compiler generates reads from shader outputs

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29490 Summary: [glsl2] Compiler generates reads from shader outputs Product: Mesa Version: git Platform: All OS/Version: All Status: NEW Severity: normal Priority: medium

Re: [Mesa-dev] glsl2 compiler preprocessor regression

2010-08-10 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Jones wrote: > I have a shader that fails to pre-process on the new compiler, but > does compile on the old one, I've reduced it to this: > > #ifdef FOO > #if FOO == 4 > #elif SAMP == 5 > #endif > #endif > void main() { gl_FragData[0] = vec4(0

[Mesa-dev] [Bug 29489] [glsl2] piglit test preprocess-01.frag fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29489 Ian Romanick changed: What|Removed |Added QAContact||kenn...@whitecape.org CC|

[Mesa-dev] [Bug 29489] New: [glsl2] piglit test preprocess-01.frag fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29489 Summary: [glsl2] piglit test preprocess-01.frag fails Product: Mesa Version: git Platform: All OS/Version: All Status: NEW Severity: normal Priority: medium

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #7 from Ian Romanick 2010-08-10 12:10:35 PDT --- (In reply to comment #2) > The range of relative addressing offsets was increased to allow Wine apps to > run. Other GL drivers allow offsets outside the [-64,63] range too. We > sh

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-10 Thread Kevin H. Hobbs
On 08/06/2010 05:20 PM, tom fogal wrote: > Well, it does appear to be some type of symbol resolution/overloading > issue. However it seems to be with internal Mesa symbols. Switching > to a single library -- that is, putting OSMesaCreateContext, etc. into > libGL directly, and getting rid of libO

Re: [Mesa-dev] Merge of glsl2 branch to master

2010-08-10 Thread Christoph Bumiller
On 08/10/2010 11:06 AM, Keith Whitwell wrote: > On Mon, 2010-08-09 at 23:48 -0700, Eric Anholt wrote: >> On Mon, 09 Aug 2010 19:05:52 -0700, Ian Romanick >> wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Tom Stellard wrote: On Fri, Aug 06, 2010 at 03:24:50PM -0700, Ian

[Mesa-dev] [Bug 29488] [patch] MesaGLUT needs to support GLX_ARB_multisample

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29488 --- Comment #1 from Nigel Stewart 2010-08-10 10:09:28 PDT --- Some more observation in support of this patch: Note that glut_win.c already does support GLX_ARB_multisample. However, glut_overlay doesn't seem to. -- Configure bugmail: https:/

[Mesa-dev] [Bug 29488] [patch] MesaGLUT needs to support GLX_ARB_multisample

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29488 Nigel Stewart changed: What|Removed |Added Summary|MesaGLUT needs to support |[patch] MesaGLUT needs to

[Mesa-dev] [Bug 29488] MesaGLUT needs to support GLX_ARB_multisample

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29488 Nigel Stewart changed: What|Removed |Added CC||nstew...@nvidia.com -- Configure bugmai

[Mesa-dev] [Bug 29488] New: MesaGLUT needs to support GLX_ARB_multisample

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29488 Summary: MesaGLUT needs to support GLX_ARB_multisample Product: Mesa Version: 7.6 Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority

[Mesa-dev] [Bug 29487] software offscreen renderer problem with fix

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29487 --- Comment #2 from Mathias Fröhlich 2010-08-10 09:47:35 PDT --- Created an attachment (id=37771) View: https://bugs.freedesktop.org/attachment.cgi?id=37771 Review: https://bugs.freedesktop.org/review?bug=29487&attachment=37771 Patch to the s

[Mesa-dev] [Bug 29487] software offscreen renderer problem with fix

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29487 --- Comment #1 from Alex Deucher 2010-08-10 09:28:23 PDT --- patch? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. __

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #6 from Brian Paul 2010-08-10 08:31:24 PDT --- Created an attachment (id=37770) View: https://bugs.freedesktop.org/attachment.cgi?id=37770 Review: https://bugs.freedesktop.org/review?bug=29418&attachment=37770 add/use new gl_progr

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #5 from Brian Paul 2010-08-10 08:30:27 PDT --- Created an attachment (id=37769) View: https://bugs.freedesktop.org/attachment.cgi?id=37769 Review: https://bugs.freedesktop.org/review?bug=29418&attachment=37769 increase INST_INDEX_

[Mesa-dev] [Bug 29487] New: software offscreen renderer problem with fix

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29487 Summary: software offscreen renderer problem with fix Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium

[Mesa-dev] glsl2 compiler preprocessor regression

2010-08-10 Thread Thomas Jones
I have a shader that fails to pre-process on the new compiler, but does compile on the old one, I've reduced it to this: #ifdef FOO #if FOO == 4 #elif SAMP == 5 #endif #endif void main() { gl_FragData[0] = vec4(0);} I think it might be mis-nesting the #elif since it succeeds if I change it to:

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-10 Thread Kevin H. Hobbs
Although the backtrace after the segfault does not show other functions between vtkOpenGLRenderWindow::OpenGLInit and vbo_exec_EvalCoord1fv I am able to set a breakpoint at vtkOpenGLRenderWindow::OpenGLInit and step through the program. I can see the execution moving through mesa functions. I'm onl

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #4 from Marek Olšák 2010-08-10 07:56:13 PDT --- I think it would be reasonable to increase INST_INDEX_BITS as some GLSL programs might overflow this easily in theory. Sorry for not spotting this regression earlier. -- Configure bug

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #3 from Brian Paul 2010-08-10 07:37:53 PDT --- There's another issue with commit 0614006d090902324149387ec150231b647928fd, however. The offset limits are now [-4096,4095] but that's greater than what will fit in the prog_src_registe

[Mesa-dev] [Bug 29418] [bisected] piglit asmparsertest_ARBvp1.0_address-06 fails

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29418 --- Comment #2 from Brian Paul 2010-08-10 07:27:36 PDT --- The range of relative addressing offsets was increased to allow Wine apps to run. Other GL drivers allow offsets outside the [-64,63] range too. We should probably remove that piglit t

Re: [Mesa-dev] [PATCH]R600g more pipe_cap shader params

2010-08-10 Thread Marek Olšák
I've already committed some of the changes and fixed others here: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00963589b4d92460e3ae2c1557a5d816b5c67a6d If you still think there is something incorrect, please attach a new patch against current mesa git. -Marek On Sun, Aug 8, 2010 at 9:30 PM,

[Mesa-dev] [PATCH]R600g more pipe_cap shader params

2010-08-10 Thread Владимир
Patch based mainly on info from r600c and few bits taken from r300g (vertex tex instruction params) patch_r600g.diff Description: Binary data ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2010-08-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29407 --- Comment #26 from José Fonseca 2010-08-10 02:26:23 PDT --- I've applied the three additional patches. Thanks. (In reply to comment #25) > Created an attachment (id=37748) View: https://bugs.freedesktop.org/attachment.cgi?id=37748 Review: h

Re: [Mesa-dev] Merge of glsl2 branch to master

2010-08-10 Thread Keith Whitwell
On Mon, 2010-08-09 at 23:48 -0700, Eric Anholt wrote: > On Mon, 09 Aug 2010 19:05:52 -0700, Ian Romanick wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Tom Stellard wrote: > > > On Fri, Aug 06, 2010 at 03:24:50PM -0700, Ian Romanick wrote: > > >> -BEGIN PGP SIGNED MESSAG