intel/fs/xe2+: Scale BRW_MAX_MSG_LENGTH by native register size.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25020>
This commit is contained in:
committed by
Jordan Justen
parent
4de065f6a2
commit
8b1dc77521
@@ -1758,7 +1758,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width,
|
||||
assert(inst->force_writemask_all || inst->exec_size >= 4);
|
||||
assert(inst->force_writemask_all || inst->group % inst->exec_size == 0);
|
||||
assert(inst->base_mrf + inst->mlen <= BRW_MAX_MRF(devinfo->ver));
|
||||
assert(inst->mlen <= BRW_MAX_MSG_LENGTH);
|
||||
assert(inst->mlen <= BRW_MAX_MSG_LENGTH * reg_unit(devinfo));
|
||||
|
||||
switch (inst->opcode) {
|
||||
case BRW_OPCODE_SYNC:
|
||||
|
||||
Reference in New Issue
Block a user