dawn-cmake/src/dawn
Shrek Shao 0982dcea69 Add DisallowDeprecatedPath toggle
The runtime toggle is off by default. When turned on,
the deprecation warning will be turned into validation error.

Replace device->EmitDeprecationWarning with
DAWN_MAKE_DEPRECATION_ERROR macro which make an internal
validation error or make a MaybeError{} based on the toggle.
The callsite can wrap it with a DAWN_TRY.

Bug: dawn:1563, dawn:1525, dawn:1269, dawn:1602
Change-Id: I7fd6f4f8ffc2e054e5fc5fc4aaf23c47f5733847
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111321
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-11-29 23:05:30 +00:00
..
common Add wire serialized command buffer padding. 2022-11-22 23:19:43 +00:00
fuzzers Ensure the Vulkan fuzzer uses SwiftShader 2022-05-31 17:28:49 +00:00
glfw Add a target for the GLFW surface helper. 2022-08-14 15:59:25 +00:00
native Add DisallowDeprecatedPath toggle 2022-11-29 23:05:30 +00:00
node dawn/node: Fix shared library build 2022-11-22 23:25:16 +00:00
platform Add dawn version hash to cache keys. 2022-06-24 23:39:49 +00:00
samples Set colorAttachment.clearColor to NAN in CHelloTriangle.cpp 2022-10-19 13:28:56 +00:00
tests Add DisallowDeprecatedPath toggle 2022-11-29 23:05:30 +00:00
utils Minor build/include fixes for google3 roll. 2022-11-04 01:44:43 +00:00
wire Wire: Make validation error prior to OOM if mappedAtCreation == false 2022-11-23 02:06:11 +00:00
BUILD.gn Remove old src/include folder 2022-06-18 16:16:11 +00:00
CMakeLists.txt Add a target for the GLFW surface helper. 2022-08-14 15:59:25 +00:00
OWNERS Fix typo in OWNERS file 2022-05-31 20:34:39 +00:00
gpu_info.json Make adapter info device matching more flexible 2022-08-02 22:14:35 +00:00