mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-07-27 07:31:44 +03:00
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.
This commit is contained in:
parent
7a5dc9baed
commit
e086f4f8ce
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user