summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-07-11 11:29:28 -0700
committerEric Anholt <[email protected]>2016-07-15 13:54:00 -0700
commit219b75deb93763cfb160a22833c72e14999565c8 (patch)
treec6ffea8ed43e918527c381cc00a87b68cc4fccc0 /src/gallium
parent9a23a177b90ea60ba45b8b5090b832c87d595346 (diff)
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.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.c4
1 files changed, 4 insertions, 0 deletions
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 *