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>
(cherry picked from commit 675d7b19a9)
This commit is contained in:
Jason Ekstrand 2020-07-14 14:40:35 -05:00 committed by Eric Engestrom
parent 2d64914d00
commit 0c1db92408
2 changed files with 2 additions and 2 deletions

View file

@ -625,7 +625,7 @@
"description": "intel/fs: Use the correct logical op for global float atomics",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "e644ed468f986b44310b1cc5d5695ed4d473223d"
},

View file

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