@block
attribute has been removed. tint:1324@stride
attribute has been removed. tint:1381[[attribute]]
syntax are no longer supported. tint:1382elseif
keyword is no longer supported. tint:1289isNan()
, isInf()
, isFinite()
, and isNormal()
builtins have been removed. tint:1312@interpolate(flat)
attribute must now be specified on integral user-defined IO. tint:1224ignore()
intrinsic has been removed. Use phoney-assignment instead: ignore(expr);
-> _ = expr;
.break
statements in continuing
blocks are now correctly validated.override
keyword and @id()
attribute for pipeline-overridable constants are now supported, replacing the @override
attribute. tint:1403Obviously infinite loops (no condition, no break) are now a validation error.
The following features have been deprecated and will be removed in M102:
[[block]]
attribute has been deprecated. tint:1324@decoration
syntax instead of the [[decoration]]
syntax. tint:1382elseif
has been replaced with else if
. tint:1289[[stride]]
attribute has been deprecated. tint:1381degrees()
and radians()
for converting between degrees and radians. tint:1329let
arrays and matrices can now be dynamically indexed. tint:1352discard
. tint:1302isNan()
, isInf()
, isFinite()
and isNormal()
builtins has been deprecated and will be removed in M101. tint:1312textureGather()
and textureGatherCompare()
. tint:1330dot()
builtin now supports integer vector types.return
if the statement is unreachable. tint:1302let
in a workgroup_size
may result in a compilation error. tint:1320modf()
and frexp()
builtin overloads that take a pointer second parameter have been removed.read
access controlled storage texture have been removed.write
access control.ignore()
builtin has been replaced with phony-assignment. gpuweb#2127any()
and all()
now support a bool
parameter. These simply return the passed argument. tint:1253ignore()
is no longer needed).interpolate(flat)
attribute can now be specified on integral user-defined IO. It will eventually become an error to define integral user-defined IO without this attribute.vec3
types in storage
and uniform
buffers has been fixed for Metal 1.x. tint:1249abs()
fixed for unsigned integers on SPIR-V backendnum_workgroups
builtin is now supported.