On Tue, 2009-12-15 at 06:12 -0800, Zack Rusin wrote: > The attached patch makes the tgsi assembly parser report, in an admittedly > rather crude way, the line number at which a syntax error was detected. What > do you think about that? > > z
Is this the same as the line number printed in TGSI dumps, or different? I suspect different, as TGSI doesn't require those line numbers, and they don't start from the top of the shader. Currently I think they are only used as labels for CALL and similar opcodes... This is confusing but probably unavoidable. I think we may want to look at labels again and see if we can do better, in which case the line numbers in TGSI dumps could start from the top of the shader. Keith ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev