vrclient: Unwrap IVROverlay_SetOverlayTexture vulkan objects on the unix side.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-10-02 21:10:40 +02:00 committed by Arkadiusz Hiler
parent 5ef99b39a3
commit 0e092b3940
27 changed files with 278 additions and 226 deletions

View file

@ -145,6 +145,7 @@ SOURCES = \
vrclient_x64/json_converter.cpp \
vrclient_x64/jsoncpp.cpp \
vrclient_x64/unix_vrcompositor_manual.cpp \
vrclient_x64/unix_vroverlay_manual.cpp \
vrclient_x64/unix_vrrendermodels_manual.cpp \
vrclient_x64/unix_vrsystem_manual.cpp \
vrclient_x64/unixlib.cpp \

View file

@ -236,7 +236,7 @@ MANUAL_METHODS = {
"IVRRenderModels_LoadRenderModel_Async": True,
"IVRRenderModels_FreeRenderModel": lambda ver, abi: ver > 1,
"IVRMailbox_undoc3": lambda ver, abi: abi == 'w',
"IVROverlay_SetOverlayTexture": lambda ver, abi: abi == 'w',
"IVROverlay_SetOverlayTexture": True,
"IVRInput_GetDigitalActionData": lambda ver, abi: abi == 'w' and ver > 3,
}

View file

@ -268,14 +268,6 @@ NTSTATUS IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( vo
return 0;
}
NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_001_SetOverlayRaw( void *args )
{
struct IVROverlay_IVROverlay_001_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayRaw_params *)args;

View file

@ -268,14 +268,6 @@ NTSTATUS IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( vo
return 0;
}
NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_002_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params *)args;

View file

@ -292,14 +292,6 @@ NTSTATUS IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( vo
return 0;
}
NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_003_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params *)args;

View file

@ -308,14 +308,6 @@ NTSTATUS IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( vo
return 0;
}
NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_004_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *)args;

View file

@ -316,14 +316,6 @@ NTSTATUS IVROverlay_IVROverlay_005_IsFocusOverlay( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_005_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params *)args;

View file

@ -348,14 +348,6 @@ NTSTATUS IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_007_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params *)args;

View file

@ -356,14 +356,6 @@ NTSTATUS IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_008_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params *)args;

View file

@ -373,14 +373,6 @@ NTSTATUS IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_010_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params *)args;

View file

@ -389,14 +389,6 @@ NTSTATUS IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_011_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *)args;

View file

@ -389,14 +389,6 @@ NTSTATUS IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_012_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params *)args;

View file

@ -421,14 +421,6 @@ NTSTATUS IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_013_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params *)args;

View file

@ -421,14 +421,6 @@ NTSTATUS IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_014_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params *)args;

View file

@ -461,14 +461,6 @@ NTSTATUS IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_016_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params *)args;

View file

@ -477,14 +477,6 @@ NTSTATUS IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_017_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params *)args;

View file

@ -469,14 +469,6 @@ NTSTATUS IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_018_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params *)args;

View file

@ -469,14 +469,6 @@ NTSTATUS IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_019_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params *)args;

View file

@ -453,14 +453,6 @@ NTSTATUS IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_020_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params *)args;

View file

@ -421,14 +421,6 @@ NTSTATUS IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( void *args )
return 0;
}
NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_021_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params *)args;

View file

@ -485,14 +485,6 @@ NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( void *arg
return 0;
}
NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params *)args;

View file

@ -453,14 +453,6 @@ NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( void *arg
return 0;
}
NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params *)args;

View file

@ -461,14 +461,6 @@ NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( void *arg
return 0;
}
NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params *)args;

View file

@ -485,14 +485,6 @@ NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( void *arg
return 0;
}
NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params *)args;

View file

@ -469,14 +469,6 @@ NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( void *arg
return 0;
}
NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side;
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params *)args;

View file

@ -0,0 +1,276 @@
#include "unix_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
static u_Texture_t unwrap_texture_data( const w_Texture_t *w_texture, u_VRVulkanTextureData_t *u_vkdata )
{
u_Texture_t u_texture = *w_texture;
if (u_texture.eType == TextureType_Vulkan)
{
w_VRVulkanTextureData_t *w_vkdata = (w_VRVulkanTextureData_t *)w_texture->handle;
*u_vkdata = *w_vkdata;
u_vkdata->m_pDevice = p_get_native_VkDevice( w_vkdata->m_pDevice );
u_vkdata->m_pPhysicalDevice = p_get_native_VkPhysicalDevice( w_vkdata->m_pPhysicalDevice );
u_vkdata->m_pInstance = p_get_native_VkInstance( w_vkdata->m_pInstance );
u_vkdata->m_pQueue = p_get_native_VkQueue( w_vkdata->m_pQueue );
u_texture.handle = u_vkdata;
}
return u_texture;
}
NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side;
FIXME("unimplemented!\n");
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side;
FIXME("unimplemented!\n");
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side;
FIXME("unimplemented!\n");
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side;
FIXME("unimplemented!\n");
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side;
FIXME("unimplemented!\n");
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}
NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexture( void *args )
{
struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *)args;
struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side;
u_VRVulkanTextureData_t u_vkdata;
u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata );
params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture );
return 0;
}

View file

@ -44,11 +44,6 @@ static void load_overlay_texture_dxvk( const w_Texture_t *texture, struct set_ov
state->texture = vrclient_translate_texture_dxvk( texture, &state->vkdata, state->dxvk_surface, &state->dxvk_device,
&state->image_layout, &image_info );
state->vkdata.m_pDevice = get_native_VkDevice( state->vkdata.m_pDevice );
state->vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice( state->vkdata.m_pPhysicalDevice );
state->vkdata.m_pInstance = get_native_VkInstance( state->vkdata.m_pInstance );
state->vkdata.m_pQueue = get_native_VkQueue( state->vkdata.m_pQueue );
state->subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
state->subresources.baseMipLevel = 0;
state->subresources.levelCount = image_info.mipLevels;
@ -72,24 +67,6 @@ static void free_unix_overlay_texture_dxvk( struct set_overlay_texture_state *st
state->dxvk_surface->lpVtbl->Release( state->dxvk_surface );
}
static void load_overlay_texture_vulkan( const w_Texture_t *texture, struct set_overlay_texture_state *state )
{
w_VRVulkanTextureData_t *their_vkdata;
TRACE( "texture = %p\n", texture );
their_vkdata = texture->handle;
state->vkdata = *their_vkdata;
state->vkdata.m_pDevice = get_native_VkDevice( their_vkdata->m_pDevice );
state->vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice( their_vkdata->m_pPhysicalDevice );
state->vkdata.m_pInstance = get_native_VkInstance( their_vkdata->m_pInstance );
state->vkdata.m_pQueue = get_native_VkQueue( their_vkdata->m_pQueue );
state->texture = *texture;
state->texture.handle = &state->vkdata;
}
uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture( struct w_steam_iface *_this,
uint64_t ulOverlayHandle, void *pTexture )
{
@ -148,7 +125,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -169,7 +145,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -190,7 +165,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -211,7 +185,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -232,7 +205,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -253,7 +225,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -274,7 +245,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -295,7 +265,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -316,7 +285,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -337,7 +305,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -358,7 +325,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -379,7 +345,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -400,7 +365,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -421,7 +385,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -442,7 +405,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -463,7 +425,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -484,7 +445,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );
@ -505,7 +465,6 @@ uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture( struct w_ste
TRACE( "%p\n", _this );
if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state );
if (pTexture->eType == TextureType_Vulkan) load_overlay_texture_vulkan( pTexture, &state );
VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTexture, &params );
if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state );