diff options
author | Jason Ekstrand <[email protected]> | 2017-12-18 11:29:14 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-03-22 09:56:09 -0700 |
commit | d2eecf0b0b24d203d0f171807681dffd830d54de (patch) | |
tree | 93fa803ab6b8917371acd0369eddbc676b85bd0b /src/intel | |
parent | 1484876ef78219e8014278c2c43b8d90e6260b11 (diff) |
intel/compiler/icl: Clear "null render target" bit in extended message descriptor
Otherwise all our render target writes go no where.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_eu_emit.c | 3 | ||||
-rw-r--r-- | src/intel/compiler/brw_inst.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c index f039af56d05..ee5a048bcaa 100644 --- a/src/intel/compiler/brw_eu_emit.c +++ b/src/intel/compiler/brw_eu_emit.c @@ -536,6 +536,9 @@ brw_set_dp_write_message(struct brw_codegen *p, if (devinfo->gen < 7) { brw_inst_set_dp_write_commit(devinfo, insn, send_commit_msg); } + + if (devinfo->gen >= 11) + brw_inst_set_null_rt(devinfo, insn, false); } void diff --git a/src/intel/compiler/brw_inst.h b/src/intel/compiler/brw_inst.h index e6998973b64..8663c1b7f5b 100644 --- a/src/intel/compiler/brw_inst.h +++ b/src/intel/compiler/brw_inst.h @@ -505,6 +505,9 @@ FF(sfid, /* 6: */ 27, 24, /* 7: */ 27, 24, /* 8: */ 27, 24) +FF(null_rt, + /* 4-7: */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + /* 8: */ 80, 80) /* actually only Gen11+ */ FC(base_mrf, 27, 24, devinfo->gen < 6); /** @} */ |