ItsNotRexed
aa2988cc55
rdna2spirv: typed buffer loads read the format's byte size from one table
...
buffer_load_format with a run-time V# format picked the element size twice per load through a select chain over
all of FORMATS (dwords spanned, and the bounds-check size): about 150 of the ~390 instructions a load cost. The sizes
are now one Private constant array, %fmt_size_tab (128 entries, 0 for a code FORMATS does not decode), read once
per use; a tbuffer's fixed format still folds at translate time. Same results: an unknown format loads one dword
and bounds-checks 4 bytes, as before.
indirect_diffuse_lighting's ScreenProbes_ActivateProbes (3,281 such loads, the module NVIDIA's compiler failed on):
52.4 MB / 2.50 M ids -> 29.8 MB / 1.43 M ids under --wave64-emulate, 43.8 -> 29.4 MB native; passes spirv-val.
spirv_mini_interp reads OpConstantComposite and Private variables so the semantic tests run through the table.
Typed-buffer, image and d16 tests (383), the shader checks and both GPU suites (164/210, 195/210 W64) pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-22 17:08:57 -05:00
..
2026-11-22 23:02:25 +03:00
2026-11-22 17:08:57 -05:00
2026-11-22 19:24:00 +02:00
2026-11-22 15:15:18 -05:00
2026-11-22 15:11:58 -05:00
2026-11-22 13:13:56 -05:00
2026-11-22 15:14:09 -05:00
2026-11-22 15:15:44 -05:00
2026-11-22 13:15:44 -05:00
2026-11-22 16:25:29 -03:00
2026-11-22 20:28:29 +01:00
2026-11-22 20:42:04 +01:00
2026-11-22 20:27:01 +01:00
2026-11-22 13:16:58 -05:00
2026-11-22 15:15:46 -05:00
2026-11-22 15:14:59 -05:00
2026-11-22 15:16:25 -05:00
2026-11-22 15:15:24 -05:00
2026-11-22 21:04:44 +01:00
2026-11-22 14:12:24 -03:00
2026-11-22 15:12:13 -05:00
2026-11-22 15:15:09 -05:00
2026-11-22 15:14:32 -05:00
2026-11-22 19:10:20 +00:00
2026-11-22 08:53:33 -08:00
2026-11-22 20:44:51 +01:00
2026-11-22 13:15:42 -05:00
2026-11-22 16:37:59 -03:00
2026-11-22 15:14:43 -05:00
2026-11-22 18:48:52 +00:00
2026-11-22 15:58:29 -03:00
2026-11-22 20:28:11 +02:00
2026-11-22 19:43:57 +01:00
2026-11-22 21:04:25 +01:00
2026-11-22 15:10:55 -05:00
2026-11-22 18:48:56 +01:00
2026-11-22 15:15:29 -05:00
2026-11-22 19:31:23 +01:00
2026-11-22 19:48:59 +01:00
2026-11-22 18:02:17 +01:00
2026-11-22 13:16:03 -05:00
2026-11-22 15:14:24 -05:00
2026-11-22 16:44:51 -03:00
2026-11-22 16:55:46 -05:00
2026-11-22 20:27:31 +01:00
2026-11-22 14:25:31 -05:00
2026-11-22 17:51:33 +00:00
2026-11-22 22:13:45 +03:00
2026-11-22 15:15:24 -05:00
2026-11-22 18:41:47 +01:00
2026-11-22 18:15:42 +01:00
2026-11-22 20:29:53 +01:00
2026-11-22 20:13:37 +01:00
2026-11-22 17:57:33 +01:00
2026-11-22 13:06:49 -06:00
2026-11-22 15:11:23 -05:00
2026-11-23 00:45:21 +05:30
2026-11-22 12:46:54 -06:00
2026-11-22 14:58:35 -05:00
2026-11-22 19:28:17 +00:00
2026-11-22 14:57:45 -05:00
2026-11-22 19:47:13 +01:00
2026-11-22 20:05:35 +01:00
2026-11-22 20:29:12 +02:00
2026-11-22 19:55:11 +00:00
2026-11-22 15:14:52 -05:00
2026-11-22 18:18:40 +01:00
2026-11-22 20:38:17 +01:00
2026-11-22 19:55:21 +01:00
2026-11-22 16:14:54 -05:00
2026-11-22 14:36:57 -03:00
2026-11-22 21:02:38 +01:00
2026-11-22 15:13:46 -05:00
2026-11-22 18:39:42 +01:00
2026-11-22 22:44:19 +03:00
2026-11-22 18:19:02 +01:00
2026-11-22 14:30:33 -05:00
2026-11-22 20:58:05 +01:00
2026-11-22 19:00:50 +01:00
2026-11-22 15:12:11 -05:00
2026-11-22 22:40:33 +03:00
2026-11-22 18:00:21 +01:00
2026-11-22 15:16:18 -05:00
2026-11-22 17:34:14 +00:00
2026-11-22 15:16:17 -05:00
2026-11-22 11:43:46 -05:00
2026-11-22 19:59:38 +00:00
2026-11-22 18:58:09 +00:00
2026-11-22 15:14:40 -05:00
2026-11-22 18:10:07 +01:00
2026-11-22 19:49:11 +01:00
2026-11-22 15:14:53 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 15:13:09 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 20:07:22 +00:00
2026-11-22 16:14:54 -05:00
2026-11-22 19:37:55 +00:00
2026-11-22 16:43:25 -03:00
2026-11-22 16:43:25 -03:00
2026-11-22 15:10:40 -05:00
2026-11-22 15:11:34 -05:00
2026-11-22 17:21:26 +00:00
2026-11-22 19:36:12 +01:00
2026-11-22 19:37:24 +02:00
2026-11-22 15:15:51 -05:00
2026-11-22 20:08:58 +01:00
2026-11-22 19:59:39 +01:00
2026-11-22 16:34:15 -03:00
2026-11-22 15:15:43 -05:00
2026-11-22 20:27:01 +01:00
2026-11-22 20:27:01 +01:00
2026-11-22 15:19:44 -03:00
2026-11-22 12:58:45 -06:00
2026-11-22 15:15:43 -05:00
2026-11-22 15:13:14 -05:00
2026-11-22 15:16:11 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 18:49:10 +00:00
2026-11-22 15:14:45 -05:00
2026-11-22 15:14:45 -05:00
2026-11-22 13:15:49 -05:00
2026-11-22 15:16:04 -05:00
2026-11-22 15:14:19 -05:00
2026-11-22 18:42:18 +01:00
2026-11-22 18:55:58 +01:00
2026-11-22 13:14:35 -05:00
2026-11-22 15:15:11 -05:00
2026-11-22 18:23:35 +01:00
2026-11-22 13:15:41 -05:00
2026-11-22 20:30:27 +02:00
2026-11-22 21:17:31 +02:00
2026-11-22 15:15:26 -05:00
2026-11-22 09:41:41 -08:00
2026-11-22 18:19:25 +00:00
2026-11-22 18:47:04 +02:00
2026-11-22 13:16:53 -05:00
2026-11-22 13:15:17 -05:00
2026-11-22 18:01:58 +01:00
2026-11-22 19:56:45 +03:00
2026-11-22 11:54:49 -05:00
2026-11-22 19:43:51 +03:00
2026-11-22 16:52:03 -03:00
2026-11-22 15:14:49 -05:00
2026-11-22 22:45:59 +03:00
2026-11-22 14:46:26 -05:00
2026-11-22 18:54:43 +01:00
2026-11-22 20:15:03 +02:00
2026-11-22 15:15:47 -05:00
2026-11-22 17:15:44 +00:00
2026-11-22 11:43:35 -05:00
2026-11-22 13:15:35 -05:00
2026-11-22 15:13:18 -05:00
2026-11-22 13:40:35 -06:00
2026-11-23 00:49:44 +05:30
2026-11-22 15:12:26 -05:00
2026-11-22 15:13:34 -05:00
2026-11-22 09:36:33 -08:00
2026-11-22 11:43:23 -05:00
2026-11-22 19:27:23 +00:00
2026-11-22 19:23:21 +01:00
2026-11-22 23:35:48 +05:30
2026-11-22 20:52:44 +01:00
2026-11-22 15:16:23 -05:00
2026-11-22 19:33:03 +01:00
2026-11-22 19:53:30 +01:00
2026-11-22 15:09:42 -05:00
2026-11-22 15:16:09 -05:00
2026-11-22 19:08:55 +01:00
2026-11-22 20:11:55 +01:00
2026-11-22 20:01:02 +01:00
2026-11-22 13:15:17 -05:00
2026-11-22 15:11:56 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 14:58:19 -05:00
2026-11-22 16:08:12 -03:00
2026-11-22 15:31:33 -05:00
2026-11-22 13:54:26 -03:00
2026-11-22 15:15:38 -05:00
2026-11-22 15:15:46 -05:00
2026-11-22 13:15:49 -05:00
2026-11-22 16:55:46 -05:00
2026-11-22 14:09:32 -03:00
2026-11-22 15:16:21 -05:00
2026-11-22 16:03:00 -03:00
2026-11-22 18:44:03 +01:00
2026-11-22 20:44:17 +01:00
2026-11-22 15:15:31 -05:00
2026-11-22 15:15:28 -05:00
2026-11-22 22:04:23 +02:00
2026-11-22 15:16:25 -05:00
2026-11-22 15:14:29 -05:00
2026-11-22 19:24:00 +02:00
2026-11-22 17:49:03 +01:00
2026-11-22 20:22:30 +03:00
2026-11-22 18:40:08 +01:00
2026-11-22 15:13:12 -05:00
2026-11-22 15:14:48 -05:00
2026-11-22 17:50:02 +00:00
2026-11-22 15:15:27 -05:00
2026-11-22 15:14:36 -05:00
2026-11-22 13:33:46 -05:00
2026-11-22 15:16:54 -05:00
2026-11-22 19:21:42 +00:00
2026-11-22 15:01:48 -05:00
2026-11-22 21:10:56 +03:00
2026-11-22 23:01:10 +03:00
2026-11-22 16:14:54 -05:00
2026-11-22 14:28:42 -03:00
2026-11-22 15:16:04 -05:00
2026-11-22 18:34:25 +01:00
2026-11-22 20:14:52 +02:00
2026-11-22 19:11:04 +01:00
2026-11-22 13:16:32 -05:00
2026-11-22 21:14:36 +03:00
2026-11-22 16:55:46 -05:00
2026-11-22 15:11:34 -05:00
2026-11-22 20:01:53 +00:00
2026-11-22 15:15:04 -05:00
2026-11-22 17:49:10 +01:00
2026-11-22 18:43:51 +01:00
2026-11-22 13:40:33 -06:00
2026-11-22 13:40:33 -06:00
2026-11-22 15:12:30 -05:00
2026-11-22 22:56:48 +03:00
2026-11-22 20:02:54 +01:00
2026-11-22 13:16:59 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 20:20:40 +01:00
2026-11-22 13:48:31 -06:00
2026-11-22 14:30:33 -05:00
2026-11-22 16:48:27 -03:00
2026-11-22 14:24:18 -03:00
2026-11-22 15:13:02 -05:00
2026-11-22 15:14:38 -05:00
2026-11-22 15:15:01 -05:00
2026-11-22 14:54:28 -05:00
2026-11-22 15:11:41 -05:00
2026-11-22 15:07:15 -03:00