mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +00:00
Optimize subresource tracking - use texture view
Bug: dawn:441 Change-Id: I5cdfc1d84b27eb0b127d34ee829ceedf15f1150c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22321 Commit-Queue: Yunchao He <yunchao.he@intel.com> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
ee7debf44d
commit
1c2a039e04
@@ -199,7 +199,7 @@ namespace dawn_native {
|
||||
}
|
||||
ASSERT(!IsError());
|
||||
|
||||
if (GetDevice()->ConsumedError(OnBeforePresent(mCurrentTexture.Get()))) {
|
||||
if (GetDevice()->ConsumedError(OnBeforePresent(mCurrentTextureView.Get()))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user