diff options
author | Jason Ekstrand <[email protected]> | 2016-04-25 11:36:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-27 11:21:06 -0700 |
commit | 736ee0bef7ec71370185395aeba443e12b6d3813 (patch) | |
tree | ed14e5825f1deb64b94fa6f7db0e6b8b3f953e69 /src/mesa/math/m_xform.c | |
parent | b1dcedf393e2464fb70e793b9224c5ad438e2914 (diff) |
nir/algebraic: Do better error reporting of bad expressions
Previously, if an exception was encountered anywhere, nir_algebraic would
just die in a fire with no indication whatsoever as to where the actual bug
is. This commit makes it print out the particular search-and-replace
expression that is causing problems along with the exception. Also, it
will now report all of the errors it finds and then exit at the end like a
standard C compiler would do.
Reviewed-by: Dylan Baker <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/math/m_xform.c')
0 files changed, 0 insertions, 0 deletions