nir: use enum operator helper for nir_variable_mode and nir_metadata
authorKarol Herbst <kherbst@redhat.com>
Mon, 31 Aug 2020 16:08:49 +0000 (18:08 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 17:45:08 +0000 (17:45 +0000)
commit70cbddc4a7967c8889f8b10d8a31d7b8bdbde2fb
treeac105f1b3148d5dc9e015ede22ce7914ecd40823
parent76a1fb3b42c245a425fde55b97a393d3e1984112
nir: use enum operator helper for nir_variable_mode and nir_metadata

those are used quite a bit

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6520>
src/amd/compiler/aco_instruction_selection_setup.cpp
src/compiler/nir/nir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
src/gallium/drivers/r600/sfn/sfn_nir.cpp
src/gallium/drivers/r600/sfn/sfn_nir_lower_fs_out_to_vector.cpp
src/gallium/frontends/clover/nir/invocation.cpp
src/intel/compiler/brw_fs.cpp
src/mesa/state_tracker/st_glsl_to_nir.cpp