mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
i965: Exit with error if gen12+ is detected
For OpenGL support on gen12, the iris driver should be used. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
d8dd9a245e
commit
107c22945f
1 changed files with 5 additions and 0 deletions
|
|
@ -2527,6 +2527,11 @@ __DRIconfig **intelInitScreen2(__DRIscreen *dri_screen)
|
|||
screen->deviceID = devinfo->chipset_id;
|
||||
screen->no_hw = devinfo->no_hw;
|
||||
|
||||
if (devinfo->gen >= 12) {
|
||||
fprintf(stderr, "gen12 and newer are not supported on i965\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!intel_init_bufmgr(screen))
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue