openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Support Array Texture Submission in D3D12

Open cshenton opened this issue 2 years ago • 1 comments
trafficstars

As far as I can tell, OpenVR supports array texture submission on OpenGL, Vulkan, and Metal, but not D3D12.

Could you please add support for array texture submission in D3D12? Any reasonably efficient VR renderer will output either to an array texture or a side-by-side, so using OpenVR means a redundant copy.

Presumably Valve has codepaths for D3D12 array submission internally since it's a requirement for OpenXR, so I'd really appreciate it if you exposed those to OpenVR as well.

cshenton avatar Nov 20 '23 00:11 cshenton

Give this a try: https://github.com/ValveSoftware/openvr/blob/v2.2.3/headers/openvr.h#L3497

aleiby avatar Jan 19 '24 23:01 aleiby

Closing pending feedback.

kisak-valve avatar Mar 02 '24 01:03 kisak-valve

Would appreciate more info. Is this indicating D3D12 is not a well supported API going forward? Given this feature is supported in other APIs.

cshenton avatar Mar 02 '24 06:03 cshenton