Michael Anthony Bitoon
5b23d6671b
Make DLSS's picture reach the screen and stop the whole image wobbling with DLSS and DLAA
...
With a DLSS mode the game's own scaling draw covered DLSS's picture with the jittered scene. At a 1280x720 scene and
1920x1080 output the scaling is done by the game's tonemap, not by the FXAA shader vk_dlaa_skip_draw looks for, so no
hash list could catch it. From DLSS's evaluation to the frame's end, passes larger than the light target now sample
DLSS's output in its place (vk_dlaa_swap_img, applied in vk_exec_draw.c tex_info), whichever shader scales.
The motion-vector shader inverted the view-projection in 32-bit floats. With a still camera (identical matrices each
frame) the rounding still gave a few hundredths of a pixel of motion that changed with every jitter step; DLSS
followed it and the whole picture wobbled. mv_pass now makes last frame's view-projection times the inverse of this
frame's in double precision from the uniform snapshot (vk_usnap_host), and the shader only applies it.
Measured on 1.4.3 indoors, still camera, mean per-pixel change between consecutive frames on static areas:
DLSS quality 0.18 -> 0.06, DLAA 0.14 -> 0.05. A camera pan at 10 px per frame shows no ghosting.
2026-11-03 08:40:13 +08:00
..
2026-11-01 22:55:27 +03:00
2026-11-03 08:40:13 +08:00
2026-10-23 23:54:57 +03:00
2026-11-02 17:43:29 +03:00
2026-11-02 17:43:29 +03:00
2026-11-02 17:43:29 +03:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-11-02 03:16:58 +03:00
2026-10-23 22:27:54 +03:00
2026-11-02 09:47:35 -03:00
2026-11-02 03:16:58 +03:00
2026-10-23 22:27:54 +03:00
2026-11-02 17:03:55 +03:00
2026-11-02 03:29:33 +03:00
2026-10-31 07:34:59 +03:00
2026-11-01 17:51:58 +03:00
2026-10-31 07:08:11 -05:00
2026-11-01 18:15:41 +03:00
2026-11-02 09:50:30 +03:00
2026-11-01 02:08:15 -03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:16:53 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-11-01 07:09:13 +08:00
2026-11-01 10:10:09 +03:00
2026-10-23 22:27:54 +03:00
2026-11-03 08:40:13 +08:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 07:09:13 +08:00
2026-11-02 17:36:09 +03:00
2026-11-02 17:36:09 +03:00
2026-11-02 17:36:09 +03:00
2026-11-01 21:08:13 +08:00
2026-11-01 22:54:20 +03:00
2026-11-01 13:14:37 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-29 16:56:56 -03:00
2026-10-24 10:41:54 +03:00
2026-11-01 11:39:38 +03:00
2026-11-01 21:08:13 +08:00
2026-11-02 11:59:29 +08:00
2026-10-31 21:17:12 +01:00
2026-11-02 17:36:09 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-11-01 11:39:38 +03:00
2026-10-31 21:17:12 +01:00
2026-11-01 17:51:58 +03:00
2026-11-01 00:53:17 +03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-29 16:56:56 -03:00
2026-11-02 17:36:09 +03:00
2026-10-30 21:58:22 -07:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-11-02 09:16:06 +03:00
2026-11-02 14:05:35 +03:00
2026-11-01 10:10:09 +03:00
2026-11-01 21:08:13 +08:00
2026-11-01 13:14:36 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:29:40 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-10-31 23:38:20 +03:00
2026-10-29 16:56:56 -03:00
2026-11-02 10:40:51 -03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-11-02 10:40:51 -03:00
2026-10-29 12:58:01 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-02 03:10:24 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-31 11:42:51 -03:00
2026-10-31 02:03:34 -03:00
2026-10-27 15:21:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-02 17:11:14 +03:00
2026-11-01 14:05:41 +03:00
2026-11-01 14:05:41 +03:00
2026-10-23 22:27:54 +03:00
2026-11-01 14:05:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-02 05:17:58 +07:00
2026-11-01 07:09:13 +08:00
2026-10-29 16:56:56 -03:00
2026-10-29 17:29:31 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 17:29:31 -03:00
2026-10-31 07:27:46 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 16:48:02 +03:00
2026-11-02 09:50:30 +03:00
2026-11-02 09:50:30 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-11-02 15:02:38 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-11-02 09:50:30 +03:00
2026-11-02 09:50:30 +03:00
2026-11-03 08:40:13 +08:00
2026-11-02 17:04:07 +03:00
2026-10-31 14:44:48 +03:00
2026-11-03 08:40:13 +08:00
2026-11-02 17:02:31 +03:00
2026-10-31 14:44:48 +03:00
2026-11-02 09:50:30 +03:00
2026-11-03 08:40:13 +08:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-11-01 11:15:50 +03:00
2026-10-29 16:56:56 -03:00
2026-11-02 15:02:38 +03:00
2026-10-31 16:39:38 -03:00
2026-11-02 15:02:38 +03:00
2026-11-02 15:02:38 +03:00
2026-11-02 15:02:38 +03:00
2026-11-02 17:04:07 +03:00
2026-11-03 08:40:13 +08:00
2026-10-23 22:27:54 +03:00
2026-11-03 08:40:13 +08:00