zink: change a memcmp==0 to !memcmp
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7801>
This commit is contained in:
committed by
Marge Bot
parent
b47407269d
commit
0ce792b2e2
@@ -324,7 +324,7 @@ hash_gfx_pipeline_state(const void *key)
|
||||
static bool
|
||||
equals_gfx_pipeline_state(const void *a, const void *b)
|
||||
{
|
||||
return memcmp(a, b, offsetof(struct zink_gfx_pipeline_state, hash)) == 0;
|
||||
return !memcmp(a, b, offsetof(struct zink_gfx_pipeline_state, hash));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user