This was found by accident, and looks like it slipped in when the whole
file was added.
---
 src/intel/compiler/brw_eu_validate.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/intel/compiler/brw_eu_validate.c 
b/src/intel/compiler/brw_eu_validate.c
index 64615af44ac..3655dde5a65 100644
--- a/src/intel/compiler/brw_eu_validate.c
+++ b/src/intel/compiler/brw_eu_validate.c
@@ -407,18 +407,6 @@ general_restrictions_based_on_operand_types(const struct 
gen_device_info *devinf
    unsigned exec_size = 1 << brw_inst_exec_size(devinfo, inst);
    struct string error_msg = { .str = NULL, .len = 0 };
 
-   if (num_sources == 3)
-      return (struct string){};
-
-   if (inst_is_send(devinfo, inst))
-      return (struct string){};
-
-   if (exec_size == 1)
-      return (struct string){};
-
-   if (desc->ndst == 0)
-      return (struct string){};
-
    /* The PRMs say:
     *
     *    Where n is the largest element size in bytes for any source or
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to