mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 15:48:11 +03:00
vrclient: Ignore Submit_TextureWithDepth for TextureType_DirectX
Don't bother passing as SteamVR compositor ignores depth textures. Link: https://github.com/ValveSoftware/Proton/pull/7286
This commit is contained in:
parent
8c44c9e9ee
commit
ae89737911
@ -64,6 +64,12 @@ static const w_Texture_t *load_compositor_texture_dxvk( uint32_t eye, const w_Te
|
|||||||
state->vkdata.m_nSampleCount = vkdata.m_nSampleCount;
|
state->vkdata.m_nSampleCount = vkdata.m_nSampleCount;
|
||||||
state->texture.texture.handle = &state->vkdata;
|
state->texture.texture.handle = &state->vkdata;
|
||||||
|
|
||||||
|
if (*flags & Submit_TextureWithDepth)
|
||||||
|
{
|
||||||
|
WARN( "Ignoring depth.\n" );
|
||||||
|
*flags &= ~Submit_TextureWithDepth;
|
||||||
|
}
|
||||||
|
|
||||||
if (*flags & Submit_TextureWithPose)
|
if (*flags & Submit_TextureWithPose)
|
||||||
((w_VRTextureWithPose_t *)&state->texture.texture)->mDeviceToAbsoluteTracking =
|
((w_VRTextureWithPose_t *)&state->texture.texture)->mDeviceToAbsoluteTracking =
|
||||||
((w_VRTextureWithPose_t*)texture)->mDeviceToAbsoluteTracking;
|
((w_VRTextureWithPose_t*)texture)->mDeviceToAbsoluteTracking;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user