mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 00:17:03 +00:00
Remove ast::AccessControl::kInvalid
Also spruce up texture validation tests so that they validate error messages. Bug: tint:805 Change-Id: I6c86fc16014b127a7ef8254e5badf9b5bed08623 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51860 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
ee0b69ce53
commit
6cf7f2eca5
@@ -641,10 +641,6 @@ std::vector<ResourceBinding> Inspector::GetStorageBufferResourceBindingsImpl(
|
||||
auto* var = rsv.first;
|
||||
auto binding_info = rsv.second;
|
||||
|
||||
if (var->AccessControl() == ast::AccessControl::kInvalid) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (read_only != (var->AccessControl() == ast::AccessControl::kReadOnly)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user