mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-22 11:42:17 +00:00
Fixes a crash found while fuzzing by returning early when SetDebugName is called with an empty D3D12/Vulkan object or when the device is lost. Adds tests. Bug: chromium:1245720 Change-Id: Ie443f690cf5635d017295a13e21c33dd2e97dc46 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63363 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones (Intel) <brandon1.jones@intel.com>