upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:44:46 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:44:46 -0500
commit22f2a04afdc81c594988e3fecb511802bc1c0e46 (patch)
treeeb3837e8d0cc6c12edacb52d4ba31dd86697e5a6 /runtime/src
parenta85a47a8350e97ff7fc37d8fcae09640c7c4dfb4 (diff)
Console D16S8 textures keep #939's D16/S8 path where the GPU has no D24S8 attachment
The base turns the console's depth family (DXGI 118 to 120) into the D24S8 family at every entry, so #939's D16/S8 code was in the tree and unreachable. On a GPU without D24_UNORM_S8_UINT as a depth-stencil attachment the D24S8 family is itself stored as D32_SFLOAT_S8_UINT, a third precision the title did not ask for, and that is the AMD case, the one #939 was measured on. The device now decides when it is created: with a D24S8 attachment the base's mapping stays (the NVIDIA boots of #984), without one the family is kept and takes #939's path (D16_UNORM_S8_UINT where the GPU has it, 16-bit quantised clears and stores). LEONIDA_CONSOLE_D16S8=native or =d24 chooses for every GPU; the device logs which it took and what the GPU offers. xbox_d16s8_storage and xbox_d16s8_surface ask for native (registered in the previous commit), so they test #939's path on a GPU that has D24S8 too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions