gpu(native): decode RGB9E5 in HDR diagnostic dumps #426
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by theappartment on 2026-11-27T17:43:08Z.
DXGI 67 (
R9G9B9E5_SHAREDEXP) reaches the byte-preview fallback inVICTORY_TRACE_PASSESand is skipped byVICTORY_DUMP_TARGETS. Its bytes pack three 9-bit mantissas and one shared exponent, so displaying individual bytes produces misleading colors.A synthetic texel with mantissas
[256, 128, 64]and exponent16represents linear RGB[1.0, 0.5, 0.25]. The current pass preview emits[0, 1, 129]. The existing HDR tone map would emit[180, 147, 114]after decoding. The existing Metal resource test confirms those synthetic linear values through a texture view. DXGI 67 was present in 59 traced frames across two local windowed runs.I plan to decode the shared exponent in the existing HDR path, use it in both diagnostic dump entry points, and add a synthetic regression for channel order and exponent.
Microsoft DirectXMath reference decoder
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by theappartment on 2026-11-27T17:43:24Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T17:43:35Z.
Claimed by @theappartment. Open a draft pull request with
Refs #426in its description within 24 hours, or the claim expires.