[WebGPU] webgpu.github.io/webgpu-samples/?sample=renderBundles uses excessive memory#35809
Conversation
|
EWS run on previous version of this PR (hash b3617ec) Details |
b3617ec to
e87c9bc
Compare
|
EWS run on previous version of this PR (hash e87c9bc) Details |
e87c9bc to
6e4093f
Compare
|
EWS run on previous version of this PR (hash 6e4093f) Details |
6e4093f to
3af59b2
Compare
|
EWS run on previous version of this PR (hash 3af59b2) Details |
|
@djg I had to make a few more additions to get this actually working. Still ok to merge? |
3af59b2 to
8dac693
Compare
|
EWS run on previous version of this PR (hash 8dac693) Details |
Safer C++ Build #4301❌ Found 5 new failures. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
8dac693 to
84013ac
Compare
|
EWS run on previous version of this PR (hash 84013ac) Details |
Safer C++ Build #4346❌ Found 1 new failure. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
84013ac to
abd58ed
Compare
|
EWS run on current version of this PR (hash abd58ed) Details |
|
Safe-Merge-Queue: Build #37114. |
…xcessive memory https://bugs.webkit.org/show_bug.cgi?id=282153 rdar://138726891 Reviewed by Dan Glastonbury. Command encoders were stored in a WeakHashSet, but we only need to store the valid ones and not invalid ones. Remove invalid encoders to avoid a retain cycle. * Source/WebGPU/WebGPU/Buffer.mm: (WebGPU::Buffer::setCommandEncoder const): * Source/WebGPU/WebGPU/CommandEncoder.h: * Source/WebGPU/WebGPU/CommandEncoder.mm: (WebGPU::CommandEncoder::removeInvalidEncoders): * Source/WebGPU/WebGPU/ExternalTexture.mm: (WebGPU::ExternalTexture::setCommandEncoder const): * Source/WebGPU/WebGPU/QuerySet.mm: (WebGPU::QuerySet::setCommandEncoder const): * Source/WebGPU/WebGPU/Texture.mm: (WebGPU::Texture::setCommandEncoder const): * Source/WebGPU/WebGPU/TextureView.mm: (WebGPU::TextureView::setCommandEncoder const): Canonical link: https://commits.webkit.org/285968@main
abd58ed to
31d96d6
Compare
|
Committed 285968@main (31d96d6): https://commits.webkit.org/285968@main Reviewed commits have been landed. Closing PR #35809 and removing active labels. |
31d96d6
abd58ed
🛠 mac-safer-cpp