From: Jason Ekstrand Date: Tue, 14 Jul 2020 19:40:35 +0000 (-0500) Subject: intel/fs: Use the correct logical op for global float atomics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=675d7b19a9aece0ea674eadba20ec2b01c86de6e;p=mesa.git intel/fs: Use the correct logical op for global float atomics Fixes: e644ed468f98 "intel/fs: Implement nir_intrinsic_global_atomic_*" Reviewed-by: Lionel Landwerlin Part-of: --- diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index f188d898923..15df3dc7763 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -5477,7 +5477,7 @@ fs_visitor::nir_emit_global_atomic_float(const fs_builder &bld, data = tmp; } - bld.emit(SHADER_OPCODE_A64_UNTYPED_ATOMIC_LOGICAL, + bld.emit(SHADER_OPCODE_A64_UNTYPED_ATOMIC_FLOAT_LOGICAL, dest, addr, data, brw_imm_ud(op)); }