mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
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:
parent
7758664788
commit
21422b1ff2
1 changed files with 0 additions and 2 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue