Mesa (master): vc4: Turn on control flow support in the simulator environment.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Jul 15 21:00:20 UTC 2016
Module: Mesa
Branch: master
Commit: 219b75deb93763cfb160a22833c72e14999565c8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=219b75deb93763cfb160a22833c72e14999565c8
Author: Eric Anholt <eric at anholt.net>
Date: Mon Jul 11 11:29:28 2016 -0700
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 f60500d..29c0f94 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 *
More information about the mesa-commit
mailing list