diff --git a/.pick_status.json b/.pick_status.json index ee16722166b..e5073f0beb2 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3010,7 +3010,7 @@ "description": "intel/compiler: Drop redundant 32-bit expansion for shared float atomics", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "43169dbbe5f963ca47d51873f6639fbe3fd665b0" }, diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index ca5d2bc13fc..769077473c7 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -6109,7 +6109,7 @@ fs_visitor::nir_emit_shared_atomic(const fs_builder &bld, if (op == BRW_AOP_CMPWR) { fs_reg tmp = bld.vgrf(data.type, 2); fs_reg sources[2] = { - expand_to_32bit(bld, data), + data, expand_to_32bit(bld, get_nir_src(instr->src[2])) }; bld.LOAD_PAYLOAD(tmp, sources, 2, 0);