aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/pandecode
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-25 17:29:55 -0500
committerMarge Bot <[email protected]>2020-03-03 00:03:50 +0000
commit5815f33c6b306be530b145418d31094ee8abe0c2 (patch)
treed7df125e6eed2e1b7d7a984c7beb642784f91195 /src/panfrost/pandecode
parentb4ddc6139b9534fb4559948ebcbaf96c76097d55 (diff)
pan/decode: Calm an assert to a pandecode error
We'd like to see what the problem actually was... Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4025>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r--src/panfrost/pandecode/decode.c4
1 files 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",