Mesa (main): v3d: enable GL_ARB_copy_image extension
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 19 08:48:39 UTC 2022
Module: Mesa
Branch: main
Commit: 04fb31a4204c9c850bbf7b4c22a8bcff6114e6ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=04fb31a4204c9c850bbf7b4c22a8bcff6114e6ad
Author: Juan A. Suarez Romero <jasuarez at igalia.com>
Date: Thu Mar 17 10:29:38 2022 +0100
v3d: enable GL_ARB_copy_image extension
Enable the proper capability to get activate this extension.
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4588
Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15693>
---
docs/features.txt | 2 +-
src/gallium/drivers/v3d/v3d_screen.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/features.txt b/docs/features.txt
index 891cd694287..e0899fa1a99 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -172,7 +172,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, llvmpipe, virgl
GL_ARB_ES3_compatibility DONE (all drivers that support GLSL 3.30)
GL_ARB_clear_buffer_object DONE (all drivers)
GL_ARB_compute_shader DONE (freedreno/a5xx+, i965, softpipe, v3d, panfrost, d3d12)
- GL_ARB_copy_image DONE (i965, nv50, softpipe, )
+ GL_ARB_copy_image DONE (i965, nv50, softpipe, v3d)
GL_KHR_debug DONE (all drivers)
GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL)
GL_ARB_fragment_layer_viewport DONE (i965, nv50, softpipe, d3d12)
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c
index dc5050fa338..2d0eb4c9c97 100644
--- a/src/gallium/drivers/v3d/v3d_screen.c
+++ b/src/gallium/drivers/v3d/v3d_screen.c
@@ -147,6 +147,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE:
case PIPE_CAP_SAMPLER_VIEW_TARGET:
case PIPE_CAP_ANISOTROPIC_FILTER:
+ case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS:
return 1;
case PIPE_CAP_TEXTURE_QUERY_LOD:
More information about the mesa-commit
mailing list