intel/eu: Don't throw validation errors on float MOV_INDIRECT
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 24 Sep 2020 21:27:43 +0000 (16:27 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 28 Jul 2022 21:31:45 +0000 (21:31 +0000)
Fixes: 3f50dde8b35 ("intel/eu: Teach EU validator about FP/DP pipeline regioning restrictions.")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17624>

src/intel/compiler/brw_eu_validate.c

index 0db30a4..4443c81 100644 (file)
@@ -1976,6 +1976,7 @@ special_requirements_for_handling_double_precision_data_types(
           (brw_reg_type_is_floating_point(dst_type) ||
            is_double_precision)) {
          ERROR_IF(!is_scalar_region &&
+                  BRW_ADDRESS_REGISTER_INDIRECT_REGISTER != address_mode &&
                   (vstride != width * hstride ||
                    src_stride != dst_stride ||
                    subreg != dst_subreg),