Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gofman <pgofman@codeweavers.com>2021-01-20 22:20:43 +0300
committerAndrew Eikum <aeikum@codeweavers.com>2021-02-05 17:18:54 +0300
commitf5a9a2a30208ed804dafdb28fb90789fcea678e3 (patch)
treefc1178dcdccd1f15a8597083c5203a0438e2437c /vrclient_x64
parent86433ceddd11f830fd539cacee5a986c9197ed86 (diff)
vrclient_x64: Do not change handle in in ivrcompositor_submit_vulkan().
No Man's Sky is giving us vulkan handle in that handle. It looks like the depth texture is not used by openvr, putting anything to this handle does not trigger any fault or Vulkan validation error.
Diffstat (limited to 'vrclient_x64')
-rw-r--r--vrclient_x64/vrclient_x64/vrclient_main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/vrclient_x64/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_x64/vrclient_main.c
index 775742c4..d3e0a20e 100644
--- a/vrclient_x64/vrclient_x64/vrclient_main.c
+++ b/vrclient_x64/vrclient_x64/vrclient_main.c
@@ -931,15 +931,6 @@ static EVRCompositorError ivrcompositor_submit_vulkan(
our_depth.texture.handle = &our_vkdata;
- their_vkdata = (struct VRVulkanTextureData_t *)our_depth.depth.handle;
- our_depth_vkdata = *their_vkdata;
- our_depth_vkdata.m_pDevice = get_native_VkDevice(our_depth_vkdata.m_pDevice);
- our_depth_vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice(our_depth_vkdata.m_pPhysicalDevice);
- our_depth_vkdata.m_pInstance = get_native_VkInstance(our_depth_vkdata.m_pInstance);
- our_depth_vkdata.m_pQueue = get_native_VkQueue(our_depth_vkdata.m_pQueue);
-
- our_depth.depth.handle = &our_depth_vkdata;
-
tex = &our_depth;
break;