mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 15:50:11 +01:00
intel/compiler: Define XE2 compiler enum
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/26390>
This commit is contained in:
parent
eb0419a1aa
commit
064bdecb36
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ enum gfx_ver {
|
||||||
GFX11 = (1 << 9),
|
GFX11 = (1 << 9),
|
||||||
GFX12 = (1 << 10),
|
GFX12 = (1 << 10),
|
||||||
GFX125 = (1 << 11),
|
GFX125 = (1 << 11),
|
||||||
|
XE2 = (1 << 12),
|
||||||
GFX_ALL = ~0
|
GFX_ALL = ~0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -62,6 +63,7 @@ gfx_ver_from_devinfo(const struct intel_device_info *devinfo)
|
||||||
case 110: return GFX11;
|
case 110: return GFX11;
|
||||||
case 120: return GFX12;
|
case 120: return GFX12;
|
||||||
case 125: return GFX125;
|
case 125: return GFX125;
|
||||||
|
case 200: return XE2;
|
||||||
default:
|
default:
|
||||||
unreachable("not reached");
|
unreachable("not reached");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue