[M156] [ir] prevent infinite loops: ensure loop increment survives backends Original change's description: > [ir] prevent infinite loops: ensure loop increment survives backends > > Ensure the loop counter increment always survives through > to the backend. > > If the loop body ends in unreachable, replace it with > "continue". > > This fixes a bug where DXC can deduce a loop has no break, > and then errors out. > > FXC fails on one graphicsfuzz test case. > > Fixed: 582926979 > Change-Id: Ia37e6c1fe3d1b0cf08950b7371bf5ee66a6a6964 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/358675 > Commit-Queue: David Neto <dneto@google.com> > Commit-Queue: James Price <jrprice@google.com> > Auto-Submit: David Neto <dneto@google.com> > Reviewed-by: James Price <jrprice@google.com> (cherry picked from commit ea26d07b810eb66db475fa09e65944aef7ab4447) Bug: 585801970,582926979 Change-Id: Ia37e6c1fe3d1b0cf08950b7371bf5ee66a6a6964 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/360095 Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.