etnaviv: support ARB_framebuffer_object
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 27 Sep 2019 08:39:30 +0000 (10:39 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 27 Sep 2019 18:22:08 +0000 (18:22 +0000)
Passes most of piglit's tests regarding arb_framebuffer_object
and unlocks some more piglit tests.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/etnaviv_screen.c

index b93eaf2ae7f7248ea4dc71e6e9ccff1fd2596980..9aab54818532abc6cb97352cb432474928f04832 100644 (file)
@@ -152,6 +152,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_TGSI_TEXCOORD:
    case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
    case PIPE_CAP_MIXED_COLOR_DEPTH_BITS:
+   case PIPE_CAP_MIXED_FRAMEBUFFER_SIZES:
       return 1;
    case PIPE_CAP_NATIVE_FENCE_FD:
       return screen->drm_version >= ETNA_DRM_VERSION_FENCE_FD;