nir: add helper to clear all pass_flags
authorChristian Gmeiner <cgmeiner@igalia.com>
Wed, 21 Jun 2023 12:02:57 +0000 (14:02 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 29 Jun 2023 19:13:19 +0000 (19:13 +0000)
commitfada46cf99a04bd4d4ff2249444e5173fbc54a96
treee91801c450cd0e94986c3438240e457dd32c5707
parent690549f1b65a6828e6478f2d834b3682bc81e354
nir: add helper to clear all pass_flags

Will be used in different places so lets move it to a common place.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23931>
src/compiler/nir/nir.c
src/compiler/nir/nir.h