• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include <metal_stdlib>
2
3using namespace metal;
4int f(int a, int b, int c) {
5  return as_type<int>((as_type<uint>(as_type<int>((as_type<uint>(a) * as_type<uint>(b)))) + as_type<uint>(c)));
6}
7
8kernel void tint_symbol() {
9  f(1, 2, 3);
10  return;
11}
12
13