Repository navigation
Conversation
Adapted from DoubleD17's fix in Marvisak/VIctory#2052.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preserve NaN when decoding HDR channels with exponent 31 and a nonzero mantissa. In the synthetic RGBA buffer for R16G16B16A16_FLOAT and R11G11B10_FLOAT, NaN maps to 0, positive infinity saturates to 255, and the finite control 0.5 still maps to 202 through the fork's cube-root curve. Adapted from DoubleD17's original fix. Marvisak #2052
Synthetic CPU capture tests on Windows 11 x64 with Rust 1.98.1 MSVC passed two of five on the base with the same fixture and five of five on candidate 8a77f97. They exercise conversion through the RGBA buffer. PNG writing and GPU readback were outside the test.
AI-assisted.