From 5815f33c6b306be530b145418d31094ee8abe0c2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 25 Feb 2020 17:29:55 -0500 Subject: 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: --- src/panfrost/pandecode/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- cgit v1.2.3