mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-06 20:25:44 +00:00
It's been removed from the spec: https://github.com/gpuweb/gpuweb/pull/2127 Fixed: tint:1213 Change-Id: I163fe807765bb1ac0580b398f4897daea555216a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67067 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>
17 lines
359 B
Plaintext
17 lines
359 B
Plaintext
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
|
ignore(f(1, 2, 3));
|
|
^^^^^^
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
int f(int a, int b, int c) {
|
|
return as_type<int>((as_type<uint>(as_type<int>((as_type<uint>(a) * as_type<uint>(b)))) + as_type<uint>(c)));
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
(void) f(1, 2, 3);
|
|
return;
|
|
}
|
|
|