util/bitset: ensure the sets compared have the same size at compile time
authorEric Engestrom <eric@igalia.com>
Mon, 22 May 2023 18:51:15 +0000 (19:51 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 23 May 2023 17:31:17 +0000 (17:31 +0000)
commitca856143d498694fd121208a949edc9a7aa8c432
tree9b7b88b05d97823631887317277985575473e837
parent348818fc6c56b818ed9f103196a8e45a6b92289b
util/bitset: ensure the sets compared have the same size at compile time

Instead of checking this at run time.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23171>
src/util/bitset.h