v3d: enable GL_ARB_copy_image extension
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 17 Mar 2022 09:29:38 +0000 (10:29 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 19 Apr 2022 08:03:42 +0000 (08:03 +0000)
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@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15693>

docs/features.txt
src/gallium/drivers/v3d/v3d_screen.c

index 891cd69..e0899fa 100644 (file)
@@ -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)
index dc5050f..2d0eb4c 100644 (file)
@@ -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: