From 2b6711cc5fbb06620f46d3a42823bf03b58e9e34 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Aug 2014 14:44:54 -0700 Subject: [PATCH] vc4: Claim ARB_fbo. This gets a ton of piglit working that crashes in waffle context management stuff otherwise. Actually supporting mismatched FB sizes is at best going to require some more load/store generals for color buffers, but if I can't manage to do that I'll want to just have state_tracker reject those FBOs as unsupported, rather than deny GL 2.1. --- src/gallium/drivers/vc4/vc4_screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index a8ad493a55e..58d5f711376 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -108,8 +108,10 @@ vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER: return 1; - /* Unsupported features. */ case PIPE_CAP_MIXED_FRAMEBUFFER_SIZES: + return 1; + + /* Unsupported features. */ case PIPE_CAP_ANISOTROPIC_FILTER: case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: case PIPE_CAP_CUBE_MAP_ARRAY: -- 2.30.2