Skip to content

D3D12HDR::CheckDisplayHDRSupport() is sometimes incorrect #921

@allenwp

Description

@allenwp

The HDR sample project does not enumerate all display adapters, which causes D3D12HDR::CheckDisplayHDRSupport() to report incorrect information. To reproduce this issue:

  1. Connect a display to a dedicated GPU, such as an NVIDIA card
  2. Connect a second HDR-compatible display to an integrated GPU, such as an AMD integrated GPU
  3. Set the dedicated GPU as the "main display"
  4. Enable HDR output in Windows on the secondary display that is connected to the integrated GPU
  5. Run the project
  6. Move the window to the secondary display that is connected to the integrated GPU
  7. Note that CheckDisplayHDRSupport incorrectly reports false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions