st/oxr: No longer need to work around depth Swapchain on Unreal

This commit is contained in:
Jakob Bornecrantz 2021-03-30 21:17:10 +01:00
parent 55b86fe815
commit cebc8ebed5
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
OpenXR: Unreal Engine 4 depth buffer quirk no longer needed.

View file

@ -160,12 +160,15 @@ detect_engine(struct oxr_logger *log, struct oxr_instance *inst, const XrInstanc
static void
apply_quirks(struct oxr_logger *log, struct oxr_instance *inst)
{
#if 0
// This is no longer needed.
if (starts_with("UnrealEngine", inst->appinfo.detected.engine.name) && //
inst->appinfo.detected.engine.major == 4 && //
inst->appinfo.detected.engine.minor <= 27 && //
inst->appinfo.detected.engine.patch <= 0) {
inst->quirks.disable_vulkan_format_depth_stencil = true;
}
#endif
}
XrResult