intel/fs: Use the correct logical op for global float atomics

Fixes: e644ed468f "intel/fs: Implement nir_intrinsic_global_atomic_*"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5992>
This commit is contained in:
Jason Ekstrand 2020-07-14 14:40:35 -05:00 committed by Marge Bot
parent 84086b620e
commit 675d7b19a9
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}