mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-03 11:46:09 +00:00
Much like sem::Type, it greatly simplifies downstream logic if we can compare sem::Intrinsic pointers to know if they refer to the same intrinsic overload. Change-Id: If236247cd3979bbde821d9294f304ab85ba4938e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58061 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
20 lines
485 B
Plaintext
20 lines
485 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void tint_symbol() {
|
|
(void) isnormal(float4());
|
|
(void) isnormal(float4(1.0f));
|
|
(void) isnormal(float4(1.0f, 2.0f, 3.0f, 4.0f));
|
|
(void) isnormal(float3());
|
|
(void) isnormal(float3(1.0f));
|
|
(void) isnormal(float3(1.0f, 2.0f, 3.0f));
|
|
(void) isnormal(float2());
|
|
(void) isnormal(float2(1.0f));
|
|
(void) isnormal(float2(1.0f, 2.0f));
|
|
(void) isnormal(1.0f);
|
|
(void) isnormal(2.0f);
|
|
(void) isnormal(3.0f);
|
|
return;
|
|
}
|
|
|