dri2: add crocus to the list of va_gl users

This commit is contained in:
Dave Airlie 2021-11-11 06:35:19 +10:00
parent 9e82a674b5
commit a7b0a7fabd

View File

@ -1086,7 +1086,8 @@ ms_dri2_screen_init(ScreenPtr screen)
* guess that the DRI and VDPAU drivers have the same name.
*/
if (strcmp(driver_names[0], "i965") == 0 ||
strcmp(driver_names[0], "iris") == 0) {
strcmp(driver_names[0], "iris") == 0 ||
strcmp(driver_names[0], "crocus") == 0) {
driver_names[1] = "va_gl";
} else {
driver_names[1] = driver_names[0];