epicmeme546
76c3661aff
Keep the vertex layout in the pipeline on AMD's RDNA 3 and newer driver, and save the pipeline cache while a large compute shader builds.
...
AMD's driver for RDNA 3 and newer compiles a pipeline that has dynamic vertex input again at every boot: neither pipeline-cache.bin nor the driver's own disk cache gives it back. On an RX 7900 XT (26.10.1) a player's key file of 3,979 records used the whole 20 s boot budget at every boot. Dynamic vertex input is now off by default on that driver (vk_caps.amd_llpc); with the vertex layout in the pipeline the third boot of that file built 4,273 pipelines in 0.9 s, all from the file. NX2NAVI_VK_DYN_VERTEX=1 turns it back on. The RDNA 1 and 2 driver branch is not measured and keeps it.
The background builder of large compute shaders now compiles into a pipeline cache of its own and merges it into the main one when the build is done. A create into the main cache holds the cache's lock for its whole length and the cache is only saved while nobody holds it, so a build of minutes kept pipeline-cache.bin from being written at all: on the same card one compute shader of 4,874,502 SPIR-V words was still compiling 590 s after the boot, and nothing built in that session reached the file.
NX2NAVI_PIPE_FEEDBACK=2 also logs every graphics pipeline build with hashes of its modules and its fixed state, which is how the recompiles were found.
Co-Authored-By: Claude <noreply@anthropic.com >
2026-11-09 18:17:12 -05:00
..
2026-11-09 12:18:17 -05:00
2026-11-09 11:22:37 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 13:10:47 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:19:19 -05:00
2026-11-09 08:19:19 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:17:35 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 13:15:47 -05:00
2026-11-09 08:09:25 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:45:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-08 04:10:35 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 13:15:37 -05:00
2026-11-09 13:15:47 -05:00
2026-11-09 13:15:47 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-08 00:34:29 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 14:34:45 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:18:08 -05:00
2026-11-09 08:18:19 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 14:34:45 -05:00
2026-11-07 16:02:30 -05:00
2026-11-09 06:06:33 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:21:07 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 11:17:08 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 09:26:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-09 08:09:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:48 -05:00
2026-11-08 15:51:47 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:47 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:54:25 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:19:55 -05:00
2026-11-07 13:31:07 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:16:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 14:34:45 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 08:20:32 -05:00
2026-11-09 08:20:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:25 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 14:16:19 -05:00
2026-11-09 11:22:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 18:44:56 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:25 -05:00
2026-11-09 18:17:12 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 04:29:01 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 12:18:17 -05:00
2026-11-09 09:47:33 -05:00
2026-11-09 11:58:47 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 09:55:25 -05:00
2026-11-09 10:42:36 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 12:20:05 -05:00
2026-11-07 13:31:06 -05:00
2026-11-09 12:31:28 -05:00
2026-11-09 02:40:51 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 14:00:12 -05:00
2026-11-09 12:45:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 18:17:12 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 08:09:26 -05:00
2026-11-09 17:12:21 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 03:34:46 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 18:17:12 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 12:45:14 -05:00