Mesa (master): panfrost: Enable framebuffer fetch
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 13 14:04:07 UTC 2020
Module: Mesa
Branch: master
Commit: c417172751c00728da6aa8002dee4b1fe61994ba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c417172751c00728da6aa8002dee4b1fe61994ba
Author: Icecream95 <ixn at keemail.me>
Date: Mon Jul 6 12:03:46 2020 +1200
panfrost: Enable framebuffer fetch
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>
---
docs/features.txt | 4 ++--
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:
More information about the mesa-commit
mailing list