commit | 923577c0662e5f3d0e50f76198eed1abc8d35e95 | [log] [tgz] |
---|---|---|
author | Vinson Lee <vlee@freedesktop.org> | Mon Oct 26 19:43:44 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Fri Nov 06 01:42:35 2020 +0000 |
tree | 7eac2cc5a5f41351fcf4a823b62e5cca37f9b315 | |
parent | 03683b9b2e697302c86abab80be702596f44a06e [diff] |
v3dv: Remove unsigned comparison to zero. subpass_idx is of type uint32_t. Fix defects reported by Coverity Scan. Macro compares unsigned to 0 (NO_EFFECT) unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. subpass_idx >= 0U. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7325>