mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
tint: IntrinsicTable: Add abstract numeric types
These aren't used by anything (yet). Baby steps. Bug: tint:1504 Change-Id: Icf0261ec9c6802f004d9f1bc4780a6376ebb8dfb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90530 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
b1fa457ab3
commit
6ac00ed0c0
@@ -331,6 +331,8 @@ func validate(fqn sem.FullyQualifiedName, uses *sem.StageUses) bool {
|
||||
strings.Contains(elTyName, "sampler"),
|
||||
strings.Contains(elTyName, "texture"):
|
||||
return false // Not storable
|
||||
case elTyName == "af" || elTyName == "ai":
|
||||
return false // Abstract types are not typeable nor supported by arrays
|
||||
}
|
||||
case "ptr":
|
||||
// https://gpuweb.github.io/gpuweb/wgsl/#storage-class
|
||||
|
||||
Reference in New Issue
Block a user