From: Alyssa Rosenzweig Date: Tue, 25 Feb 2020 22:29:55 +0000 (-0500) Subject: pan/decode: Calm an assert to a pandecode error X-Git-Tag: upstream/20.1.8~2976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5815f33c6b306be530b145418d31094ee8abe0c2;p=platform%2Fupstream%2Fmesa.git pan/decode: Calm an assert to a pandecode error We'd like to see what the problem actually was... Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index e5d77c9..2b69b2e 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -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",