vc4: Allow DRI3 on simulation, as well.
authorEric Anholt <eric@anholt.net>
Mon, 23 Mar 2015 23:15:11 +0000 (16:15 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 24 Mar 2015 17:39:12 +0000 (10:39 -0700)
The problem I'd seen before seems to be gone.

src/gallium/auxiliary/target-helpers/inline_drm_helper.h

index df818fed7130f4a4c862f237ea7045722ebfcd4e..54c1c6c325988f0cee305d2a2cecd2b46519224a 100644 (file)
@@ -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;
 }