dawn-cmake/test/builtins/repeated_use.wgsl.expected.msl
Ben Clayton b85e692aa7 Rename 'intrinsic' to 'builtin'
This matches the term used in the WGSL spec.

Change-Id: I4603332b828450c126ef806f1064ed54f372013f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78787
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-02-02 23:07:11 +00:00

68 lines
1.8 KiB
Plaintext

builtins/repeated_use.wgsl:5:9 warning: use of deprecated builtin
_ = isNormal(vec4<f32>());
^^^^^^^^
builtins/repeated_use.wgsl:6:9 warning: use of deprecated builtin
_ = isNormal(vec4<f32>(1.));
^^^^^^^^
builtins/repeated_use.wgsl:7:9 warning: use of deprecated builtin
_ = isNormal(vec4<f32>(1., 2., 3., 4.));
^^^^^^^^
builtins/repeated_use.wgsl:9:9 warning: use of deprecated builtin
_ = isNormal(vec3<f32>());
^^^^^^^^
builtins/repeated_use.wgsl:10:9 warning: use of deprecated builtin
_ = isNormal(vec3<f32>(1.));
^^^^^^^^
builtins/repeated_use.wgsl:11:9 warning: use of deprecated builtin
_ = isNormal(vec3<f32>(1., 2., 3.));
^^^^^^^^
builtins/repeated_use.wgsl:13:9 warning: use of deprecated builtin
_ = isNormal(vec2<f32>());
^^^^^^^^
builtins/repeated_use.wgsl:14:9 warning: use of deprecated builtin
_ = isNormal(vec2<f32>(1.));
^^^^^^^^
builtins/repeated_use.wgsl:15:9 warning: use of deprecated builtin
_ = isNormal(vec2<f32>(1., 2.));
^^^^^^^^
builtins/repeated_use.wgsl:17:9 warning: use of deprecated builtin
_ = isNormal(1.);
^^^^^^^^
builtins/repeated_use.wgsl:18:9 warning: use of deprecated builtin
_ = isNormal(2.);
^^^^^^^^
builtins/repeated_use.wgsl:19:9 warning: use of deprecated builtin
_ = isNormal(3.);
^^^^^^^^
#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
isnormal(float4());
isnormal(float4(1.0f));
isnormal(float4(1.0f, 2.0f, 3.0f, 4.0f));
isnormal(float3());
isnormal(float3(1.0f));
isnormal(float3(1.0f, 2.0f, 3.0f));
isnormal(float2());
isnormal(float2(1.0f));
isnormal(float2(1.0f, 2.0f));
isnormal(1.0f);
isnormal(2.0f);
isnormal(3.0f);
return;
}