intel/compiler: Drop redundant 32-bit expansion for shared float atomics
We already expanded data to 32-bit a few lines earlier, so this is just
redundantly doing it a second time.
Fixes: 43169dbbe5
("intel/compiler: Support 16 bit float ops")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20604>
This commit is contained in:

committed by
Marge Bot

parent
02129eee3a
commit
f7b29d7924
@@ -6091,7 +6091,7 @@ fs_visitor::nir_emit_shared_atomic(const fs_builder &bld,
|
||||
if (op == LSC_OP_ATOMIC_CMPXCHG) {
|
||||
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);
|
||||
|
Reference in New Issue
Block a user