Ask for XR_FB_composition_layer_depth_test and XR_KHR_composition_layer_depth
Enable depth testing between GUI and lobby Use reversed-Z, prefer floating point depth buffer
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "utils/ranges.h"
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
#include <ranges>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
namespace
|
||||
@@ -106,7 +107,7 @@ void scenes::stream::accumulate_metrics(XrTime predicted_display_time, const std
|
||||
min_encode_begin = std::min(min_encode_begin, bh->timing_info.encode_begin);
|
||||
}
|
||||
|
||||
for (auto && [metrics, bh]: utils::zip(decoder_metrics, blit_handles))
|
||||
for (auto && [metrics, bh]: std::views::zip(decoder_metrics, blit_handles))
|
||||
{
|
||||
if (metrics.size() != global_metrics.size())
|
||||
metrics.resize(global_metrics.size());
|
||||
|
||||
Reference in New Issue
Block a user