dawn-cmake/scripts
Jiajie Hu 9e5b9edb43 Enable Vulkan validation layers on Linux
When vkDestroyDebugReportCallbackEXT() is called in Backend::~Backend()
and Vulkan validation layers are in use, the variable unique_id_mapping
is referenced internally[1]. However, the variable is global[2] and it's
destructed before Backend::~Backend(), which causes a use-after-free
issue. The issue was unnoticed on Windows, but we observed the crash at
exit on Linux.

[1] 9fba37afae/layers/generated/layer_chassis_dispatch.cpp (4961)
[2] 9fba37afae/layers/generated/chassis.cpp (40)

Bug: dawn:150
Change-Id: I505373a88ef9795243dd18da9785fb49d253e498
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13787
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-11-20 09:45:41 +00:00
..
dawn_component.gni Remove unneeded GN config removal after generated file cleanup 2019-10-17 15:51:38 +00:00
dawn_features.gni Enable Vulkan validation layers on Linux 2019-11-20 09:45:41 +00:00
dawn_overrides_with_defaults.gni Add Vulkan validation layers on Windows 2019-11-07 12:13:27 +00:00
git-clang-format Add travis hook to check formatting 2017-11-28 16:18:39 -05:00
lint_clang_format.sh PRESUBMIT.py: Add formatting checks. 2018-09-11 08:06:36 -04:00
perf_test_runner.py Add Dawn perf test harness 2019-08-28 23:18:10 +00:00
roll-shaderc-deps.sh Add shaderc to DEPS to roll in script 2019-06-27 15:35:14 +00:00
standalone.gclient Add new dependencies to gitignore and fix gclient url. 2018-10-01 18:02:04 +00:00
travis_lint_format.sh PRESUBMIT.py: Add formatting checks. 2018-09-11 08:06:36 -04:00