From: Eric Anholt Date: Mon, 23 Mar 2015 23:15:11 +0000 (-0700) Subject: vc4: Allow DRI3 on simulation, as well. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4df13f55b6c2cdda82b7909e1b089cc72f4c1151;p=mesa.git vc4: Allow DRI3 on simulation, as well. The problem I'd seen before seems to be gone. --- diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h index df818fed713..54c1c6c3259 100644 --- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h @@ -472,6 +472,11 @@ dd_configuration(enum drm_conf conf) if (strcmp(driver_name, "vc4") == 0) return configuration_query(conf); else +#if defined(USE_VC4_SIMULATOR) + if (strcmp(driver_name, "i965") == 0) + return configuration_query(conf); + else +#endif #endif return NULL; }