Both patches are:
Reviewed-by: Eduardo Lima Mitev
Together with the other patch you sent earlier, I get these results for
dEQP-GLES31.functional.debug.* :
Test run totals:
Passed:1004/1010 (99.4%)
Failed:6/1010 (0.6%)
Not supported: 0/1010 (0.0%)
Warnings: 0/1010
The KHR_debug spec doesn't actually say we should handle this, but that
is most likely an oversight - it says to check against strlen and
generate errors if length is negative. It appears they just forgot to
explicitly spell out that we should then proceed to actually handle it.
Fixes crashes fro