mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
st/oxr: No longer need to work around depth Swapchain on Unreal
This commit is contained in:
parent
55b86fe815
commit
cebc8ebed5
1
doc/changes/state_trackers/mr.740.md
Normal file
1
doc/changes/state_trackers/mr.740.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
OpenXR: Unreal Engine 4 depth buffer quirk no longer needed.
|
|
@ -160,12 +160,15 @@ detect_engine(struct oxr_logger *log, struct oxr_instance *inst, const XrInstanc
|
||||||
static void
|
static void
|
||||||
apply_quirks(struct oxr_logger *log, struct oxr_instance *inst)
|
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) && //
|
if (starts_with("UnrealEngine", inst->appinfo.detected.engine.name) && //
|
||||||
inst->appinfo.detected.engine.major == 4 && //
|
inst->appinfo.detected.engine.major == 4 && //
|
||||||
inst->appinfo.detected.engine.minor <= 27 && //
|
inst->appinfo.detected.engine.minor <= 27 && //
|
||||||
inst->appinfo.detected.engine.patch <= 0) {
|
inst->appinfo.detected.engine.patch <= 0) {
|
||||||
inst->quirks.disable_vulkan_format_depth_stencil = true;
|
inst->quirks.disable_vulkan_format_depth_stencil = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
XrResult
|
XrResult
|
||||||
|
|
Loading…
Reference in a new issue