mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
intel/compiler/xe2: Fix for NibCtrl field removal.
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26860>
This commit is contained in:
parent
7db3f0b1c1
commit
f79123e1d9
1 changed files with 5 additions and 1 deletions
|
|
@ -252,7 +252,11 @@ void
|
|||
brw_inst_set_group(const struct intel_device_info *devinfo,
|
||||
brw_inst *inst, unsigned group)
|
||||
{
|
||||
if (devinfo->ver >= 7) {
|
||||
if (devinfo->ver >= 20) {
|
||||
assert(group % 8 == 0 && group < 32);
|
||||
brw_inst_set_qtr_control(devinfo, inst, group / 8);
|
||||
|
||||
} else if (devinfo->ver >= 7) {
|
||||
assert(group % 4 == 0 && group < 32);
|
||||
brw_inst_set_qtr_control(devinfo, inst, group / 8);
|
||||
brw_inst_set_nib_control(devinfo, inst, (group / 4) % 2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue