[Mesa-dev] [PATCH] glsl2: Fixed cloning of ir_call error instructions.

Tilman Sauerbeck tilman at code-monkey.de
Sat Sep 18 04:30:49 PDT 2010


Ian Romanick [2010-09-18 11:18]:
> Tilman Sauerbeck wrote:
> > Those have the callee field set to the null pointer, so
> > calling the public constructor will segfault.
> 
> Do you have a test that triggers this?  It would be good to have it in
> piglt.

I found the bug when I put a vertex shader in a file called foo.frag and
ran "glsl_compiler --dump-lir" on it.

  void main() { gl_Position.x += 1.0; }

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100918/c94c4f36/attachment.pgp>


More information about the mesa-dev mailing list