intel/compiler: nib_ctrl no longer exists on Xe2+
Ref: cfb34dc695 ("intel/eu/validate: Validate that the ExecSize is a factor of chosen ChanOff")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28191>
This commit is contained in:
@@ -249,7 +249,8 @@ invalid_values(const struct brw_isa_info *isa, const brw_inst *inst)
|
||||
if (devinfo->ver >= 12) {
|
||||
unsigned group_size = 1 << brw_inst_exec_size(devinfo, inst);
|
||||
unsigned qtr_ctrl = brw_inst_qtr_control(devinfo, inst);
|
||||
unsigned nib_ctrl = brw_inst_nib_control(devinfo, inst);
|
||||
unsigned nib_ctrl =
|
||||
devinfo->ver == 12 ? brw_inst_nib_control(devinfo, inst) : 0;
|
||||
|
||||
unsigned chan_off = (qtr_ctrl * 2 + nib_ctrl) << 2;
|
||||
ERROR_IF(chan_off % group_size != 0,
|
||||
|
||||
Reference in New Issue
Block a user