gfxstream: fixes related to -Wmissing-prototypes

- the vkSetDebugMetadataAsyncGOOGLE command should
  not have an entry in the function table: it
  leads to missing prototype errors

- Make gfxstream respect cpp_msvc_compat_args, since
  it is a C++ project.  -Wmissing-prototypes will be
  made a cpp error *eventually*.

Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39418>
This commit is contained in:
Gurchetan Singh 2026-01-20 16:12:13 -08:00 committed by Marge Bot
parent 0f582b0268
commit 9c511a1fa5
2 changed files with 2 additions and 1 deletions

View file

@ -162,6 +162,7 @@ NON_AUTOGEN_ENTRYPOINTS = [
"vkQueueSubmitAsync2GOOGLE",
"vkGetSemaphoreGOOGLE",
"vkTraceAsyncGOOGLE",
"vkSetDebugMetadataAsyncGOOGLE",
]
# Handles that need to be translated to/from their corresponding gfxstream object types

View file

@ -13,7 +13,7 @@ endif
#===============#
# Configuration #
#===============#
gfxstream_guest_args = ['-D_FILE_OFFSET_BITS=64']
gfxstream_guest_args = cpp_msvc_compat_args + ['-D_FILE_OFFSET_BITS=64']
# Our internal guest build
if host_machine.system() == 'windows'