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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5815f33c6b306be530b145418d31094ee8abe0c2;p=mesa.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 e5d77c9621b..2b69b2e92af 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",