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:
parent
b4ddc6139b
commit
5815f33c6b
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue