mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 07:06:11 +00:00
tint: End-to-end tests for f16 built-in
This patch add Tint end-to-end tests for built-ins using f16 types. Bug: tint:1473, tint:1502 Change-Id: I09db6e0b7e90541fb246e11d475e27be96a6d07e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97340 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
20cddbf04c
commit
9443cebd53
@@ -495,7 +495,7 @@ func IsDeclarable(fqn sem.FullyQualifiedName) bool {
|
||||
}
|
||||
|
||||
// OverloadUsesF16 returns true if the overload uses the f16 type anywhere in the signature.
|
||||
func OverloadUsesF16(overload *sem.Overload) bool {
|
||||
func OverloadUsesF16(overload sem.Overload) bool {
|
||||
for _, param := range overload.Parameters {
|
||||
if DeepestElementType(param.Type).Target.GetName() == "f16" {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user