arthurhfcardoso and Claude Sonnet 5.5
dd496bfd5d
Encode decoded ASTC textures to BC3 on GPUs without ASTC (astc_bc)
...
A GPU that cannot sample ASTC gets the textures decoded to RGBA8, four times the video memory of the ASTC blocks. With astc_bc = 1 (default 0, GPU decoder only) a second compute pass, bc3_encode.comp, encodes the decoded texels to BC3 and the image is BC3_UNORM or BC3_SRGB: 8 bits per texel instead of 32. The encoder is the usual bounding-box method with the box diagonal turned to the sign of the colour covariance, and the eight-value alpha mode.
A region of a WriteTexels that does not start on a 4x4 block corner is left as it was and logged. The setting is in totk.ini and the Advanced tab. The SPIR-V header was built with glslang 16.6 (build_shaders.py uses glslc) with the same source hash.
On a GTX 1650 (4 GiB) in the Fire Temple the GPU time per frame went from 10-23 ms to 3-12 ms and the frame rate held at 59-60 fps.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 07:27:46 +03:00
..
2026-10-31 07:23:04 +03:00
2026-10-31 07:27:46 +03:00
2026-10-23 23:54:57 +03:00
2026-10-31 07:27:46 +03:00
2026-10-25 18:28:00 +03:00
2026-10-31 07:27:46 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-31 07:12:48 +03:00
2026-10-31 07:27:46 +03:00
2026-10-29 12:58:01 +03:00
2026-10-31 00:05:54 +03:00
2026-10-31 07:27:46 +03:00
2026-10-28 21:45:48 +03:00
2026-10-28 20:05:44 +03:00
2026-10-31 07:23:04 +03:00
2026-10-23 22:27:54 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 09:32:30 +03:00
2026-10-23 22:27:54 +03:00
2026-10-30 13:30:09 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-28 21:22:30 +03:00
2026-10-24 10:41:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-26 09:49:15 +03:00
2026-10-30 19:48:38 +03:00
2026-10-29 12:58:01 +03:00
2026-10-30 13:40:04 +03:00
2026-10-28 12:25:25 +03:00
2026-10-31 00:05:54 +03:00
2026-10-31 00:05:54 +03:00
2026-10-31 00:46:24 +03:00
2026-10-29 17:53:57 +03:00
2026-10-29 12:41:12 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 09:32:30 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-30 13:40:04 +03:00
2026-10-29 12:58:01 +03:00
2026-10-31 00:22:08 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-26 20:39:13 +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-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +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-28 16:51:36 +03:00
2026-10-26 09:32:30 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-31 00:22:08 +03:00
2026-10-30 13:27:19 +03:00
2026-10-28 18:27:12 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-27 15:21:41 +03:00
2026-10-27 15:21:41 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 15:21:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-28 12:25:25 +03:00
2026-10-28 12:25:25 +03:00
2026-10-29 12:41:12 +03:00
2026-10-30 13:40:04 +03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 12:58:01 +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-10-31 07:27:46 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 07:27:46 +03:00
2026-10-27 13:40:34 +03:00
2026-10-30 19:48:38 +03:00
2026-10-30 19:48:38 +03:00
2026-10-30 19:48:38 +03:00
2026-10-26 16:26:11 +03:00
2026-10-30 23:50:02 +03:00
2026-10-29 12:58:01 +03:00
2026-10-30 13:21:14 +03:00
2026-10-30 23:50:02 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 07:27:46 +03:00
2026-10-30 19:48:38 +03:00
2026-10-27 16:05:24 +03:00
2026-10-30 19:48:38 +03:00
2026-10-29 12:58:01 +03:00
2026-10-30 23:50:02 +03:00
2026-10-30 23:50:02 +03:00
2026-10-30 23:50:02 +03:00
2026-10-31 07:27:46 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:27:46 +03:00