pan/decode: Calm an assert to a pandecode error

We'd like to see what the problem actually was...

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4025>
This commit is contained in:
Alyssa Rosenzweig 2020-02-25 17:29:55 -05:00 committed by Marge Bot
parent b4ddc6139b
commit 5815f33c6b
1 changed files with 2 additions and 2 deletions

View File

@ -2057,8 +2057,8 @@ pandecode_shader_prop(const char *name, unsigned claim, signed truth, bool fuzzy
if (claim == truth)
return;
if (fuzzy)
assert(truth >= 0);
if (fuzzy && (truth < 0))
pandecode_msg("XXX: fuzzy %s, claimed %d, expected %d\n", name, claim, truth);
if ((truth >= 0) && !fuzzy) {
pandecode_msg("%s: expected %s = %d, claimed %u\n",