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 15:14:53 -05:00
2026-11-22 15:14:30 -05:00
2026-11-22 15:15:18 -05:00
2026-11-22 15:11:58 -05:00
2026-11-22 15:14:05 -05:00
2026-11-22 15:15:15 -05:00
2026-11-22 15:15:44 -05:00
2026-11-22 15:11:30 -05:00
2026-11-22 16:25:29 -03:00
2026-11-22 20:28:29 +01:00
2026-11-22 16:14:54 -05:00
2026-11-22 17:21:26 +00:00
2026-11-22 13:16:58 -05:00
2026-11-22 20:28:25 +01: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 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 19:10:20 +00:00
2026-11-22 16:37:59 -03:00
2026-11-22 15:14:43 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 20:28:11 +02:00
2026-11-22 08:32:34 -08:00
2026-11-22 18:48:57 +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 15:14:24 -05:00
2026-11-22 16:44:51 -03:00
2026-11-22 16:55:46 -05:00
2026-11-22 14:25:31 -05:00
2026-11-22 14:30:33 -05:00
2026-11-22 12:55:07 -05:00
2026-11-22 17:15:43 +01:00
2026-11-22 10:39:49 -05:00
2026-11-22 20:29:53 +01:00
2026-11-22 16:14:54 -05: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-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 15:15:31 -05:00
2026-11-22 15:16:51 -05:00
2026-11-22 18:19:02 +01: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 11:42:39 -05:00
2026-11-22 12:55:07 -05:00
2026-11-22 15:16:18 -05: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 19:06:26 +00:00
2026-11-22 15:14:40 -05:00
2026-11-22 18:10:07 +01:00
2026-11-22 16:14:54 -05:00
2026-11-22 17:20:14 +01:00
2026-11-22 15:15:55 -05:00
2026-11-22 20:07:22 +00:00
2026-11-22 16:14:54 -05:00
2026-11-22 16:43:25 -03:00
2026-11-22 15:14:56 -05:00
2026-11-22 14:30:33 -05:00
2026-11-22 15:11:34 -05:00
2026-11-22 15:12:51 -05:00
2026-11-22 15:15:51 -05:00
2026-11-22 16:34:15 -03: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 13:15:41 -05:00
2026-11-22 20:30:27 +02:00
2026-11-22 15:07:15 -03: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 16:40:07 +00: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 11:31:20 -05:00
2026-11-22 11:54:49 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 14:48:31 -03:00
2026-11-22 16:14:54 -05:00
2026-11-22 15:14:49 -05:00
2026-11-22 22:45:59 +03:00
2026-11-22 20:13:13 +02: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 15:14:05 -05:00
2026-11-22 11:43:35 -05:00
2026-11-22 17:08:57 -05:00
2026-11-22 19:40:47 +00: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 15:11:27 -05:00
2026-11-22 15:13:51 -05:00
2026-11-22 15:11:30 -05:00
2026-11-22 16:09:57 +00:00
2026-11-22 15:16:23 -05:00
2026-11-22 19:33:03 +01:00
2026-11-22 16:14:54 -05:00
2026-11-22 15:14:20 -05:00
2026-11-22 20:01:02 +01:00
2026-11-22 13:15:17 -05:00
2026-11-22 15:12:36 -05:00
2026-11-22 22:01:01 +03:00
2026-11-22 16:14:54 -05:00
2026-11-22 16:08:12 -03:00
2026-11-22 13:54:26 -03:00
2026-11-22 16:14:54 -05:00
2026-11-22 15:15:46 -05:00
2026-11-22 18:17:57 +01:00
2026-11-22 16:55:46 -05:00
2026-11-22 15:16:21 -05:00
2026-11-22 16:03:00 -03:00
2026-11-22 15:15:31 -05:00
2026-11-22 15:15:28 -05:00
2026-11-22 14:30:33 -05:00
2026-11-22 17:28:50 +01:00
2026-11-22 15:16:25 -05:00
2026-11-22 15:14:29 -05:00
2026-11-22 18:06:45 +01:00
2026-11-22 13:14:19 -05:00
2026-11-22 20:00:00 +03:00
2026-11-22 15:11:30 -05:00
2026-11-22 19:45:29 +01:00
2026-11-22 15:14:48 -05:00
2026-11-22 15:15:27 -05:00
2026-11-22 15:14:36 -05:00
2026-11-22 12:55:07 -05:00
2026-11-22 15:16:54 -05:00
2026-11-22 15:01:48 -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 19:11:04 +01:00
2026-11-22 13:16:32 -05:00
2026-11-22 16:14:54 -05:00
2026-11-22 15:11:34 -05:00
2026-11-22 17:49:10 +01:00
2026-11-22 14:30:33 -05:00
2026-11-22 15:12:30 -05:00
2026-11-22 16:01:58 -04:00
2026-11-22 13:16:59 -05:00
2026-11-22 13:16:59 -05:00
2026-11-22 17:42:08 +01:00
2026-11-22 14:30:33 -05:00
2026-11-22 15:16:06 -05:00
2026-11-22 16:48:27 -03:00
2026-11-22 15:16:11 -05:00
2026-11-22 15:14:38 -05:00
2026-11-22 15:15:01 -05:00
2026-11-22 15:11:41 -05:00
2026-11-22 15:07:15 -03:00