Use proper mipmaps for distortion shader

This commit is contained in:
Patrick Nicolas
2024-09-11 23:41:10 +02:00
parent 97aa8e3947
commit 50747d8fd4
6 changed files with 2894 additions and 377 deletions
+3
View File
@@ -259,6 +259,9 @@ int inner_main(int argc, char * argv[], bool use_systemd, bool show_instructions
// there is no need for oversampling.
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", false);
// Enable mipmaps for distortion
setenv("XRT_DISTORTION_MIP_LEVELS", "0", false);
// FIXME: synchronization fails on gfx pipeline
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);