Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDR ASTC texture feature "texture-compression-astc-hdr" #3856

Open
mwyrzykowski opened this issue Feb 22, 2023 · 0 comments
Open

HDR ASTC texture feature "texture-compression-astc-hdr" #3856

mwyrzykowski opened this issue Feb 22, 2023 · 0 comments

Comments

@mwyrzykowski
Copy link

We would like to propose an extension to the texture formats table and features for HDR ASTC textures.

Specifically under Section 25. Feature Index: https://gpuweb.github.io/gpuweb/#feature-index

"texture-compression-astc-hdr"

would be added as 25.11 after "bgra8unorm-storage"

When "texture-compression-astc-hdr" is supported, the following entries in https://gpuweb.github.io/gpuweb/#enumdef-gputextureformat would be supported:

    // ASTC HDR compressed formats usable if "texture-compression-astc-hdr" is both
    // supported by the device/user agent and enabled in requestDevice.
    "astc-4x4-hdr",
    "astc-5x4-hdr",
    "astc-5x5-hdr",
    "astc-6x5-hdr",
    "astc-6x6-hdr",
    "astc-8x5-hdr",
    "astc-8x6-hdr",
    "astc-8x8-hdr",
    "astc-10x5-hdr",
    "astc-10x6-hdr",
    "astc-10x8-hdr",
    "astc-10x10-hdr",
    "astc-12x10-hdr",
    "astc-12x12-hdr"

This feature is implementable in Metal (MTLPixelFormatASTC_[NxM]_HDR) and Vulkan VkPhysicalDeviceTextureCompressionASTCHDRFeatures. My understanding is D3D12 does not have support for ASTC HDR textures.

@kainino0x kainino0x added this to the Polish post-V1 milestone Mar 8, 2023
@kainino0x kainino0x modified the milestones: Polish post-V1, Milestone 2? Aug 15, 2023
@kainino0x kainino0x added the api WebGPU API label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants