nir/opt_uniform_atomics: remove useless returns

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7117>
This commit is contained in:
Rhys Perry 2020-10-13 19:18:52 +01:00 committed by Marge Bot
parent 7758664788
commit 21422b1ff2

View file

@ -53,8 +53,6 @@ parse_atomic_op(nir_intrinsic_op op, unsigned *offset_src, unsigned *data_src)
case nir_intrinsic_deref_atomic_##intrin: \
*offset_src = 0; \
*data_src = 1; \
return nir_op_##alu; \
return nir_op_##alu; \
return nir_op_##alu;
#define OP(intrin, alu) \
OP_NOIMG(intrin, alu) \