mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
Allows bindgroups to be populated by heap type. Previously, failing to populate one type of GPU descriptor heap required both GPU heaps to be switched out. This resulted in extra copies and heap allocations should only one heap type overflow. This change also simplifies GPU descriptor heap management: - Allocator no longer needs to operate on both heaps. - Sub-allocation tracking can be moved into handles. A follow-up change will remove duplicated sampler heap allocations. BUG=dawn:155 Change-Id: I1960cf3a8bc3d86d3e8b2775da3d0c92125bcf82 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19887 Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>