mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 09:00:08 +01:00
intel/eu/validate: SEND restrictions also apply to SENDC
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
fee6bd8d8e
commit
c3aa436bfe
1 changed files with 2 additions and 1 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue