WebGPU: Only choose the first D3D12 adapter on Windows
This patch forces the WebGPU command buffer only choose the first D3D12 adapter as the available WebGPU adapter on Windows. On Windows the shared image between different GPUs has not been supported yet, so we must ensure WebGPU is always using the same GPU as the one used by the reset of Chromium. As ANGLE is using the first D3D11 adapter, currently in WebGPU command buffer we should also choose the first D3D12 adapter as the only one that can be chosen as a WebGPU adapter. BUG=chromium:996713 Change-Id: I92fe94c32773dd9392c25b52021df85f6bd4e3fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1909648Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Cr-Commit-Position: refs/heads/master@{#716443}
Showing
Please register or sign in to comment