Skip to content

Commit

Permalink
OpenVR SDK 1.12.5
Browse files Browse the repository at this point in the history
Vulkan: 
* Added support for texture arrays

[git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 5908460]
  • Loading branch information
JoeLudwig committed Jun 3, 2020
1 parent ace7060 commit 3a010f0
Show file tree
Hide file tree
Showing 25 changed files with 1,268 additions and 148 deletions.
Binary file modified bin/linux32/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux32/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so
Binary file not shown.
Binary file modified bin/linux64/libopenvr_api.so.dbg
Binary file not shown.
Binary file modified bin/win32/openvr_api.dll
Binary file not shown.
Binary file modified bin/win32/openvr_api.dll.sig
Binary file not shown.
Binary file modified bin/win32/openvr_api.pdb
Binary file not shown.
Binary file modified bin/win64/openvr_api.dll
Binary file not shown.
Binary file modified bin/win64/openvr_api.dll.sig
Binary file not shown.
Binary file modified bin/win64/openvr_api.pdb
Binary file not shown.
19 changes: 17 additions & 2 deletions headers/openvr.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
namespace vr
{
static const uint32_t k_nSteamVRVersionMajor = 1;
static const uint32_t k_nSteamVRVersionMinor = 11;
static const uint32_t k_nSteamVRVersionBuild = 11;
static const uint32_t k_nSteamVRVersionMinor = 12;
static const uint32_t k_nSteamVRVersionBuild = 5;
} // namespace vr

// vrtypes.h
Expand Down Expand Up @@ -634,6 +634,9 @@ enum EVRSubmitFlags
// Set to indicate a discontinuity between this and the last frame.
// This will prevent motion smoothing from attempting to extrapolate using the pair.
Submit_FrameDiscontinuty = 0x20,

// Set to indicate that pTexture->handle is a contains VRVulkanTextureArrayData_t
Submit_VulkanTextureWithArrayData = 0x40,
};

/** Data required for passing Vulkan textures to IVRCompositor::Submit.
Expand All @@ -650,6 +653,15 @@ struct VRVulkanTextureData_t
uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount;
};

/** Data required for passing Vulkan texture arrays to IVRCompositor::Submit.
* Be sure to call OpenVR_Shutdown before destroying these resources.
* Please see https://github.com/ValveSoftware/openvr/wiki/Vulkan for Vulkan-specific documentation */
struct VRVulkanTextureArrayData_t : public VRVulkanTextureData_t
{
uint32_t m_unArrayIndex;
uint32_t m_unArraySize;
};

/** Data required for passing D3D12 textures to IVRCompositor::Submit.
* Be sure to call OpenVR_Shutdown before destroying these resources. */
struct D3D12TextureData_t
Expand Down Expand Up @@ -2700,6 +2712,8 @@ namespace vr
static const char * const k_pch_SteamVR_CustomIconForceUpdate_String = "customIconForceUpdate";
static const char * const k_pch_SteamVR_AllowGlobalActionSetPriority = "globalActionSetPriority";
static const char * const k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2";
static const char * const k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = "blockOculusSDKOnOpenVRLaunchOption";
static const char * const k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = "blockOculusSDKOnAllLaunches";

//-----------------------------------------------------------------------------
// direct mode keys
Expand Down Expand Up @@ -2878,6 +2892,7 @@ namespace vr
static const char* const k_pch_App_BindingPreviousURLSuffix_String = "PreviousURL";
static const char* const k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave";
static const char* const k_pch_App_DominantHand_Int32 = "DominantHand";
static const char* const k_pch_App_BlockOculusSDK_Bool = "blockOculusSDK";

//-----------------------------------------------------------------------------
// configuration for trackers
Expand Down
863 changes: 719 additions & 144 deletions headers/openvr_api.cs

Large diffs are not rendered by default.

0 comments on commit 3a010f0

Please sign in to comment.