mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +00:00
[inspector] Remove check that uniform buffers have an access wrapper
BUG=tint:641 Change-Id: I49c2e59e1555c839665cde9d30bb8181c4b28814 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44802 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
5a01b72b98
commit
935927d0f6
@@ -366,11 +366,7 @@ std::vector<ResourceBinding> Inspector::GetUniformBufferResourceBindings(
|
||||
auto* decl = var->Declaration();
|
||||
auto binding_info = ruv.second;
|
||||
|
||||
if (!decl->type()->Is<type::AccessControl>()) {
|
||||
continue;
|
||||
}
|
||||
auto* unwrapped_type = decl->type()->UnwrapIfNeeded();
|
||||
|
||||
auto* str = unwrapped_type->As<type::Struct>();
|
||||
if (str == nullptr) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user