From 9252b4f11a2919e1d0a126fa7813e5b8f447621c Mon Sep 17 00:00:00 2001 From: Jens Koenen <koenen@vr.rwth-aachen.de> Date: Wed, 21 Jun 2023 17:37:50 +0200 Subject: [PATCH] Fixed bug that lead to unnecessary grid cell subdivisions at the edges of the layers --- src/strategy/dual_layer_reprojection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/dual_layer_reprojection.cpp b/src/strategy/dual_layer_reprojection.cpp index 60d20fbb..c47e9934 100644 --- a/src/strategy/dual_layer_reprojection.cpp +++ b/src/strategy/dual_layer_reprojection.cpp @@ -1189,7 +1189,7 @@ void DualLayerReprojection::process_layer_subdivide_pass(VkCommandBuffer command glm::uvec2 subdivide_resolution = this->get_headset()->get_framebuffer_resolution(); glsl::DualLayerReprojectionSubdivideParameters parameters; - parameters.layer_resolution = subdivide_resolution; + parameters.layer_resolution = this->layer_resolution; parameters.subdivision_threshold = this->subdivision_threshold; parameters.interpupillary_distance = this->get_headset()->get_interpupillary_distance(); parameters.layer_offset = 0; -- GitLab