Michael Anthony Bitoon
e2fdb5b226
Merge a shader's storage-buffer writes back into guest memory word by word
...
In mirror mode the replay copied every range a shader wrote from the VRAM mirror back to guest memory at the end of the
submission. TotK's particle emitters write a new particle's whole record into a free slot of a buffer the simulation
shaders update, so the copy put the mirror's stale words over fresh spawns: the waterfall splashes and mist showed about
once a second and the falling rain drifted. Now each written range gets a snapshot in the prologue of the part that
first writes it, after the CPU-to-mirror copies, and at the end of the submission shaders/wb_merge.comp writes only the
32-bit words that differ from the snapshot. Words the GPU left alone keep what the CPU wrote. About 0.1 MiB and three or
four dispatches a frame in rain. TOTK_WB_MERGE=0 restores the copies. The merge's push descriptors go through rec_push
so they keep their place in the recorder's call order.
2026-11-03 01:19:10 +08:00
..
2026-11-01 22:55:27 +03:00
2026-11-03 01:19:10 +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-03 01:19:10 +08: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-10-31 03:34:55 +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-02 17:11:14 +03:00
2026-11-02 17:04:07 +03:00
2026-10-31 14:44:48 +03:00
2026-11-03 01:19:10 +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-02 09:50:30 +03: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-03 01:19:10 +08: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-01 00:16:47 +08:00
2026-10-23 22:27:54 +03:00
2026-11-03 01:19:10 +08:00
2026-11-03 01:19:10 +08:00