File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99#include "webvulkan/webvulkan_shader_runtime_registry.h"
1010
1111VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr (VkInstance instance , const char * pName );
12- #if defined(__GNUC__ ) || defined(__clang__ )
13- #define WEBVULKAN_WEAK_SYMBOL __attribute__((weak))
14- #else
15- #define WEBVULKAN_WEAK_SYMBOL
16- #endif
1712VKAPI_ATTR VkResult VKAPI_CALL vk_common_CreateCommandPool (
1813 VkDevice device ,
1914 const VkCommandPoolCreateInfo * pCreateInfo ,
2015 const VkAllocationCallbacks * pAllocator ,
2116 VkCommandPool * pCommandPool
22- ) WEBVULKAN_WEAK_SYMBOL ;
17+ );
2318VKAPI_ATTR void VKAPI_CALL vk_common_DestroyCommandPool (
2419 VkDevice device ,
2520 VkCommandPool commandPool ,
2621 const VkAllocationCallbacks * pAllocator
27- ) WEBVULKAN_WEAK_SYMBOL ;
22+ );
2823VKAPI_ATTR VkResult VKAPI_CALL vk_common_AllocateCommandBuffers (
2924 VkDevice device ,
3025 const VkCommandBufferAllocateInfo * pAllocateInfo ,
3126 VkCommandBuffer * pCommandBuffers
32- ) WEBVULKAN_WEAK_SYMBOL ;
33- #undef WEBVULKAN_WEAK_SYMBOL
27+ );
3428static double g_last_dispatch_wall_ms = -1.0 ;
3529static const uint32_t kSmokeBufferWordCount = 65536u ;
3630
You can’t perform that action at this time.
0 commit comments