nir: return a status from nir_remove_varying whether it removed the instruction
authorMarek Olšák <marek.olsak@amd.com>
Sun, 12 Mar 2023 07:29:18 +0000 (03:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Apr 2023 21:42:11 +0000 (21:42 +0000)
commitea9156edc3624e0aed65d85561d0ef6ade9c2225
tree336a721fa46ae5ecec2d2a32543af9b9b8ad2929
parent9d78fec68486018bd7ce89dba53b8f5fddf60e6e
nir: return a status from nir_remove_varying whether it removed the instruction

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21861>
src/compiler/nir/nir.c
src/compiler/nir/nir.h