Module: Mesa
Branch: main
Commit: 0772242feba5b7b967ce1f5a2962cf7b754ec036
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0772242feba5b7b967ce1f5a2962cf7b754ec036

Author: Jason Ekstrand <[email protected]>
Date:   Thu Sep 24 16:27:43 2020 -0500

intel/eu: Don't throw validation errors on float MOV_INDIRECT

Fixes: 3f50dde8b35 ("intel/eu: Teach EU validator about FP/DP pipeline 
regioning restrictions.")
Reviewed-by: Kenneth Graunke <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17624>

---

 src/intel/compiler/brw_eu_validate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/compiler/brw_eu_validate.c 
b/src/intel/compiler/brw_eu_validate.c
index 0db30a46771..4443c81ddfc 100644
--- a/src/intel/compiler/brw_eu_validate.c
+++ b/src/intel/compiler/brw_eu_validate.c
@@ -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),

Reply via email to