mesa: fix duplicate initializer

fixes warning with clang:

../src/mesa/main/spirv_capabilities.c:98:45: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
   98 |       .TransformFeedback                  = gl_exts->ARB_transform_feedback3,
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/mesa/main/spirv_capabilities.c:72:45: note: previous initialization is here
   72 |       .TransformFeedback                  = true,

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29613>
This commit is contained in:
Alyssa Rosenzweig
2024-06-07 11:24:11 -04:00
committed by Marge Bot
parent e6efe2e3fe
commit ba20cc1c72
-1
View File
@@ -69,7 +69,6 @@ _mesa_fill_supported_spirv_capabilities(struct spirv_capabilities *caps,
.ImageQuery = true,
.DerivativeControl = gl_exts->ARB_derivative_control,
.InterpolationFunction = gl_exts->ARB_gpu_shader5,
.TransformFeedback = true,
.GeometryStreams = gl_exts->ARB_gpu_shader5,
.StorageImageWriteWithoutFormat = gl_exts->ARB_shader_image_load_store,
.MultiViewport = gl_exts->ARB_viewport_array,