vrclient: Remove now unused PE-side unwrappers.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-10-02 21:54:59 +02:00 committed by Arkadiusz Hiler
parent 9219ad9490
commit 13fa4c9b13
3 changed files with 0 additions and 42 deletions

View file

@ -49,12 +49,6 @@ struct vrclient_init_params
char *unix_path;
};
extern VkDevice_T *(WINAPI *p_get_native_VkDevice)( VkDevice_T * );
extern VkInstance_T *(WINAPI *p_get_native_VkInstance)( VkInstance_T * );
extern VkPhysicalDevice_T *(WINAPI *p_get_native_VkPhysicalDevice)( VkPhysicalDevice_T * );
extern VkPhysicalDevice_T *(WINAPI *p_get_wrapped_VkPhysicalDevice)( VkInstance_T *, VkPhysicalDevice_T * );
extern VkQueue_T *(WINAPI *p_get_native_VkQueue)( VkQueue_T * );
extern bool unix_vrclient_init( struct vrclient_init_params *params );
extern void *unix_HmdSystemFactory( const char *name, int *return_code );
extern void *unix_VRClientCoreFactory( const char *name, int *return_code );

View file

@ -280,36 +280,6 @@ void *CDECL VRClientCoreFactory(const char *name, int *return_code)
return create_win_interface( name, unix_VRClientCoreFactory( name, return_code ) );
}
VkDevice_T *get_native_VkDevice( VkDevice_T *device )
{
load_vrclient();
return p_get_native_VkDevice( device );
}
VkInstance_T *get_native_VkInstance( VkInstance_T *instance )
{
load_vrclient();
return p_get_native_VkInstance( instance );
}
VkPhysicalDevice_T *get_native_VkPhysicalDevice( VkPhysicalDevice_T *device )
{
load_vrclient();
return p_get_native_VkPhysicalDevice( device );
}
VkPhysicalDevice_T *get_wrapped_VkPhysicalDevice( VkInstance_T *instance, VkPhysicalDevice_T *device )
{
load_vrclient();
return p_get_wrapped_VkPhysicalDevice( instance, device );
}
VkQueue_T *get_native_VkQueue( VkQueue_T *queue )
{
load_vrclient();
return p_get_native_VkQueue( queue );
}
static bool is_hmd_present_reg(void)
{
DWORD type, value, wait_status, size;

View file

@ -95,12 +95,6 @@ extern w_Texture_t vrclient_translate_texture_dxvk( const w_Texture_t *texture,
VkImageLayout *image_layout, VkImageCreateInfo *image_info );
#endif /* __dxvk_interop_h__ */
extern VkDevice_T *get_native_VkDevice( VkDevice_T *device );
extern VkInstance_T *get_native_VkInstance( VkInstance_T *instance );
extern VkPhysicalDevice_T *get_native_VkPhysicalDevice( VkPhysicalDevice_T *device );
extern VkPhysicalDevice_T *get_wrapped_VkPhysicalDevice( VkInstance_T *instance, VkPhysicalDevice_T *device );
extern VkQueue_T *get_native_VkQueue( VkQueue_T *queue );
#include "vrclient_generated.h"
#endif /* __cplusplus */