From 3d455334461229afc4deb418ccebc3d1cdaab9e4 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 29 Mar 2022 08:24:45 +0000 Subject: [PATCH] Remove TODOs in samples to "release stuff". Now WebGPU objects can be destroyed in any order without the risk of causing segfaults. Bug: None Change-Id: I00aecf49aa65308c13ab0accc69152fa1361d714 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/84768 Reviewed-by: Austin Eng Reviewed-by: Loko Kung Commit-Queue: Corentin Wallez --- samples/dawn/Animometer.cpp | 2 -- samples/dawn/CHelloTriangle.cpp | 2 -- samples/dawn/ComputeBoids.cpp | 2 -- samples/dawn/CppHelloTriangle.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/samples/dawn/Animometer.cpp b/samples/dawn/Animometer.cpp index 0669ffc5d4..bf1e6f0cc8 100644 --- a/samples/dawn/Animometer.cpp +++ b/samples/dawn/Animometer.cpp @@ -189,6 +189,4 @@ int main(int argc, const char* argv[]) { frame(); utils::USleep(16000); } - - // TODO release stuff } diff --git a/samples/dawn/CHelloTriangle.cpp b/samples/dawn/CHelloTriangle.cpp index 6d8b47e664..16e50e46e7 100644 --- a/samples/dawn/CHelloTriangle.cpp +++ b/samples/dawn/CHelloTriangle.cpp @@ -152,6 +152,4 @@ int main(int argc, const char* argv[]) { frame(); utils::USleep(16000); } - - // TODO release stuff } diff --git a/samples/dawn/ComputeBoids.cpp b/samples/dawn/ComputeBoids.cpp index b92a395ea3..f2e695a695 100644 --- a/samples/dawn/ComputeBoids.cpp +++ b/samples/dawn/ComputeBoids.cpp @@ -327,6 +327,4 @@ int main(int argc, const char* argv[]) { frame(); utils::USleep(16000); } - - // TODO release stuff } diff --git a/samples/dawn/CppHelloTriangle.cpp b/samples/dawn/CppHelloTriangle.cpp index 270a054be0..83e9e10243 100644 --- a/samples/dawn/CppHelloTriangle.cpp +++ b/samples/dawn/CppHelloTriangle.cpp @@ -181,6 +181,4 @@ int main(int argc, const char* argv[]) { frame(); utils::USleep(16000); } - - // TODO release stuff }