From: Jason Ekstrand Date: Fri, 16 Nov 2018 22:25:12 +0000 (-0600) Subject: intel/eu/validate: SEND restrictions also apply to SENDC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3aa436bfefda5032facc78359ad0807a40db4b8;p=mesa.git intel/eu/validate: SEND restrictions also apply to SENDC Reviewed-by: Iago Toral Quiroga --- diff --git a/src/intel/compiler/brw_eu_validate.c b/src/intel/compiler/brw_eu_validate.c index 26fe2922f0d..5e505992842 100644 --- a/src/intel/compiler/brw_eu_validate.c +++ b/src/intel/compiler/brw_eu_validate.c @@ -263,7 +263,8 @@ send_restrictions(const struct gen_device_info *devinfo, { struct string error_msg = { .str = NULL, .len = 0 }; - if (brw_inst_opcode(devinfo, inst) == BRW_OPCODE_SEND) { + if (brw_inst_opcode(devinfo, inst) == BRW_OPCODE_SEND || + brw_inst_opcode(devinfo, inst) == BRW_OPCODE_SENDC) { ERROR_IF(brw_inst_src0_address_mode(devinfo, inst) != BRW_ADDRESS_DIRECT, "send must use direct addressing");