dawn-cmake/test/builtins/repeated_use.wgsl.expected.msl

68 lines
1.8 KiB
Plaintext
Raw Normal View History

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;
}