mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Add Backend Validation Levels Option to Dawn Tests
Refactors DawnTest's backend validation options to use an enum, as well as adds the 'partial' option enable backend validation with a reduced performance overhead to address TDR issues on the bots. Bug: dawn:598 Change-Id: I759eff03bd117f1f20ad82aa2b71a87834f42b1d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/40000 Commit-Queue: Brandon Jones <brandon1.jones@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
ef369b9ffc
commit
bdbf98afca
@@ -151,11 +151,13 @@ namespace dawn_native {
|
||||
}
|
||||
|
||||
void Instance::EnableBackendValidation(bool enableBackendValidation) {
|
||||
mImpl->EnableBackendValidation(enableBackendValidation);
|
||||
if (enableBackendValidation) {
|
||||
mImpl->SetBackendValidationLevel(BackendValidationLevel::Full);
|
||||
}
|
||||
}
|
||||
|
||||
void Instance::EnableGPUBasedBackendValidation(bool enableGPUBasedBackendValidation) {
|
||||
mImpl->EnableGPUBasedBackendValidation(enableGPUBasedBackendValidation);
|
||||
void Instance::SetBackendValidationLevel(BackendValidationLevel level) {
|
||||
mImpl->SetBackendValidationLevel(level);
|
||||
}
|
||||
|
||||
void Instance::EnableBeginCaptureOnStartup(bool beginCaptureOnStartup) {
|
||||
|
||||
Reference in New Issue
Block a user