Valiantsin Dzerakh and Claude Opus 5.5
9dd50131ca
Start function-local variables at 0 on Mesa drivers only
...
SPIR-V leaves a register read before any write undefined and Mesa folds undefined values freely. The unconditional patch 0014 guarded against that and was taken out in #701 because the whole picture shook with DLSS on NVIDIA. Patch 0016 brings the zero start back behind a zero_locals job flag, which vk_caps_driver turns on for RADV, ANV and NVK. TOTK_ZERO_LOCALS overrides it, and gfx_shader_set_host mixes it into the translator identity so the variant has its own cache keys.
FXAA_FS gains the flag-on hash of the game's FXAA shader, so vk_dlaa_skip_draw knows it on Mesa too. A game run with TOTK_ZERO_LOCALS=1 on an RX 9070 produced that hash; a TOTK_FXAA=0 run logged no skip with either hash, so the switch itself is not confirmed.
All 29736 stored 1.4.3 inputs translate with the flag off and on, 0 spirv-val failures. FXAA hashes to 5c43ae18948d52cb with the flag off and aad42238801d31d8 with it on. Flag-on output matches the old translator byte for byte on a sample of 312 shaders. Not run on a Mesa driver.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 18:05:21 +03:00
..
2026-11-04 11:04:31 +03:00
2026-11-03 19:46:27 +03:00
2026-10-23 23:54:57 +03:00
2026-11-04 08:36:28 +03:00
2026-11-03 16:39:50 +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 11:44:25 -04: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-04 08:36:28 +03:00
2026-11-04 10:50:38 +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-03 20:56:36 +03:00
2026-11-01 10:10:09 +03:00
2026-10-23 22:27:54 +03:00
2026-11-03 17:31:58 +08: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-04 08:36:28 +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-11-04 15:00:36 +03:00
2026-11-04 07:56:03 +03:00
2026-11-01 21:08:13 +08:00
2026-11-04 18:05:21 +03:00
2026-10-31 21:17:12 +01:00
2026-11-02 17:36:09 +03:00
2026-11-03 20:09:23 +03:00
2026-10-29 16:56:56 -03:00
2026-11-04 18:05:21 +03:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-11-01 18:11:25 -04:00
2026-10-31 21:17:12 +01:00
2026-11-03 20:11:12 +03:00
2026-11-01 00:53:17 +03:00
2026-11-04 08:36:28 +03:00
2026-11-04 08:36:28 +03:00
2026-11-04 08:10:59 +03:00
2026-11-02 17:36:09 +03:00
2026-11-04 08:10:59 +03:00
2026-10-29 16:56:56 -03:00
2026-11-04 08:10:59 +03:00
2026-11-04 08:35:12 +03:00
2026-11-04 08:10:59 +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-04 10:58:35 +03:00
2026-10-29 16:56:56 -03:00
2026-11-04 08:10:59 +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-11-04 08:52:06 +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-11-04 15:00:36 +03:00
2026-10-29 16:56:56 -03:00
2026-11-03 17:31:49 +08:00
2026-11-04 15:00:36 +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-11-04 15:00:36 +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-03 20:09:22 +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-11-03 20:09:22 +03:00
2026-11-03 20:09:22 +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-03 19:46:27 +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-04 08:36:28 +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-04 08:36:28 +03:00
2026-11-04 08:36:28 +03:00
2026-10-29 16:56:56 -03:00
2026-11-03 12:00:28 +03:00
2026-11-04 10:50:38 +03:00
2026-11-04 18:05:21 +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-04 18:05:21 +03:00
2026-11-03 17:31:58 +08:00
2026-10-31 14:44:48 +03:00
2026-11-04 15:33:07 +03:00
2026-11-02 17:02:31 +03:00
2026-10-31 14:44:48 +03:00
2026-11-04 15:33:19 +03:00
2026-11-04 15:33:19 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-11-03 16:18:40 +03:00
2026-10-29 16:56:56 -03:00
2026-11-03 00:31:53 +08:00
2026-11-03 17:31:58 +08:00
2026-11-03 17:31:58 +08:00
2026-11-03 19:39:49 +03:00
2026-11-03 17:31:58 +08:00
2026-11-03 17:31:58 +08:00
2026-11-03 17:31:58 +08:00
2026-11-03 17:31:58 +08:00
2026-11-02 15:02:38 +03:00
2026-11-04 16:49:46 +03:00
2026-11-03 19:39:49 +03:00
2026-10-23 22:27:54 +03:00
2026-11-04 18:05:21 +03:00