intel/compiler: No need to re-type the destination register
For 16-bit float case handling, intermediate destination register is already 32-bit wide, we don't have to retype it to 32-bit. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29506>
This commit is contained in:
@@ -7713,8 +7713,7 @@ fs_nir_emit_surface_atomic(nir_to_brw_state &ntb, const fs_builder &bld,
|
||||
bld.emit(SHADER_OPCODE_UNTYPED_ATOMIC_LOGICAL,
|
||||
retype(dest32, dest.type),
|
||||
srcs, SURFACE_LOGICAL_NUM_SRCS);
|
||||
bld.MOV(retype(dest, BRW_TYPE_UW),
|
||||
retype(dest32, BRW_TYPE_UD));
|
||||
bld.MOV(retype(dest, BRW_TYPE_UW), dest32);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user