mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 01:15:39 +00:00
Remove tint's usage of Validator
Also update comments and arch design to remove references to the Validator. Bug: tint:642 Change-Id: Ic0b4779ae4712a393ff209014daf25e23f32be6d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47061 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
101f463992
commit
d15391e802
@@ -262,8 +262,8 @@ std::map<uint32_t, Scalar> Inspector::GetConstantIDs() {
|
||||
}
|
||||
|
||||
// If there are conflicting defintions for a constant id, that is invalid
|
||||
// WGSL, so the validator should catch it. Thus here the inspector just
|
||||
// assumes all definitians of the constant id are the same, so only needs
|
||||
// WGSL, so the resolver should catch it. Thus here the inspector just
|
||||
// assumes all definitions of the constant id are the same, so only needs
|
||||
// to find the first reference to constant id.
|
||||
uint32_t constant_id = var->constant_id();
|
||||
if (result.find(constant_id) != result.end()) {
|
||||
|
||||
Reference in New Issue
Block a user