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-01-25 18:21:32 +0300
commite086f4f8ceaae64e217fedf3760d744e51d53714 (patch)
tree7c0b4540767148f461a3ac420082751996cc64a5
parent7a5dc9baed3f2565f9f7dea3a60b3dd66638d3c5 (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.
-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;