diff options
author | Icecream95 <ixn@keemail.me> | 2020-07-06 12:03:46 +1200 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-07-13 13:35:11 +0000 |
commit | c417172751c00728da6aa8002dee4b1fe61994ba (patch) | |
tree | 358d132e7ba5abb2e0e65e40e5387aff447f5a59 | |
parent | 317be5a16dff5e3f39ba7426f53f0a9d35aa4442 (diff) |
panfrost: Enable framebuffer fetch
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>
-rw-r--r-- | docs/features.txt | 4 | ||||
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/features.txt b/docs/features.txt index bc4acfdf793..79568008ead 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -273,7 +273,7 @@ GLES3.1, GLSL ES 3.1 -- all DONE: i965/hsw+, nvc0, r600, radeonsi, virgl, v3d GLES3.2, GLSL ES 3.2 -- all DONE: i965/gen9+, radeonsi, virgl GL_EXT_color_buffer_float DONE (all drivers) - GL_KHR_blend_equation_advanced DONE (freedreno/a6xx, i965, nvc0) + GL_KHR_blend_equation_advanced DONE (freedreno/a6xx, i965, nvc0, panfrost) GL_KHR_debug DONE (all drivers) GL_KHR_robustness DONE (freedreno, i965, nvc0, r600) GL_KHR_texture_compression_astc_ldr DONE (freedreno, i965/gen9+, r600, v3d) @@ -329,7 +329,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_EXT_sRGB_write_control DONE (all drivers that support GLES 3.0+) GL_EXT_texture_norm16 DONE (freedreno, i965, r600, radeonsi, nvc0) GL_EXT_texture_sRGB_R8 DONE (all drivers that support GLES 3.0+) - GL_KHR_blend_equation_advanced_coherent DONE (i965/gen9+) + GL_KHR_blend_equation_advanced_coherent DONE (i965/gen9+, panfrost) GL_KHR_texture_compression_astc_hdr DONE (i965/bxt) GL_KHR_texture_compression_astc_sliced_3d DONE (i965/gen9+, r600, radeonsi) GL_OES_depth_texture_cube_map DONE (all drivers that support GLSL 1.30+) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index c0af92e316c..472529e52ad 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -115,6 +115,8 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_MAX_RENDER_TARGETS: + case PIPE_CAP_FBFETCH: + case PIPE_CAP_FBFETCH_COHERENT: return is_gles3 ? 4 : 1; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: |