mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 09:06:11 +00:00
The `Ignore()` intrinsic is about to be deprecated, so don't use it for testing. Bug: tint:1213 Change-Id: I314ecaeb9a9c337c7b6980189054120a74807ebd Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67066 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com>
20 lines
401 B
Plaintext
20 lines
401 B
Plaintext
#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;
|
|
}
|
|
|