Label WebGPU swap buffers for improved PIX debugging
In PIX's D3D12-only mode, there is no way to determine frame boundaries for WebGPU since Dawn does not manage DXGI swap chains. Without assistance, PIX will wait forever for a present that never happens. If we know we're dealing with a swapbuffer texture, inform Dawn, which informs PIX we've "presented" the texture so it can determine frame boundaries and use the texture's contents for the UI. Bug: dawn:364 Change-Id: I6b157a04df02be697dad6b5bc9d76c33969f9fda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2124875Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Kai Ninomiya <kainino@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Cr-Commit-Position: refs/heads/master@{#755015}
Showing
Please register or sign in to comment