mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 19:50:12 +01:00
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:
parent
72d289b8d1
commit
6922f421f4
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue