mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 14:38:05 +01: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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue