diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-22 09:02:48 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-22 12:56:35 -0700 |
commit | f48136e9c5a72f97f4035d64aae00d9dfc0cdb67 (patch) | |
tree | 3f17cb163ed2841021f9e6d5cb42c415be7a9520 /src/panfrost/pandecode | |
parent | f38ce6ea8cd1dd4af4c698e98c32d93cbce92ae4 (diff) |
pan/decode: Downgrade shader property mismatch to warning
If we permit more $whatever through than the shader needs, that's a bit
of a waste, but it isn't an error.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 96afc07522a..d6b5404de10 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -1949,7 +1949,8 @@ pandecode_shader_prop(const char *name, unsigned claim, signed truth, bool fuzzy assert(truth >= 0); if ((truth >= 0) && !fuzzy) { - pandecode_msg("XXX: expected %s = %d, claimed %u\n", + pandecode_msg("%s: expected %s = %d, claimed %u\n", + (truth < claim) ? "warn" : "XXX", name, truth, claim); } else if ((claim > -truth) && !fuzzy) { pandecode_msg("XXX: expected %s <= %u, claimed %u\n", |