gpu(native): decode RGB9E5 in HDR diagnostic dumps #430
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#430
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?
@theappartment on GitHub · 2026-11-27 17:43 UTC · original
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
@theappartment on GitHub · 2026-11-27 17:43 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 17:43 UTC · original
Claimed by @theappartment. Open a draft pull request with
Refs #426in its description within 24 hours, or the claim expires.