mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Separate device lost from internal errors.
The effect to the user is the same, the Dawn device gets lost. However we need to make the difference internally because when the backend device is lost we can clean up immediately. On the contrary on internal errors, the backend device is still alive and processing commands so we need to gracefully shut it down. Bug: dawn:269 Change-Id: Ie13b33a4f9ac2e1f5f98b3723d83cf1c6205c988 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/17965 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
3da19b843f
commit
a0afd31585
@@ -49,8 +49,7 @@ namespace dawn_native {
|
||||
};
|
||||
void AppendBacktrace(const char* file, const char* function, int line);
|
||||
|
||||
InternalErrorType GetInternalType() const;
|
||||
wgpu::ErrorType GetType() const;
|
||||
InternalErrorType GetType() const;
|
||||
const std::string& GetMessage() const;
|
||||
const std::vector<BacktraceRecord>& GetBacktrace() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user