ac/llvm: implement nir_intrinsic_image_deref_atomic_{fmin,fmax}

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12716>
This commit is contained in:
Samuel Pitoiset
2021-09-03 10:25:37 +02:00
committed by Marge Bot
parent 9373db5d94
commit cf3e31fd11
3 changed files with 25 additions and 2 deletions

View File

@@ -388,6 +388,8 @@ enum ac_atomic_op
ac_atomic_xor,
ac_atomic_inc_wrap,
ac_atomic_dec_wrap,
ac_atomic_fmin,
ac_atomic_fmax,
};
/* These cache policy bits match the definitions used by the LLVM intrinsics. */