Fix defoveation for low scale values

The effective image size may be different from the size in description,
we have to only consider the useful size
This commit is contained in:
Patrick Nicolas
2025-09-09 19:00:08 +02:00
parent ccf430d26a
commit 3c08a3de2f
10 changed files with 31 additions and 27 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ public:
void reset(const to_headset::video_stream_description & desc);
void begin(vk::raii::CommandBuffer &);
void push_image(vk::raii::CommandBuffer & buf, uint8_t stream, vk::Sampler sampler, vk::ImageView image, vk::ImageLayout);
void push_image(vk::raii::CommandBuffer & buf, uint8_t stream, vk::Sampler sampler, const vk::Extent2D &, vk::ImageView image, vk::ImageLayout);
output end(vk::raii::CommandBuffer &);
};
} // namespace wivrn