HDR: Replace expand gamut toggle with multi-mode gamut selection #18676
+1,894
−1,597
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.
Summary
To2020), inverse tonemapping (HDR), and PQ encoding (HDR10) into distinct stages across D3D11, D3D12, and Vulkan shaders (both HLSL and GLSL), adding the DCI-P3 colour matrix (k2020toP3) for the new WIDE modeLinearToSignalfunction, with tuned CRT scanline parameters (max increased from 0.70 to 0.90, attack from 0.30 to 0.60) and corrected sRGB decode gamma (2.2→2.22)expand_gamutfield is changed frombool/floattounsigned intacross the video driver interface, D3D11/D3D12/Vulkan drivers, shader reflection, thread wrapper, configuration, and menu system — with a new custom string representation function and enum values for the four modeshdr.frag.incandhdr_tonemap.frag.inc