mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-06 05:06:07 +00:00
Setting an index buffer is dependent on getting the index format from the pipeline. This adds a tracker to lazily apply the index format before a draw call if it changes. Bug: dawn:201 Change-Id: I83c87cc950bf6c93637dd14765c340c97b461061 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11001 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>