WebGPU: Support command line parameters to enable/disable Dawn Toggles
This patch adds the support of forcing enabling and disabling Dawn Toggles through command line parameters "--enable-dawn-features" and "--disable-dawn-features". Each toggles are separated by ",". e.g. --enable-dawn-features=use_d3d12_render_pass,disable_robustness --disable-dawn-features=lazy_clear_resource_on_first_use This patch also removes the support of the command line parameter "--disable-dawn-robustness" as now its functionality can be replaced by "--enable-dawn-features=disable_robustness". BUG=dawn:480 Change-Id: If8c4fcc7d29f83c5c583b285439e4df73e714764 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2529009Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Austin Eng <enga@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Cr-Commit-Position: refs/heads/master@{#827520}
Showing
Please register or sign in to comment