https://bugs.freedesktop.org/show_bug.cgi?id=98699
--- Comment #2 from Ian Romanick <i...@freedesktop.org> ---
I don't even want to know how you came across that. :) Just looking at the
backtrace, it seems the problem is the "a++" generates an assignment. The code
that handles array sizes doesn't anticipate any why for there to be anything
other than an expression tree without side-effects, so it fails the assertion.
The grammar doesn't allow anything else inside [] that would generate an
assignment, and I apparently didn't think about post-increment and friends.
Other things like function calls with out or inout parameters might also hit
this. It would be good to have a set of piglit tests to exercise this. If you
can write the tests, I should be able to fix Mesa. :)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev