18 lines
294 B
Plaintext
18 lines
294 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void main_1() {
|
||
|
uint const u1 = 10u;
|
||
|
int const i1 = 30;
|
||
|
uint2 const v2u1 = uint2(10u, 20u);
|
||
|
int2 const v2i1 = int2(30, 40);
|
||
|
uint const x_1 = as_type<uint>(popcount(i1));
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void tint_symbol() {
|
||
|
main_1();
|
||
|
return;
|
||
|
}
|
||
|
|