vc4: Turn on control flow support in the simulator environment.
authorEric Anholt <eric@anholt.net>
Mon, 11 Jul 2016 18:29:28 +0000 (11:29 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jul 2016 20:54:00 +0000 (13:54 -0700)
We can't merge the non-simulator support until we merge the kernel side and
get a new libdrm release.

src/gallium/drivers/vc4/vc4_screen.c

index f60500ddec3dcbb77cabc9983498b56a1f63b8bf..29c0f94bf906587e5cb095a12ad61974cfe2ae27 100644 (file)
@@ -499,7 +499,11 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen,
 static bool
 vc4_supports_branches(struct vc4_screen *screen)
 {
+#if USE_VC4_SIMULATOR
+        return true;
+#else
         return false;
+#endif
 }
 
 struct pipe_screen *