Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f9fd1ca52fae88f0a3bf4ba7abbadc306da4d841
https://github.com/WebKit/WebKit/commit/f9fd1ca52fae88f0a3bf4ba7abbadc306da4d841
Author: Tadeu Zagallo <[email protected]>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M Source/WebGPU/WGSL/AST/ASTBuilder.cpp
M Source/WebGPU/WGSL/AST/ASTBuilder.h
Log Message:
-----------
[WGSL] Adjust arena allocation size
https://bugs.webkit.org/show_bug.cgi?id=291965
rdar://149873577
Reviewed by Mike Wyrzykowski.
The arenas were allocated with a full page size, but it didn't account for the
fact that the FixedVector allocated a 4-byte size on top of the payload. To
fix that we switch from FixedVector to EmbeddedFixedVector so we can calculate
the size of the payload so that the total allocation size matches the page size.
* Source/WebGPU/WGSL/AST/ASTBuilder.cpp:
(WGSL::AST::Builder::allocateArena):
* Source/WebGPU/WGSL/AST/ASTBuilder.h:
Canonical link: https://commits.webkit.org/294054@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes