mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 04:36:02 +00:00
This patch adds validation tests for invisible and unused bindings. The tests create bindings for compute, fragment and none stage. So, only some bindings are visible for a particular render/compute pass. In addition, some visible bindings in bind groups are not used by pipeline. But resources of all bindings in bind groups (including invisible/unused bindings) should be tracked, in order to identify resource usage conflicts. Bug: dawn:365 Change-Id: Ibb8d45a1a7b69891a17b4949147a16ada4ed6bd8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18120 Commit-Queue: Yunchao He <yunchao.he@intel.com> Reviewed-by: Austin Eng <enga@chromium.org>