mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 03:39:57 -04:00
Describe what the code does in comments and docs.
Comments say what the code does and why, docs/maxwell.md keeps the Maxwell facts, and fetch_refs.sh clones only the checkout the build reads. Code is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// NVN format -> VkFormat for the textures of the graphics layer.
|
||||
// Ported from the format table of LAS Recomp runtime/nvn/vulkan/textures.c @ da35b83a (MIT, Copyright (c) 2026 Peiikai).
|
||||
// Differences from LAS: the table is indexed by the NVNformat values of nvn.h and covers all of them, ASTC decodes to
|
||||
// Differences from the original table: the table is indexed by the NVNformat values of nvn.h and covers all of them, ASTC decodes to
|
||||
// RGBA8 unless the device samples it (vk_astc.c, NX2NAVI_ASTC), D24S8 is always D32S8 (no probing: the RX 9070 lacks
|
||||
// it), 3-component formats expand to 4 components, and formats with no Vulkan equivalent are reported with a reason.
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user