From 219b75deb93763cfb160a22833c72e14999565c8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Jul 2016 11:29:28 -0700 Subject: [PATCH] vc4: Turn on control flow support in the simulator environment. 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index f60500ddec3..29c0f94bf90 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -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 * -- 2.30.2