File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,12 +26,19 @@ class ViveLayersLinter final : public Linter {
2626 if (runtime->mName == " SteamVR" ) {
2727 return {};
2828 }
29+ if (runtime->mName == " VIVE_OpenXR" ) {
30+ // Included with ViveConsole from Steam, but not registered by default.
31+ // Just used for the Vive Focus and Cosmos
32+ return {};
33+ }
2934 const auto runtimeName = runtime->mName .value_or (runtime->mPath .string ());
3035
3136 static const std::unordered_set<std::string_view> LayerNames {
3237 " XR_APILAYER_VIVE_hand_tracking" ,
3338 " XR_APILAYER_VIVE_facial_tracking" ,
39+ " XR_APILAYER_VIVE_mr" ,
3440 " XR_APILAYER_VIVE_srworks" ,
41+ " XR_APILAYER_VIVE_xr_tracker" ,
3542 };
3643
3744 std::vector<std::shared_ptr<LintError>> ret;
@@ -42,8 +49,9 @@ class ViveLayersLinter final : public Linter {
4249 ret.push_back (
4350 std::make_shared<InvalidLayerStateLintError>(
4451 fmt::format (
45- " {} requires the SteamVR runtime, but you are currently using "
46- " '{}'; this can cause game crashes or other issues." ,
52+ " {} requires the SteamVR or HTC enterprise runtime, but you are "
53+ " currently using '{}'; this can cause game crashes or other "
54+ " issues." ,
4755 details.mName ,
4856 runtimeName),
4957 layer));
You can’t perform that action at this time.
0 commit comments