summaryrefslogtreecommitdiffstats
path: root/include/c99_compat.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-08-24 12:56:22 -0400
committerRob Clark <[email protected]>2013-08-24 13:23:32 -0400
commitd63bbac3a5e88b791fd448856e2e6e15b1418221 (patch)
tree87030c54c2bf4478fc6bf4f30f7fe64b9fcf7e38 /include/c99_compat.h
parent4c91930a257ac500029f56514c5504ad66b7cf8f (diff)
freedreno/a3xx/compiler: make compiler errors more useful
We probably should get rid of assert() entirely, but at this stage it is more useful for things to crash where we can catch it in a debugger. With compile_error() we have a single place to set an error flag (to bail out and return an error on the next instruction) so that will be a small change later when enough of the compiler bugs are sorted. But re-arrange/cleanup the error/assert stuff so we at least get a dump of the TGSI that triggered it. So we see some useful output in piglit logs. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'include/c99_compat.h')
0 files changed, 0 insertions, 0 deletions