mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
gfxstream: codegen: don't generate custom protocols in function table
vulkan_gfxstream.h contains custom protocols not found
in vk.xml (vk_gfxstream.xml).
gfxstream_vk_entrypoints.h is codegen by Mesa common code,
and it does not accept the custom XML.
So avoid generating implementations for them:
guest/vulkan_enc/gfxstream_guest_vk_autogen_impl/gen/func_table.cpp:5321:1:
note: declare 'static' if the function is not intended to be
used outside of this translation unit
5321 | void gfxstream_vk_CollectDescriptorPoolIdsGOOGLE(
| ^
| static
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Reviewed-by: David Gilhooley <djgilhooley.gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38632>
This commit is contained in:
parent
169f571f4f
commit
4f9d7c3385
1 changed files with 27 additions and 0 deletions
|
|
@ -132,6 +132,33 @@ NON_AUTOGEN_ENTRYPOINTS = [
|
|||
"vkGetDeviceQueue",
|
||||
"vkGetDeviceQueue2",
|
||||
"vkGetPhysicalDeviceProperties",
|
||||
# Custom gfxstream functions
|
||||
"vkMapMemoryIntoAddressSpaceGOOGLE",
|
||||
"vkUpdateDescriptorSetWithTemplateSizedGOOGLE",
|
||||
"vkBeginCommandBufferAsyncGOOGLE",
|
||||
"vkEndCommandBufferAsyncGOOGLE",
|
||||
"vkResetCommandBufferAsyncGOOGLE",
|
||||
"vkCommandBufferHostSyncGOOGLE",
|
||||
"vkCreateImageWithRequirementsGOOGLE",
|
||||
"vkCreateBufferWithRequirementsGOOGLE",
|
||||
"vkGetMemoryHostAddressInfoGOOGLE",
|
||||
"vkFreeMemorySyncGOOGLE",
|
||||
"vkQueueHostSyncGOOGLE",
|
||||
"vkQueueSubmitAsyncGOOGLE",
|
||||
"vkQueueWaitIdleAsyncGOOGLE",
|
||||
"vkQueueBindSparseAsyncGOOGLE",
|
||||
"vkGetLinearImageLayoutGOOGLE",
|
||||
"vkGetLinearImageLayout2GOOGLE",
|
||||
"vkQueueFlushCommandsGOOGLE",
|
||||
"vkQueueCommitDescriptorSetUpdatesGOOGLE",
|
||||
"vkCollectDescriptorPoolIdsGOOGLE",
|
||||
"vkQueueSignalReleaseImageANDROIDAsyncGOOGLE",
|
||||
"vkQueueFlushCommandsFromAuxMemoryGOOGLE",
|
||||
"vkGetBlobGOOGLE",
|
||||
"vkUpdateDescriptorSetWithTemplateSized2GOOGLE",
|
||||
"vkQueueSubmitAsync2GOOGLE",
|
||||
"vkGetSemaphoreGOOGLE",
|
||||
"vkTraceAsyncGOOGLE",
|
||||
]
|
||||
|
||||
# Handles that need to be translated to/from their corresponding gfxstream object types
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue