mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
tint: Minor IntrinsicTable cleanup
Fix the namespace - this should have been tint::resolver. Use a single u32 bitset for overload flags instead of multiple fields. Bug: tint:1504 Change-Id: I633b21ce14e20fc9aeeed5221886c1d22e327bdc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90241 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
500f4eedd3
commit
59e23943f3
@@ -102,6 +102,8 @@ type Overload struct {
|
||||
CanBeUsedInStage sem.StageUses
|
||||
// True if the overload is marked as deprecated
|
||||
IsDeprecated bool
|
||||
// The kind of overload
|
||||
Kind string
|
||||
}
|
||||
|
||||
// Intrinsic is used to create the C++ IntrinsicInfo structure
|
||||
@@ -202,6 +204,7 @@ func (b *IntrinsicTableBuilder) buildOverload(o *sem.Overload) (Overload, error)
|
||||
ReturnMatcherIndicesOffset: ob.returnTypeMatcherIndicesOffset,
|
||||
CanBeUsedInStage: o.CanBeUsedInStage,
|
||||
IsDeprecated: o.IsDeprecated,
|
||||
Kind: string(o.Decl.Kind),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user