From: Eric Anholt Date: Mon, 11 Jul 2016 18:29:28 +0000 (-0700) Subject: vc4: Turn on control flow support in the simulator environment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=219b75deb93763cfb160a22833c72e14999565c8;p=mesa.git 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. --- 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 *