diff --git a/.pick_status.json b/.pick_status.json index ef602b6636b..7c0e23e027f 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -464,7 +464,7 @@ "description": "brw/emit: Fix typo in recently added ADD3 assertion", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "c1c09e3c4a0fedd777442828efefb672e99b8dbc", "notes": null diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c index c22fd1435b4..1466f831601 100644 --- a/src/intel/compiler/brw_eu_emit.c +++ b/src/intel/compiler/brw_eu_emit.c @@ -562,7 +562,7 @@ brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest, /* Having two immediate sources is allowed, but this should have been * converted to a regular ADD by brw_fs_opt_algebraic. */ - assert(opcode == BRW_OPCODE_ADD3 || + assert(opcode != BRW_OPCODE_ADD3 || !(src0.file == IMM && src2.file == IMM)); }