Revert "intel/fs: Fix inferred_sync_pipe for F16TO32 opcodes"
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Mar 2023 04:18:56 +0000 (20:18 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 9 Mar 2023 23:26:17 +0000 (23:26 +0000)
With the previous patch, we no longer need to special case this, as we
emit a MOV with an HF source, rather than F16TO32 with an UW source,
on all platforms that need scoreboarding.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21783>

src/intel/compiler/brw_fs_scoreboard.cpp

index dd31b01..2418357 100644 (file)
@@ -84,8 +84,7 @@ namespace {
             if (inst->src[i].file != BAD_FILE &&
                 !inst->is_control_source(i)) {
                const brw_reg_type t = inst->src[i].type;
-               has_int_src |= !brw_reg_type_is_floating_point(t) &&
-                              inst->opcode != BRW_OPCODE_F16TO32;
+               has_int_src |= !brw_reg_type_is_floating_point(t);
                has_long_src |= type_sz(t) >= 8;
             }
          }