Open Bug 2077117 Opened 1 month ago Updated 1 month ago

Polyfill canvas viewFormats when VK_KHR_swapchain_mutable_format is not available

Categories

(Core :: Graphics: WebGPU, task, P2)

task

Tracking

()

People

(Reporter: aleiserson, Unassigned)

References

(Blocks 1 open bug)

Details

As discussed in https://github.com/gfx-rs/wgpu/issues/10340, it seems we cannot assume availability of VK_KHR_swapchain_mutable_format to implement canvas view formats on Android. Dawn handles this by blitting the canvas texture when necessary. https://github.com/google/dawn/blob/ef0f7f4138ae1cc0dfb650e0c5723e9be44b0e13/src/dawn/native/vulkan/SwapChainVk.cpp#L388

You need to log in before you can comment on or make changes to this bug.