mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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 <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
f38ce6ea8c
commit
f48136e9c5
1 changed files with 2 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue