upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/d3d12_command_objects.md
diff options
context:
space:
mode:
authoradriaespii <162989435+adriaespii@users.noreply.github.com>2026-11-22 13:02:57 +0100
committeradriaespii <162989435+adriaespii@users.noreply.github.com>2026-11-22 13:03:17 +0100
commit95288af6dffc94f0612ed7b60513964572a96a5b (patch)
tree17d6953115bc6893ce33304b4d2606d1cd450cac /docs/d3d12_command_objects.md
parent99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff)
Tests: skip d3d12_present on-screen colour check on HDR displays (TEST-209)
On a Windows HDR desktop, DWM scales SDR content by the user's configured SDR white level, causing GDI GetPixel reads to reflect the boosted and potentially clipped values (e.g. 66,205,255 for a 51,153,230 clear). Use IDXGIOutput6::GetDesc1 to check if the monitor displaying the test window is running in HDR mode (DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020), and skip the on-screen colour check with an informative message if so, avoiding false test failures. Tested on AMD Radeon RX 9070 (driver 26.10.1, Windows 11). AI-assisted.
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions