dolphin/Source/Core/VideoBackends/D3DCommon
jasaaved c83bbd525a Add Querying HDR display luminance
Query the display's HDR min/max luminance and feed those values into the post-processing pipeline and shaders.

- Add SwapChain::QueryDisplayHDRCapabilities(), include dxgi1_6, and call it during swapchain creation and resize to populate g_backend_info.hdr_max_luminance_nits and hdr_min_luminance_nits.
- Extend BackendInfo with hdr_max_luminance_nits and hdr_min_luminance_nits.
- Add hdr_max_luminance_nits/min to the built-in uniform block and fill them in PostProcessing::FillUniformBuffer so shaders can access actual panel values.
- Update AutoHDR.glsl to use the reported hdr_max_luminance_nits (with a fallback to HDR_DISPLAY_MAX_NITS) when computing the auto-HDR white scaling.

This enables more accurate AutoHDR tonemapping by using the display's real luminance capabilities when available.
2026-03-17 21:34:08 -07:00
..
CMakeLists.txt CMake: Fix bundled glslang 2025-10-24 22:58:22 -05:00
D3DCommon.cpp AudioCommon / VideoBackends / WinUpdater - cleanup WRL code 2025-11-22 01:23:39 +01:00
D3DCommon.h VideoBackends/D3D: Eliminate CHECK in favor of ASSERT_MSG 2022-01-09 12:44:13 -08:00
Shader.cpp Merge pull request #13975 from iwubcode/shader_includes 2025-11-02 13:17:28 -05:00
Shader.h VideoBackends / VideoCommon: add support for specifying include files in shader code 2025-10-26 22:47:23 -05:00
SwapChain.cpp Add Querying HDR display luminance 2026-03-17 21:34:08 -07:00
SwapChain.h Add Querying HDR display luminance 2026-03-17 21:34:08 -07:00