KhronosGroup / KhronosGroup/Vulkan-Docs

Allow querying HGIG HDR metadata for outputs

Open
#2,167 9 comments 3 reactions 1 assignee View on GitHub

@linyaa-kiwi is already working on this.

Since Jul 26, 2023.

Resolving Inside Khronos System Integration
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

The HGIG recommendations suggest exposing three fields to game developers to let them best do tonemapping in HDR: MaxFullFrameToneMapLuminance (MaxFFTML), MaxToneMapLuminance (MaxTML) and MinToneMapLuminance (MinTML).

DXGI already supports querying these values from an IDXGIOutput6, however Vulkan doesn't seem to expose the same functionality yet. Thus, it's difficult to retrieve the display-specific parameters for correct HDR tonemapping.

Note that Vulkan does have support for setting application-provided SMPTE ST.2086 HDR metadata, but this approach is discouraged, because TVs and display environments have not provided consistent display tonemapping in response to this metadata. See the note / remarks on the equivalent DXGI functionality

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.